From abb1bb5602cb6d1090385a67b865877fe4ae3bd4 Mon Sep 17 00:00:00 2001 From: "chunshao.rcs" Date: Tue, 10 Jan 2023 11:14:08 +0800 Subject: [PATCH] feat: disable do_snapshot when recover table data (#550) * feat: disable do_snapshot when recover table data * refactor by CR --- analytic_engine/src/instance/open.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/analytic_engine/src/instance/open.rs b/analytic_engine/src/instance/open.rs index 97d0ac60c4..7486950261 100644 --- a/analytic_engine/src/instance/open.rs +++ b/analytic_engine/src/instance/open.rs @@ -224,7 +224,8 @@ impl Instance { request.cluster_version, request.table_id.as_u64(), ), - true, + // Avoid snapshotting when recover table data. + false, ) .await .context(ReadMetaUpdate {