Revision 79d18a21eb53b8e72957dd37b9bde0288bcc50b8
Committed on 18/12/2025 10:33 am by
Zohaib Sibte Hassan <zohaib@sibte.pk> [GitHub Diff]
Refactor: Unified CDC applier consolidating 4 duplicate implementations
- Create db/cdc_applier.go with CDCExecutor and CDCSchemaProvider interfaces
- Fix TEXT type affinity bug: 3 of 4 CDC paths stored TEXT as BLOB
- Add comprehensive test suite (559 lines) with type affinity verification
- Remove duplicate CDC apply logic from:
- db/transaction.go (-171 lines)
- db/sqlite_batch_committer.go (-131 lines)
- grpc/replication_handler.go (-169 lines)
- grpc/delta_sync.go (-175 lines)
- Net production code reduction: ~474 lines
???? Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>