Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

bool

Author

       MongoDB, Inc

Description

       Fetches if the write should be written to a majority of nodes before indicating success.

Parameters

       • write_concern: A mongoc_write_concern_t.

Returns

       Returns true if wmajority is set.

Synopsis

          bool
          mongoc_write_concern_get_wmajority (
             const mongoc_write_concern_t *write_concern);

See Also