This commit is contained in:
hnwyllmm
2022-12-07 08:05:58 +00:00
committed by ob-robot
parent 513236132c
commit 099a445e4c
6 changed files with 22 additions and 22 deletions

View File

@ -582,7 +582,7 @@ int ObSqlTransControl::stmt_setup_snapshot_(ObSQLSessionInfo *session,
snapshot.init_weak_read(snapshot_version);
}
// 1) acquire snapshot verison when insert operator is executed
// 2) don't resolve RR and SERIALIZABLE isolation scenario temporarily, becouse of remote stmt plan
// 2) don't resolve RR and SERIALIZABLE isolation scenario temporarily, because of remote stmt plan
} else if (plan->is_plain_insert()
&& session->get_tx_isolation() != ObTxIsolationLevel::SERIAL
&& session->get_tx_isolation() != ObTxIsolationLevel::RR) {