From a38be83eccfbe42e1e5858c261375353c908498c Mon Sep 17 00:00:00 2001 From: lzydmxy <13126752315@163.com> Date: Mon, 25 Dec 2023 15:07:35 +0800 Subject: [PATCH] log trace when find ephemeral node in snapshot --- src/Service/NuRaftLogSnapshot.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Service/NuRaftLogSnapshot.cpp b/src/Service/NuRaftLogSnapshot.cpp index d698e0ef45..7741ead655 100644 --- a/src/Service/NuRaftLogSnapshot.cpp +++ b/src/Service/NuRaftLogSnapshot.cpp @@ -748,8 +748,7 @@ bool KeeperSnapshotStore::parseObject(std::string obj_path, KeeperStore & store) if (ephemeral_owner != 0) { - /// TODO LOG_INFO -> LOG_TRACE - LOG_INFO(log, "Load snapshot find ephemeral node {} - {}", ephemeral_owner, key); + LOG_TRACE(log, "Load snapshot find ephemeral node {} - {}", ephemeral_owner, key); std::lock_guard l(store.ephemerals_mutex); auto & ephemeral_nodes = store.ephemerals[ephemeral_owner]; ephemeral_nodes.emplace(key);