Skip to content

Commit 58501f4

Browse files
jpalacPhilBastian
andauthored
Fix batch message deduplication logic to not update batch on already batched message - 6.3 (#4796)
Co-authored-by: Phil Bastian <[email protected]>
1 parent 62c9b20 commit 58501f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceControl.Persistence.RavenDB/RetryDocumentDataStore.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ static ICommandData CreateFailedMessageRetryDocument(string batchDocumentId, str
113113
}
114114
};
115115

116-
return new PatchCommandData(FailedMessageRetry.MakeDocumentId(messageId), null, patch: patchRequest, patchIfMissing: patchRequest);
116+
return new PatchCommandData(FailedMessageRetry.MakeDocumentId(messageId), null, patch: new PatchRequest { Script = "" }, patchIfMissing: patchRequest);
117117
}
118118

119119
public async Task GetBatchesForAll(DateTime cutoff, Func<string, DateTime, Task> callback)

0 commit comments

Comments
 (0)