Skip to content

Commit

Permalink
log trace when find ephemeral node in snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
lzydmxy authored and JackyWoo committed Dec 25, 2023
1 parent 6af6a8b commit a38be83
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Service/NuRaftLogSnapshot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a38be83

Please sign in to comment.