make offline success after stop log handler
This commit is contained in:
@ -1344,8 +1344,6 @@ int ObLogHandler::offline()
|
|||||||
int ret = OB_SUCCESS;
|
int ret = OB_SUCCESS;
|
||||||
if (IS_NOT_INIT) {
|
if (IS_NOT_INIT) {
|
||||||
ret = OB_NOT_INIT;
|
ret = OB_NOT_INIT;
|
||||||
} else if (true == is_in_stop_state_) {
|
|
||||||
ret = OB_NOT_RUNNING;
|
|
||||||
} else if (OB_FAIL(disable_replay())) {
|
} else if (OB_FAIL(disable_replay())) {
|
||||||
CLOG_LOG(WARN, "disable_replay failed", K(ret), KPC(this));
|
CLOG_LOG(WARN, "disable_replay failed", K(ret), KPC(this));
|
||||||
} else if (OB_FAIL(disable_sync())) {
|
} else if (OB_FAIL(disable_sync())) {
|
||||||
|
|||||||
Reference in New Issue
Block a user