patch 4.1 bug fix and remove some secret url

This commit is contained in:
ob-robot
2023-03-19 19:22:48 +08:00
parent 8ce2f275c4
commit 9365c0dd4c
85 changed files with 1094 additions and 374 deletions

View File

@ -223,10 +223,10 @@ void ObMemtableCtx::dec_ref()
(void)ATOMIC_AAF(&ref_, -1);
}
void ObMemtableCtx::set_replay()
void ObMemtableCtx::wait_pending_write()
{
WRLockGuard guard(rwlock_);
is_master_ = false;
ATOMIC_STORE(&is_master_, false);
WRLockGuard wrguard(rwlock_);
}
SCN ObMemtableCtx::get_tx_end_scn() const
@ -907,10 +907,9 @@ int ObMemtableCtx::rollback(const int64_t to_seq_no, const int64_t from_seq_no)
bool ObMemtableCtx::is_all_redo_submitted()
{
ObByteLockGuard guard(lock_);
return trans_mgr_.is_all_redo_submitted(log_gen_.get_generate_cursor());
return trans_mgr_.is_all_redo_submitted();
}
int ObMemtableCtx::remove_callbacks_for_fast_commit()
{
int ret = OB_SUCCESS;