You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Deploy a cluster which uses tikv and PD (mocktikv without PD won't work).
SET tidb_store_limit =5; SELECT @@tidb_store_limit; SELECT SLEEP(31); SELECT @@tidb_store_limit;
2. What did you expect to see? (Required)
The value of tidb_store_limit should persist.
3. What did you see instead (Required)
It gets overwritten by the global value every 30 seconds because of the sysvar cache refreshing. This is because there is currently no good way to do both instance scope and global scope in the server.
Because it is broken I suggest we remove the INSTANCE (session) scope. If all sysvars are either GLOBAL or INSTANCE, then we can implement an easier design for proper INSTANCE scope.
4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered:
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Deploy a cluster which uses tikv and PD (mocktikv without PD won't work).
2. What did you expect to see? (Required)
The value of tidb_store_limit should persist.
3. What did you see instead (Required)
It gets overwritten by the global value every 30 seconds because of the sysvar cache refreshing. This is because there is currently no good way to do both instance scope and global scope in the server.
Because it is broken I suggest we remove the INSTANCE (session) scope. If all sysvars are either GLOBAL or INSTANCE, then we can implement an easier design for proper INSTANCE scope.
4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: