-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vtorc: Clean up more unused code #15609
Conversation
This goes a bit further than previous just `deadcode` cleanup, but it digs deeper into which parts are actually unused. We don't seem to use any of the binary log file positioning logic, since we all use GTID based logic so that can all be cleaned up. This then removes a bunch of other unused fields etc. as well. Lastly, we rename the data_center attribute to cell since that's the internal Vitess terminology. Signed-off-by: Dirkjan Bussink <[email protected]>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #15609 +/- ##
==========================================
- Coverage 68.09% 68.06% -0.03%
==========================================
Files 1561 1559 -2
Lines 195288 195016 -272
==========================================
- Hits 132974 132732 -242
+ Misses 62314 62284 -30 ☔ View full report in Codecov by Sentry. |
Closing since it is being superseded by #15617. |
For future reference, this wasn't accurate. We do need to keep the binlog related fields around in the database. |
This goes a bit further than previous just
deadcode
cleanup, but it digs deeper into which parts are actually unused. We don't seem to use any of the binary log file positioning logic, since we all use GTID based logic so that can all be cleaned up.This then removes a bunch of other unused fields etc. as well.
Lastly, we rename the data_center attribute to cell since that's the internal Vitess terminology.
Checklist