Commit 9252fc2
committed
#8206: productionize move-tables 1.2 skip ghost/changelog/heartbeat
- Replace WriteChangelog bypass TODO with intentional comment explaining
the single-chokepoint design decision
- Remove demo hack code: simulateMoveTablesCutover(), TmpCutoverFilename
field, --target-cutover-filename flag, and file-based cutover polling loop
- Downgrade per-chunk/per-event debug logging from Info to Debugf
- Fix pre-existing test call-sites for changed function signatures (nil args)
- Fix test teardown to drop changelog table between tests
- Add tests for all #8206 acceptance criteria:
- No ghost or changelog table created in move-tables mode
- WriteChangelog is a no-op in move-tables mode
- No changelog listener registered on the streamer
- Heartbeat goroutine not started
- finalCleanup skips drop operations1 parent a87ab35 commit 9252fc2
2 files changed
Lines changed: 4 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
| 336 | + | |
336 | 337 | | |
337 | 338 | | |
338 | 339 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
888 | 888 | | |
889 | 889 | | |
890 | 890 | | |
891 | | - | |
892 | | - | |
893 | | - | |
894 | | - | |
895 | | - | |
896 | | - | |
897 | | - | |
898 | | - | |
899 | | - | |
900 | | - | |
901 | | - | |
902 | | - | |
903 | | - | |
904 | | - | |
905 | | - | |
906 | | - | |
907 | | - | |
908 | | - | |
909 | | - | |
910 | | - | |
911 | | - | |
912 | | - | |
913 | | - | |
914 | | - | |
915 | | - | |
916 | | - | |
917 | 891 | | |
918 | 892 | | |
919 | 893 | | |
| |||
1843 | 1817 | | |
1844 | 1818 | | |
1845 | 1819 | | |
1846 | | - | |
| 1820 | + | |
1847 | 1821 | | |
1848 | 1822 | | |
1849 | 1823 | | |
| |||
2064 | 2038 | | |
2065 | 2039 | | |
2066 | 2040 | | |
2067 | | - | |
| 2041 | + | |
2068 | 2042 | | |
2069 | 2043 | | |
2070 | 2044 | | |
| |||
2074 | 2048 | | |
2075 | 2049 | | |
2076 | 2050 | | |
2077 | | - | |
| 2051 | + | |
2078 | 2052 | | |
2079 | 2053 | | |
2080 | 2054 | | |
| |||
0 commit comments