From 3bce0a45f513e8966b845d4fd7c29fbba2b2ca04 Mon Sep 17 00:00:00 2001 From: godyangfight Date: Wed, 9 Oct 2024 19:46:01 +0000 Subject: [PATCH] Fix transfer backfill mistake error. --- src/storage/high_availability/ob_transfer_backfill_tx.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/storage/high_availability/ob_transfer_backfill_tx.cpp b/src/storage/high_availability/ob_transfer_backfill_tx.cpp index 3202e1bf6..da3e3e29a 100644 --- a/src/storage/high_availability/ob_transfer_backfill_tx.cpp +++ b/src/storage/high_availability/ob_transfer_backfill_tx.cpp @@ -151,6 +151,8 @@ int ObTransferWorkerMgr::get_need_backfill_tx_tablets_(ObTransferBackfillTXParam LOG_INFO("[TRANSFER_BACKFILL]skip tablet which restore status is not full.", "tablet_id", tablet->get_tablet_meta().tablet_id_, "ha_status", tablet->get_tablet_meta().ha_status_); + } else if (tablet->is_empty_shell()) { + LOG_INFO("tablet is already become empty shell, no need backfill", KPC(tablet)); } else if (!tablet->get_tablet_meta().transfer_info_.ls_id_.is_valid() || !tablet->get_tablet_meta().transfer_info_.transfer_start_scn_.is_valid()) { ret = OB_TRANSFER_SYS_ERROR;