Merge pull request #8643 from jzhou77/fix
Remove unnecessary decodeServerTagValue calls
This commit is contained in:
commit
0135d9cee1
|
@ -803,7 +803,7 @@ private:
|
|||
.detail("Tag", tag.toString())
|
||||
.detail("Server", decodeServerTagKey(kv.key));
|
||||
if (!forResolver) {
|
||||
logSystem->pop(popVersion, decodeServerTagValue(kv.value));
|
||||
logSystem->pop(popVersion, tag);
|
||||
(*tag_popped)[tag] = popVersion;
|
||||
}
|
||||
ASSERT_WE_THINK(forResolver ^ (tag_popped != nullptr));
|
||||
|
@ -811,11 +811,11 @@ private:
|
|||
if (toCommit) {
|
||||
MutationRef privatized = m;
|
||||
privatized.param1 = kv.key.withPrefix(systemKeys.begin, arena);
|
||||
privatized.param2 = keyAfter(kv.key, arena).withPrefix(systemKeys.begin, arena);
|
||||
privatized.param2 = keyAfter(privatized.param1, arena);
|
||||
|
||||
TraceEvent(SevDebug, "SendingPrivatized_ClearServerTag", dbgid).detail("M", privatized);
|
||||
|
||||
toCommit->addTag(decodeServerTagValue(kv.value));
|
||||
toCommit->addTag(tag);
|
||||
writeMutation(privatized);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue