Verify data consistency before cutover

sharding & workflows

// what it does

Runs a row-by-row consistency check (VDiff) between source and target keyspaces for the workflow — the proof that the copy is faithful before you route real traffic at it.

// shell

$ pscale workflow verify-data mydb main 1

// gotcha

Run it before switch-traffic and again before cutover; it's the cheapest insurance in the whole migration. A verify failure means investigate, not proceed-anyway.

// resources