Because BulkApply() and Apply() take ownership of the data in the mutations the failures are returned with their full contents, in case the application wants to take further action with them. Any successful mutations are discarded.
Any mutations that fail with an unknown state are included with a grpc::StatusCode::OK.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["This webpage provides documentation for the `PermanentMutationFailure` class in the Google Cloud Bigtable C++ client library, spanning versions from 2.11.0 to the latest release candidate 2.37.0-rc."],["The `PermanentMutationFailure` class is designed to report unrecoverable errors in partially completed mutations, detailing the specific failures encountered within a set of operations."],["The class offers two constructors: one takes a message and a vector of `FailedMutation` objects, and the other includes an additional `grpc::Status` parameter to represent the overall status of the operation."],["The `failures()` function returns a constant reference to a vector of `FailedMutation` objects, providing detailed information about each mutation failure, including the full contents of the failed mutation."],["The `status()` function returns the `grpc::Status` of the request, which can be `grpc::Status::OK` even when partial failures occur in a `BulkApply()` operation."]]],[]]