pgedge ace table-repair
SYNOPSIS
./pgedge ace table-repair CLUSTER_NAME TABLE_NAME DIFF_FILE <flags>
DESCRIPTION
Performs a table repair operation on a specified cluster and table.
POSITIONAL ARGUMENTS
CLUSTER_NAME
Name of the cluster to perform the repair on.
TABLE_NAME
Name of the table to repair.
DIFF_FILE
Path to the diff file generated by a previous table diff.
FLAGS
-s, --source_of_truth=SOURCE_OF_TRUTH
Node to be used as the source of truth for the repair.
--dbname=DBNAME
Name of the database. Defaults to None.
--dry_run=DRY_RUN
If True, simulates the repair without changes. Defaults to False.
-q, --quiet=QUIET
Whether to suppress output. Defaults to False.
-g, --generate_report=GENERATE_REPORT
If True, generates a detailed report of the repair. Defaults to False.
-i, --insert_only=INSERT_ONLY
-u, --upsert_only=UPSERT_ONLY
If True, only performs upsert operations, skipping deletions. Defaults to False.
--fix_nulls=FIX_NULLS
If True, fixes null values in the table columns by looking at the corresponding column in the other nodes. Does not need the source of truth to be specified. Must be used only in special cases. This is not a recommended option for repairing divergence. Defaults to False.
--fire_triggers=FIRE_TRIGGERS
-b, --bidirectional=BIDIRECTIONAL