You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bigtable BulkApply does not respect custom retry policies for individual mutation errors #14656
We use the current retry policy (which can be customized by the application) to determine whether stream failures are transient.
However, we use the default retry policy to determine whether individual mutation errors are transient. Specifically, we only add mutations with default transient errors to the next batch:
// Failed responses are handled according to the current policies.
if (SafeGrpcRetry::IsTransientFailure(status) &&
Implementation notes
The annoying this is that the BulkMutatorState code path is shared by a client with Options and one without. So there will not always be a retry policy available. We likely will have to have branching in the common code path, which is a red-flag that it should not be a common code path. 🤷
We should only check if the error is transient, with IsPermanentFailure() const. We should not be pinging OnFailure() for individual mutations. (e.g. consider a DataLimitedErrorCountPolicy(...). We want that to apply to stream failures only, not individual mutations).
Activity