Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
80300: kv/bulk: warn instead of fail on failed initial split r=dt a=dt

splits can fail for various reasons and it probably isn't worth failing the whole import over.

Release note (bug fix): Errors encountered when sending rebalancing hints to the storage layer during IMPORTs and index creation are now only logged and no longer cause the job to fail.

Co-authored-by: David Taylor <[email protected]>
  • Loading branch information
craig[bot] and dt committed Apr 25, 2022
2 parents d2eafdf + 11c81be commit 8658bd3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/kv/bulk/buffering_adder.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,10 @@ func (b *BufferingAdder) createInitialSplits(ctx context.Context) error {
if strings.Contains(err.Error(), "predicate") {
log.VEventf(ctx, 1, "%s adder split at %s rejected, had previously split and no longer included %s",
b.name, splitKey, predicateKey)
continue
} else {
log.Warningf(ctx, "failed to create initial split %s: %s", splitKey, err)
}
return err
continue
}
toScatter = append(toScatter, splitKey)
}
Expand Down

0 comments on commit 8658bd3

Please sign in to comment.