kill all running tx before the append_mode_initial_scn in switch_to_leader
This commit is contained in:
@ -82,6 +82,12 @@ public:
|
||||
return OB_SUCCESS;
|
||||
}
|
||||
|
||||
virtual int get_append_mode_initial_scn(SCN &initial_scn) const
|
||||
{
|
||||
UNUSED(initial_scn);
|
||||
return OB_SUCCESS;
|
||||
}
|
||||
|
||||
virtual int change_access_mode(const int64_t mode_version,
|
||||
const AccessMode &access_mode,
|
||||
const share::SCN &ref_scn)
|
||||
|
||||
@ -550,6 +550,12 @@ public:
|
||||
return OB_SUCCESS;
|
||||
}
|
||||
|
||||
int get_append_mode_initial_scn(share::SCN &ref_scn) {
|
||||
int ret = OB_SUCCESS;
|
||||
ref_scn = share::SCN::invalid_scn();
|
||||
return ret;
|
||||
}
|
||||
|
||||
int get_inflight_cnt() {
|
||||
return ATOMIC_LOAD(&inflight_cnt_);
|
||||
}
|
||||
|
||||
@ -75,6 +75,11 @@ public:
|
||||
UNUSED(scn);
|
||||
return OB_SUCCESS;
|
||||
}
|
||||
int get_append_mode_initial_scn(share::SCN &ref_scn) {
|
||||
int ret = OB_SUCCESS;
|
||||
ref_scn = share::SCN::invalid_scn();
|
||||
return ret;
|
||||
}
|
||||
|
||||
void invoke_all_cbs();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user