-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sessionctx: make tidb_max_chunk_size as a global variable (#6585) #8333
sessionctx: make tidb_max_chunk_size as a global variable (#6585) #8333
Conversation
/run-all-tests tidb-test=release-2.0 tikv=release-2.0 pd=release-2.0 |
@@ -1650,6 +1650,10 @@ func (s *testSchemaSuite) TestTableReaderChunk(c *C) { | |||
s.cluster.SplitTable(s.mvccStore, tbl.Meta().ID, 10) | |||
|
|||
tk.Se.GetSessionVars().DistSQLScanConcurrency = 1 | |||
tk.MustExec("set tidb_max_chunk_size = 2") | |||
defer func() { | |||
tk.MustExec(fmt.Sprintf("set tidb_max_chunk_size = %d", variable.DefMaxChunkSize)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just set tidb_max_chunk_size=default
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
cherry pick #6585 to release-2.0