From 28f34816566bdd9d58433849c28c31723c7ced12 Mon Sep 17 00:00:00 2001 From: sfc-gh-tclinkenbeard Date: Thu, 26 Aug 2021 17:13:39 -0700 Subject: [PATCH] Remove unnecessary debugging trace events --- fdbserver/ConfigNode.actor.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/fdbserver/ConfigNode.actor.cpp b/fdbserver/ConfigNode.actor.cpp index d6e7fad01b..99cee322b0 100644 --- a/fdbserver/ConfigNode.actor.cpp +++ b/fdbserver/ConfigNode.actor.cpp @@ -202,18 +202,14 @@ class ConfigNodeImpl { // serializability ACTOR static Future getNewGeneration(ConfigNodeImpl* self, ConfigTransactionGetGenerationRequest req) { state ConfigGeneration generation = wait(getGeneration(self)); - TraceEvent("GetNewGenImpl0"); ++generation.liveVersion; - TraceEvent("GetNewGenImpl1"); if (req.lastSeenLiveVersion.present()) { TEST(req.lastSeenLiveVersion.get() >= generation.liveVersion); // Node is lagging behind some other node generation.liveVersion = std::max(generation.liveVersion, req.lastSeenLiveVersion.get() + 1); } self->kvStore->set(KeyValueRef(currentGenerationKey, BinaryWriter::toValue(generation, IncludeVersion()))); - TraceEvent("GetNewGenImpl3"); wait(self->kvStore->commit()); req.reply.send(ConfigTransactionGetGenerationReply{ generation }); - TraceEvent("GetNewGenImpl4"); return Void(); }