Skip to content

Commit

Permalink
fix: add back skip conflict strategy case
Browse files Browse the repository at this point in the history
  • Loading branch information
ryaneorth committed Feb 29, 2024
1 parent 1387548 commit 175e627
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions v1/retryable_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ func (rc *RetryableClient) RetryableBulkImportRelationships(ctx context.Context,
switch {
case canceled:
return cancelErr
case conflict && conflictStrategy == Skip:
return nil
case retryable || (conflict && conflictStrategy == Touch):
err = rc.writeBatchesWithRetry(ctx, relationships)
if err != nil {
Expand Down

0 comments on commit 175e627

Please sign in to comment.