Class PermanentMutationFailure (3.15.0-rc)

Report unrecoverable errors in a partially completed mutation.

Constructors

PermanentMutationFailure(char const *, std::vector< FailedMutation >)

Parameters
Name Description
msg char const *
failures std::vector< FailedMutation >

PermanentMutationFailure(char const *, grpc::Status, std::vector< FailedMutation >)

Parameters
Name Description
msg char const *
status grpc::Status
failures std::vector< FailedMutation >

Functions

failures() const

The details of each mutation failure.

Each FailedMutation reports the failure status() and the original_index() of the entry in the BulkMutation (it does not retain the original mutation payload). Any successful mutations are omitted.

Any mutations that fail with an unknown state are included with a StatusCode::kOk status.

Returns
Type Description
std::vector< FailedMutation > const &

status() const

The grpc::Status of the request.

Notice that it can return grpc::Status::OK when there are partial failures in a BulkApply() operation.

Returns
Type Description
grpc::Status const &