You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Improve binlog parsing and config value formatting
This commit enhances binlog replication reliability and fixes config
value formatting issues for required filters.
**Binlog Reader Improvements:**
- Fix binlog event parsing by skipping MySQL C API OK packet byte (0x00)
- Add column name fetching from SHOW COLUMNS with per-table caching
- Improve MySQL 8.0 ROWS_EVENT_V2 support for extra_row_info handling
- Fix UPDATE_ROWS event parsing with proper boundary checks
- Add comprehensive debug logging for binlog event parsing
**Config Value Formatting:**
- Fix integer values to exclude decimal points (e.g., "1" not "1.000000")
- Fix float values to include decimal points (e.g., "99.99")
- Properly handle boolean-like tinyint values
**Snapshot Builder:**
- Add GTID validation to prevent replication from undefined positions
- Provide clear error messages when GTID is empty
**Testing:**
- Add required_filters_formatting_test.cpp for config value formatting
- Add binlog_parsing_test.cpp for binlog event parsing edge cases
0 commit comments