From c6985a48f79bf8e2df603d49cb058d140d01b061 Mon Sep 17 00:00:00 2001 From: Doodle <13706157+critical27@users.noreply.github.com> Date: Sun, 20 Feb 2022 11:12:23 +0800 Subject: [PATCH] rebased --- src/kvstore/NebulaSnapshotManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kvstore/NebulaSnapshotManager.cpp b/src/kvstore/NebulaSnapshotManager.cpp index 330927bda60..15704e668fd 100644 --- a/src/kvstore/NebulaSnapshotManager.cpp +++ b/src/kvstore/NebulaSnapshotManager.cpp @@ -51,7 +51,7 @@ void NebulaSnapshotManager::accessAllRowsInSnapshot(GraphSpaceID spaceId, auto part = nebula::value(partRet); // Get the commit log id and commit log term of specified partition std::string val; - auto commitRet = part->engine()->get(NebulaKeyUtils::systemCommitKey(partId), &val); + auto commitRet = part->engine()->get(NebulaKeyUtils::systemCommitKey(partId), &val, snapshot); if (commitRet != nebula::cpp2::ErrorCode::SUCCEEDED) { LOG(INFO) << folly::sformat( "Cannot fetch the commit log id and term of space {} part {}", spaceId, partId);