Skip to content

Commit

Permalink
Merge pull request #27 from christopherzli/test_chris_6
Browse files Browse the repository at this point in the history
exclude 409 errors
  • Loading branch information
christopherzli authored Apr 4, 2024
2 parents 514eaf0 + 64f2964 commit 7175992
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/receive/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,9 @@ func (h *Handler) fanoutForward(pctx context.Context, tenant string, wreqs map[e
Replica: int64(writeTarget.replica + 1),
})
})
if isConflict(err) {
err = nil
}
if err != nil {
// Check if peer connection is unavailable, don't attempt to send requests constantly.
if st, ok := status.FromError(err); ok {
Expand Down

0 comments on commit 7175992

Please sign in to comment.