Merge pull request #6196 from sfc-gh-ajbeamon/fix-trace-event

Fix duplicate trace field
This commit is contained in:
A.J. Beamon 2022-01-05 13:30:23 -08:00 committed by GitHub
commit d3c88040fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -891,8 +891,8 @@ ACTOR Future<Void> sendMutationsToApplier(
for (splitMutationIndex = 0; splitMutationIndex < mvector.size(); splitMutationIndex++) { for (splitMutationIndex = 0; splitMutationIndex < mvector.size(); splitMutationIndex++) {
MutationRef mutation = mvector[splitMutationIndex]; MutationRef mutation = mvector[splitMutationIndex];
UID applierID = nodeIDs[splitMutationIndex]; UID applierID = nodeIDs[splitMutationIndex];
DEBUG_MUTATION("RestoreLoaderSplittedMutation", commitVersion.version, mutation) DEBUG_MUTATION("RestoreLoaderSplitMutation", commitVersion.version, mutation)
.detail("Version", commitVersion.toString()); .detail("CommitVersion", commitVersion.toString());
// CAREFUL: The splitted mutations' lifetime is shorter than the for-loop // CAREFUL: The splitted mutations' lifetime is shorter than the for-loop
// Must use deep copy for splitted mutations // Must use deep copy for splitted mutations
applierVersionedMutationsBuffer[applierID].push_back_deep( applierVersionedMutationsBuffer[applierID].push_back_deep(