Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.16.22 Ndb::isConsistent()

Description.  Check if all events are consistent. If a node failure occurs when resources are exhausted, events may be lost and the delivered event data might thus be incomplete. This method makes it possible to determine if this is the case.

This method is deprecated in NDB 7.4.3, and is subject to removal in a future release. In NDB 7.4.3 and later, you should instead use NdbEventOperation::getEventType2() to determine the type of event—in this instance, whether the event is of type TE_INCONSISTENT. See Section 2.3.6.23, “Event::TableEvent”.

Signature. 

bool isConsistent
    (
      Uint64& gci
    )

Parameters.  A reference to a global checkpoint index. This is the first inconsistent GCI found, if any.

Return value.  true if all events are consistent.


User Comments
Sign Up Login You must be logged in to post a comment.