-
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
Remove deprecated flags before v18.0.0
#14071
Changes from 10 commits
7eb6c68
8385c0e
9982bf1
6b0b8de
c002026
086f9ed
05ac200
cd10142
c58032c
5f75ed6
d91f6f1
3d13c10
2e79a22
2889218
61c8b4a
3a43a34
11c799e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ | |
- [Updated to node v18.16.0](#update-node) | ||
- **[Deprecations and Deletions](#deprecations-and-deletions)** | ||
- [Deprecated Flags](#deprecated-flags) | ||
- [Deleted Flags](#deleted-flags) | ||
- [Deprecated Stats](#deprecated-stats) | ||
- [Deleted `V3` planner](#deleted-v3) | ||
- [Deleted `k8stopo`](#deleted-k8stopo) | ||
|
@@ -118,6 +119,35 @@ VTGate flag: | |
|
||
- `--schema_change_signal_user` is deprecated and will be removed in `v19.0` | ||
|
||
#### <a id="deleted-flags"/>Deleted Command Line Flags | ||
|
||
Flags in `vtcombo`: | ||
- `--vtctld_addr` | ||
|
||
Flags in `vtctldclient ApplySchema`: | ||
- `--skip-preflight` | ||
|
||
Flags in `vtgate`: | ||
- `--vtctld_addr` | ||
|
||
Flags in `vttablet`: | ||
- `--vtctld_addr` | ||
- `--use_super_read_only` | ||
- `--disable-replication-manager` | ||
- `--init_populate_metadata` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. FWIW we said that we deleted this flag in the v16 summary. Maybe we meant deprecated there? Or maybe that's the one that we had to temporarily resurrect... 😄 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Originally it was meant to be There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. and went from There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. but the flag has always been marked as deprecated, so all good. I can change the |
||
- `--queryserver-config-pool-prefill-parallelism` | ||
- `--queryserver-config-stream-pool-prefill-parallelism` | ||
- `--queryserver-config-transaction-pool-prefill-parallelism` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't see this one ever explicitly mentioned in previous changelogs but I'm assuming it was an oversight and should be deleted because all of the related ones were deprecated. |
||
- `--queryserver-config-schema-change-signal-interval` | ||
|
||
Flags in `vtctld`: | ||
- `--vtctld_show_topology_crud` | ||
- `--durability_policy` | ||
|
||
Flags in `vtorc`: | ||
- `--lock-shard-timeout` | ||
- `--orc_web_dir` | ||
|
||
#### <a id="deprecated-stats"/>Deprecated Stats | ||
|
||
The following Emergency Reparent Shard stats are deprecated in `v18.0` and will be removed in `v19.0`: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -117,7 +117,6 @@ func (orc *VTOrcProcess) Setup() (err error) { | |
"--instance-poll-time", "1s", | ||
// Faster topo information refresh speeds up the tests. This doesn't add any significant load either | ||
"--topo-information-refresh-duration", "3s", | ||
"--orc_web_dir", path.Join(os.Getenv("VTROOT"), "web", "vtorc"), | ||
) | ||
if *isCoverage { | ||
orc.proc.Args = append(orc.proc.Args, "--test.coverprofile="+getCoveragePath("orc.out")) | ||
|
@@ -197,7 +196,7 @@ func (orc *VTOrcProcess) GetVars() map[string]any { | |
|
||
// MakeAPICall makes an API call on the given endpoint of VTOrc | ||
func (orc *VTOrcProcess) MakeAPICall(endpoint string) (status int, response string, err error) { | ||
url := fmt.Sprintf("http://localhost:%d/%s", orc.Port, endpoint) | ||
url := fmt.Sprintf("http://127.0.0.1:%d/%s", orc.Port, endpoint) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is fine, but seems unrelated? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. unrelated indeed, let me revert |
||
resp, err := http.Get(url) | ||
if err != nil { | ||
if resp != nil { | ||
|
This file was deleted.
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.
This flag is specific to the ApplySchema command and should be documented that way. It's not a general vtctldclient flag.
Try
vtctldclient --help
vsvtctldclient ApplySchema --help
to see the difference.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.
Fixed via 05ac200
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'm assuming we mean skip_preflight as well? That's the one that I see mentioned in v17:
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 have added another section below for
skip_preflight