NodeSync metric MBeans
The NodeSync MBeans track the data validation operations on a node.
Use the following syntax to locate and use NodeSync MBeans:
Global metric name syntax:
Per table metric name syntax:
The following screen shows the Global MBeans using
NodeSync repairs data and objects, the latter of which can be rows, range tombstones, and deletion information.
Inconsistent objects (rows + range tombstones) that NodeSync validated and repaired. The number of rows and range tombstones is equivalent to
Number of objects (rows + range tombstones) that NodeSync validated by checking for inconsistencies. The number of rows and range tombstones is equivalent to
Number of objects sent required to repair replicas. This attribute differs from
NodeSyncDataRepairedin that 100 bytes of data that was inconsistent and repaired can be sent to multiple replicas, providing a more accurate representation of repair traffic generated between nodes.
Amount of data (in bytes) that NodeSync validated by checking for inconsistencies.
Inconsistent data that NodeSync validated and repaired.
Size of data (in bytes) sent for repairing inconsistencies found by NodeSync. This metric differs from
NodeSyncDataRepairedin that if a row of a specific size is inconsistent, that number is counted in
NodeSyncDataRepaired. However, more or less of the same number can be counted in
NodeSyncRepairDataSent, because the row can be inconsistent on more than one node, but only a portion of the row might be inconsistent (and thus sent).
NodeSync validates data by pages, which are the least granular objects that NodeSync operates on. NodeSync collects pages by outcomes, and the resulting numbers are meaningful in comparison. For example, the percentage of pages already fully in sync that did not require repair.
Number of pages not validated due to an unexpected error.
Number of pages fully validated (all replicas responded) that had no inconsistencies.
Number of pages fully validated (all replicas responded) that had inconsistencies, and which were successfully repaired.
Number of pages partially validated (some replicas responded) that had no inconsistencies.
Number of pages partially validated (some replicas responded) that had inconsistencies, and which were successfully repaired.
Total number of processed pages since the last node restart, calculated as the sum of all other page counters.
NodeSyncProcessedPagesthat failed to process. The reason could be that only one node was up and the page was skipped, some replicas failed during processing, or some unexpected error occurred.
Each of the following metrics can return some or all of the NodeSync MBean attributes.
Mean of the OneMinuteRate, FiveMinuteRate, and FifteenMinuteRate attributes.
Number of objects processed for the given MBean in a one minute period.
Number of objects processed for the given MBean in a five minute period.
Number of objects processed for the given MBean in a fifteen minute period.
Unit of measurement for rate processing, which is number of events per second.
Total number of objects processed for the given MBean.
To return the global mean rate of the node:
nodetool sjk mx -b "com.datastax.nodesync:type=NodeSyncMetrics,name=NodeSyncObjectsValidated" -f MeanRate -mg
The results show the object name and value.