Skip to content

Commit

Permalink
fix cluster id is not backuped (#5573)
Browse files Browse the repository at this point in the history
Co-authored-by: Sophie <[email protected]>
  • Loading branch information
critical27 and Sophie-Xie authored Jun 5, 2023
1 parent 6415db5 commit e4f91de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/common/utils/MetaKeyUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ static const std::unordered_map<std::string, std::pair<std::string, bool>> syste

// SystemInfo will always be backed up
static const std::unordered_map<std::string, std::pair<std::string, bool>> systemInfoMaps{
{"autoIncrementId", {"__id__", true}}, {"lastUpdateTime", {"__last_update_time__", true}}};
{"autoIncrementId", {"__id__", true}},
{"lastUpdateTime", {"__last_update_time__", true}},
{"clusterId", {"__meta_cluster_id_key__", true}}};

// name => {prefix, parseSpaceid}, nullptr means that the backup should be skipped.
static const std::unordered_map<
Expand Down

0 comments on commit e4f91de

Please sign in to comment.