Optimize snapshot acquiring when read write statement is spliting
This commit is contained in:
@ -444,6 +444,7 @@ int ObMultiVersionGarbageCollector::study_min_unallocated_WRS(
|
||||
|
||||
if (OB_FAIL(MTL(transaction::ObTransService*)->get_weak_read_snapshot_version(
|
||||
-1, // system variable : max read stale time for user
|
||||
false,
|
||||
min_unallocated_WRS))) {
|
||||
MVCC_LOG(WARN, "fail to get weak read snapshot", K(ret));
|
||||
if (OB_REPLICA_NOT_READABLE == ret) {
|
||||
|
||||
Reference in New Issue
Block a user