From d078637089cc609c90683901afa1cb3d14eccbb1 Mon Sep 17 00:00:00 2001 From: Doodle <13706157+critical27@users.noreply.github.com> Date: Wed, 20 Apr 2022 15:01:58 +0800 Subject: [PATCH] fix vertex is missing from snapshot --- src/common/utils/NebulaKeyUtils.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/utils/NebulaKeyUtils.cpp b/src/common/utils/NebulaKeyUtils.cpp index d026f3efed0..479ad2c939c 100644 --- a/src/common/utils/NebulaKeyUtils.cpp +++ b/src/common/utils/NebulaKeyUtils.cpp @@ -253,6 +253,7 @@ std::vector NebulaKeyUtils::snapshotPrefix(PartitionID partId) { if (partId == 0) { result.emplace_back(""); } else { + result.emplace_back(vertexPrefix(partId)); result.emplace_back(tagPrefix(partId)); result.emplace_back(edgePrefix(partId)); result.emplace_back(IndexKeyUtils::indexPrefix(partId));