* add FMSketch to mysql.stats_histograms
* statistics: support store FMSketch and add FMSketch to histogram
* FIX UT
* Create Stats_FM_Sketch Table
* fix UT
* add some tests
* FIX ut
* move fmSketch from histogram to column.stats
* remove unused code and comments
* fix ut
* fix ut
* fix ut
* fix ut
* fix ut
* fix ut
* finish the FMSketch.MemoryUsage function
* add some comments for FMSketch.MemoryUsage function
* fix typo
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
* add a system variable for enabling async commit
Signed-off-by: ekexium <ekexium@gmail.com>
* remove async commit enable config item
Signed-off-by: ekexium <ekexium@gmail.com>
* add a system variable for enabling 1PC
Signed-off-by: ekexium <ekexium@gmail.com>
* try to fix test
Signed-off-by: ekexium <ekexium@gmail.com>
* remove 1pc item in config
Signed-off-by: ekexium <ekexium@gmail.com>
* try to fix test
Signed-off-by: ekexium <ekexium@gmail.com>
* correct the condition to enable 1pc
Signed-off-by: ekexium <ekexium@gmail.com>
* do not enable 1pc/async commit on bootstrap if store is not tikv
Signed-off-by: ekexium <ekexium@gmail.com>
* refactor checkAsyncCommit
Signed-off-by: ekexium <ekexium@gmail.com>
* fix test: enable async commit or 1PC by setting txn options
Signed-off-by: ekexium <ekexium@gmail.com>
* add a system variable for external consistency
Signed-off-by: ekexium <ekexium@gmail.com>
* remove external consistency config item
Signed-off-by: ekexium <ekexium@gmail.com>
* refactor: checkXXX does not need parameters
Signed-off-by: ekexium <ekexium@gmail.com>
* refactor: add a helper function to pessimistic_test
Signed-off-by: ekexium <ekexium@gmail.com>
* change allowed scope to global or session
Signed-off-by: ekexium <ekexium@gmail.com>
* fix external consistency test
Signed-off-by: ekexium <ekexium@gmail.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>