-
Notifications
You must be signed in to change notification settings - Fork 2.3k
vtorc: deprecate snapshot topology feature in v24
#19070
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: deprecate snapshot topology feature in v24
#19070
Conversation
Signed-off-by: Tim Vaillancourt <[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
|
…gy-deprecation Signed-off-by: Tim Vaillancourt <[email protected]>
| #### <a id="vtorc-deprecated-metric-removed"/>Deprecated VTOrc Metric Removed</a> | ||
|
|
||
| VTOrc now supports a `--cell` flag that specifies which Vitess cell the VTOrc process is running in. The flag is optional in v24 but will be required in v25+, similar to VTGate's `--cell` flag. | ||
| The `DiscoverInstanceTimings` metric has been removed from VTOrc in v24. This metric was deprecated in v23. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected AI slop from a previous doc PR here: metrics are capitalized
|
📝 Documentation updates detected! New suggestion: Add deprecation notice for VTOrc snapshot topology flag |
|
This PR is being marked as stale because it has been open for 30 days with no activity. To rectify, you may do any of the following:
If no action is taken within 7 days, this PR will be closed. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #19070 +/- ##
==========================================
- Coverage 69.90% 69.90% -0.01%
==========================================
Files 1611 1611
Lines 215948 215949 +1
==========================================
- Hits 150959 150949 -10
- Misses 64989 65000 +11 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| var recoveryEntrance int64 | ||
| var snapshotTopologiesTick <-chan time.Time | ||
| if config.GetSnapshotTopologyInterval() > 0 { | ||
| log.Warning("--snapshot-topology-interval is deprecated and will be removed in v25+") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's also good to try and leverage the MarkDeprecated and similar features of Cobra for the flag at that level so that people see e.g. warnings on the console, don't even see an option in the --help output anymore, etc.
|
📝 Documentation updates detected! New suggestion: Add deprecation notice for VTOrc snapshot topology feature |
Signed-off-by: Tim Vaillancourt <[email protected]>
Description
This PR is the v24-half of the deprecation explained in #18691
Related Issue(s)
#18691
Checklist
Deployment Notes
AI Disclosure