[SCN REFACTOR] replace flash back snapshot and remove read snapshot session

This commit is contained in:
wangt1xiuyi
2022-11-28 01:54:50 +00:00
committed by ob-robot
parent c4c13f6296
commit 11485d6a98
268 changed files with 6763 additions and 7737 deletions

View File

@ -70,7 +70,7 @@ ObBasicSessionInfo::ObBasicSessionInfo()
sys_var_base_version_(OB_INVALID_VERSION),
tx_desc_(NULL),
tx_result_(),
read_snapshot_version_(-1),
unused_read_snapshot_version_(),
xid_(),
associated_xa_(false),
sess_bt_buff_pos_(0),
@ -403,7 +403,7 @@ void ObBasicSessionInfo::reset(bool skip_sys_var)
sys_var_base_version_ = CACHED_SYS_VAR_VERSION;
}
curr_trans_last_stmt_end_time_ = 0;
read_snapshot_version_ = OB_INVALID_VERSION;
unused_read_snapshot_version_.reset();
check_sys_variable_ = true;
is_foreign_key_cascade_ = false;
is_foreign_key_check_exist_ = false;
@ -3761,7 +3761,7 @@ OB_DEF_SERIALIZE(ObBasicSessionInfo)
nested_count_,
thread_data_.user_name_,
next_tx_isolation_,
read_snapshot_version_,
unused_read_snapshot_version_,
check_sys_variable_,
unused_weak_read_snapshot_source,
database_id_,
@ -3947,7 +3947,7 @@ OB_DEF_DESERIALIZE(ObBasicSessionInfo)
nested_count_,
thread_data_.user_name_,
next_tx_isolation_,
read_snapshot_version_,
unused_read_snapshot_version_,
check_sys_variable_,
unused_weak_read_snapshot_source,
database_id_,
@ -4231,7 +4231,7 @@ OB_DEF_SERIALIZE_SIZE(ObBasicSessionInfo)
nested_count_,
thread_data_.user_name_,
next_tx_isolation_,
read_snapshot_version_,
unused_read_snapshot_version_,
check_sys_variable_,
unused_weak_read_snapshot_source,
database_id_,