From e5f1e98fe3675b9d751a2ce17b4cb96e4e82d722 Mon Sep 17 00:00:00 2001 From: obdev Date: Mon, 17 Jun 2024 23:14:26 +0000 Subject: [PATCH] add retry when ret==OB_MINOR_FREEZE_NOT_ALLOW --- src/observer/table_load/ob_table_load_store.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/observer/table_load/ob_table_load_store.cpp b/src/observer/table_load/ob_table_load_store.cpp index d60eeaff80..5d52f836a3 100644 --- a/src/observer/table_load/ob_table_load_store.cpp +++ b/src/observer/table_load/ob_table_load_store.cpp @@ -233,7 +233,7 @@ public: LOG_WARN("fail to check status", KR(ret)); } else if (OB_FAIL(tablet_ctx->open())) { LOG_WARN("fail to open tablet context", KR(ret), K(tablet_id)); - if (ret == OB_EAGAIN) { + if (ret == OB_EAGAIN || ret == OB_MINOR_FREEZE_NOT_ALLOW) { LOG_WARN("retry to open tablet context", K(tablet_id)); ret = OB_SUCCESS; }