Summary
Extend inno binlog with --correlate flag that annotates row events with the tablespace page numbers they affected.
CLI Design
inno binlog -f <binlog> --correlate /path/to/table.ibd
inno binlog -f <binlog> --correlate /path/to/table.ibd --json
Scope
- Add
page_number and page_lsn columns to row event output
- Requires tablespace for B+Tree PK lookup
- Events that can't be correlated (missing PK, different table) shown without page info
Depends on
#178 (binlog-page correlation library)
Part of
Epic #166 (Binlog-Tablespace Correlation)