Skip to content

Commit

Permalink
feat: disable do_snapshot when recover table data (#550)
Browse files Browse the repository at this point in the history
* feat: disable do_snapshot when recover table data

* refactor by CR
  • Loading branch information
chunshao90 authored Jan 10, 2023
1 parent 99ca8d0 commit abb1bb5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion analytic_engine/src/instance/open.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit abb1bb5

Please sign in to comment.