[MDS] add mds construct sequence to bind async executed DAG and mds_table

This commit is contained in:
fengdeyiji
2023-08-15 03:10:34 +00:00
committed by ob-robot
parent 9b31f8aa03
commit 6283feb96f
20 changed files with 155 additions and 45 deletions

View File

@ -1468,6 +1468,7 @@ int ObLS::build_ha_tablet_new_table_store(
int ObLS::build_new_tablet_from_mds_table(
const int64_t ls_rebuild_seq,
const common::ObTabletID &tablet_id,
const int64_t mds_construct_sequence,
const share::SCN &flush_scn)
{
int ret = OB_SUCCESS;
@ -1486,7 +1487,7 @@ int ObLS::build_new_tablet_from_mds_table(
ret = OB_EAGAIN;
LOG_WARN("rebuild seq is not the same with current ls, need retry",
K(ret), K(ls_id), K(tablet_id), K(ls_rebuild_seq), K(rebuild_seq), K(flush_scn));
} else if (OB_FAIL(ls_tablet_svr_.build_new_tablet_from_mds_table(tablet_id, flush_scn))) {
} else if (OB_FAIL(ls_tablet_svr_.build_new_tablet_from_mds_table(tablet_id, mds_construct_sequence, flush_scn))) {
LOG_WARN("failed to build new tablet from mds table", K(ret), K(ls_id), K(tablet_id), K(flush_scn));
}
return ret;