Skip to content

Batcher error accounting is incorrect when the RPC fails #1494

Closed
@igorbernstein2

Description

@igorbernstein2

MutateRowsAttemptCallable when it encounters either RPC or entry errors will resolve its future with a synthetic MutateRowsException. The synthetic error has an INTERNAL status but it marked as retriable. This is done so that the parent RetryableFuture retries the remaining entries. However, once there are no more retriable entries, the MutateRowsException will bubble up to BatcherImpl.Batch#onBatchFailure, which will feed into BatcherStats, which will record the RPC error as INTERNAL

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: bigtableIssues related to the googleapis/java-bigtable API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions