This section documents the ACE (Active Consistency Engine) CLI commands. Be sure you review and meet all of the ACE configuration requirements before using any ACE command:
| Command | Description |
|---|---|
| repset-diff | Runs table-diff on every table in a specified replication set and aggregates results. |
| schema-diff | Compares objects (and optionally data via per-table diffs) across nodes for an entire schema. |
| spock-diff | Compares Spock metadata/state across nodes to find configuration divergences. |
| table-diff | Compares a single table across cluster nodes and writes a diff report (JSON/HTML/CSV). |
| table-repair | Applies fixes from a diff file using a chosen source-of-truth node; supports dry-run, upsert/insert-only, and --fix-nulls for NULL-only drifts. |
| table-rerun | Re-runs a previous diff from a saved file to verify that inconsistencies were resolved. |
| Command | Description |
|---|---|
| mtree build | Builds Merkle trees for a specific table on all nodes (after mtree init). |
| mtree init | Creates required schema/objects and sets up CDC (publication/slot) for Merkle operations. |
| mtree listen | Long-running process that consumes CDC and continuously updates Merkle trees. |
| mtree table-diff | Compares Merkle trees across nodes to detect inconsistencies; can emit JSON/HTML reports. |
| mtree teardown | Removes all Merkle-related objects and CDC setup created by mtree init. |
| mtree teardown-table | Drops Merkle data/metadata for one table and removes it from CDC publication. |
| mtree update | Applies captured CDC changes to refresh Merkle trees; optional rebalance. |