Fix blocked ls don't be put into blacklist

This commit is contained in:
obdev
2023-07-20 09:42:14 +00:00
committed by ob-robot
parent a2ac8c138f
commit 84aa39f4b2
5 changed files with 23 additions and 3 deletions

View File

@ -1250,6 +1250,9 @@ int ObLS::get_ls_info(ObLSVTInfo &ls_info)
ls_info.tablet_change_checkpoint_scn_ = ls_meta_.get_tablet_change_checkpoint_scn();
ls_info.transfer_scn_ = ls_meta_.get_transfer_scn();
ls_info.tx_blocked_ = tx_blocked;
if (tx_blocked) {
TRANS_LOG(INFO, "current ls is blocked", K(ls_info));
}
}
return ret;
}