Skip to content

Commit e4a24f3

Browse files
committed
add message state on conflict error
1 parent 74c139d commit e4a24f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/batch/batch_processor.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,7 @@ func (bp *batchProcessor) dispatchBatch(payload *DispatchPayload) error {
636636
conflictErr, conflictTestOk := err.(operations.ConflictError)
637637
if conflictTestOk && conflictErr.IsConflictError() {
638638
// We know that the connector has received our batch, so we shouldn't need to retry
639+
payload.addMessageUpdate(payload.Messages, core.MessageStateReady, core.MessageStateSent)
639640
return true, nil
640641
}
641642
} else {

0 commit comments

Comments
 (0)