1
0
mirror of https://github.com/apple/foundationdb.git synced 2025-06-01 10:45:56 +08:00

Merge pull request 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

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