Skip to content

Commit e4f91de

Browse files
fix cluster id is not backuped (#5573)
Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
1 parent 6415db5 commit e4f91de

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/common/utils/MetaKeyUtils.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ static const std::unordered_map<std::string, std::pair<std::string, bool>> syste
3232

3333
// SystemInfo will always be backed up
3434
static const std::unordered_map<std::string, std::pair<std::string, bool>> systemInfoMaps{
35-
{"autoIncrementId", {"__id__", true}}, {"lastUpdateTime", {"__last_update_time__", true}}};
35+
{"autoIncrementId", {"__id__", true}},
36+
{"lastUpdateTime", {"__last_update_time__", true}},
37+
{"clusterId", {"__meta_cluster_id_key__", true}}};
3638

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

0 commit comments

Comments
 (0)