BUGFIX: fix compatibility issues of ls.

This commit is contained in:
obdev
2024-02-07 00:46:25 +00:00
committed by ob-robot
parent 2089710881
commit 9f54e87aad
6 changed files with 124 additions and 192 deletions

View File

@ -772,6 +772,11 @@ void ObLS::destroy()
}
transaction::ObTransService *txs_svr = MTL(transaction::ObTransService *);
FLOG_INFO("ObLS destroy", K(this), K(*this), K(lbt()));
if (running_state_.is_running()) {
if (OB_TMP_FAIL(offline_(start_ts))) {
LOG_WARN("offline a running ls failed", K(tmp_ret), K(ls_meta_.ls_id_));
}
}
if (OB_TMP_FAIL(stop_())) {
LOG_WARN("ls stop failed.", K(tmp_ret), K(ls_meta_.ls_id_));
} else {