mtree table-diff
Compares Merkle trees of a table across nodes to find inconsistencies.
By default, updates trees first using CDC.
Usage
./ace mtree table-diff [flags] [cluster] <schema.table>
Arguments
[cluster]— Optional; overridesdefault_cluster.
Flags
| Flag | Alias | Description | Default |
|---|---|---|---|
--dbname |
-d |
Database name | |
--nodes |
-n |
Nodes to include (comma or all) |
all |
--max-cpu-ratio |
-m |
Max CPU ratio | 0.5 |
--output |
-o |
json or html |
json |
--skip-cdc |
-U |
Skip CDC processing (only rehash and compare) | false |
--quiet |
-q |
Suppress output | false |
--debug |
-v |
Debug logging | false |
Example
./ace mtree table-diff --dbname=mydatabase my-cluster public.my_table
Notes
- With
--output html, both JSON and HTML reports are generated with matching timestamps.