Previously, we use SI for analyze request. As RC may ignore some txnLock if the secondary keys commit havn't been finished. However, it will also meet txn conflict if we directly use maxts with SI isolevel.
Thus we decided to use tidb_enable_analyze_snapshot to control the analyze isolevel behavior, and make it enabled for mysql-test
Signed-off-by: yisaer disxiaofei@163.com
ref https://github.com/pingcap/tidb/issues/36983 ref https://github.com/tikv/tikv/issues/13258
Previously, we use
SI
for analyze request. As RC may ignore some txnLock if the secondary keys commit havn't been finished. However, it will also meet txn conflict if we directly use maxts with SI isolevel.Thus we decided to use tidb_enable_analyze_snapshot to control the analyze isolevel behavior, and make it enabled for mysql-test
test by https://github.com/pingcap/tidb-test/pull/1928