Consider using retry policy for OK streams with failing mutations in bigtable::BulkApply()
#7479
Labels
api: bigtable
Issues related to the Bigtable API.
type: cleanup
An internal cleanup or hygiene concern.
The current functionality is described here:
google-cloud-cpp/google/cloud/bigtable/table.h
Lines 418 to 422 in b2efc81
But I think that a
LimitedErrorCountRetryPolicy
of 2 should mean we only ever send 2 RPCs, regardless of whether the errors are from the overall stream or from individual mutations. For example, this test currently passes, but I do not think it should.There is some ambiguity in the case where a mutation fails and the stream fails with different status codes. I think in this case, we should continue to use the stream's status code for the retry policy. There is also ambiguity if two mutations fail with different transient errors, but the stream succeeds. Which error is passed to the retry policy?
The text was updated successfully, but these errors were encountered: