[bugfix] fix that replaying log after role switched to leader
This commit is contained in:
4
deps/oblib/src/lib/thread/ob_thread_lease.h
vendored
4
deps/oblib/src/lib/thread/ob_thread_lease.h
vendored
@ -48,6 +48,10 @@ public:
|
||||
}
|
||||
|
||||
public:
|
||||
bool is_idle() const
|
||||
{
|
||||
return IDLE == ATOMIC_LOAD(&status_);
|
||||
}
|
||||
bool acquire()
|
||||
{
|
||||
bool bool_ret = false;
|
||||
|
||||
2
deps/oblib/src/lib/utility/ob_tracepoint.h
vendored
2
deps/oblib/src/lib/utility/ob_tracepoint.h
vendored
@ -574,6 +574,8 @@ class EventTable
|
||||
EN_UNDO_ACTIONS_SIZE_OVERFLOW = 276,
|
||||
EN_PART_PLUS_UNDO_OVERFLOW = 277,
|
||||
EN_HANDLE_PREPARE_MESSAGE_EAGAIN = 278,
|
||||
EN_RC_ONLY_LEADER_TO_LEADER = 279,
|
||||
EN_REPLAY_SERVICE_SUBMIT_TASK_SLEEP = 280,
|
||||
|
||||
//simulate DAS errors 301-350
|
||||
EN_DAS_SCAN_RESULT_OVERFLOW = 301,
|
||||
|
||||
Reference in New Issue
Block a user