Skip to content

Commit cff3492

Browse files
Cleanup TODOs targeting v25 or earlier (#20048)
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
1 parent 8840448 commit cff3492

47 files changed

Lines changed: 120 additions & 230 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

changelog/25.0/25.0.0/summary.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
- **[Major Changes](#major-changes)**
88
- **[New Support](#new-support)**
99
- **[Breaking Changes](#breaking-changes)**
10+
- [`--watch-replication-stream` flag removed](#vttablet-watch-replication-stream-removed)
11+
- [Snapshot Topology feature removed](#vtorc-snapshot-topology-removed)
12+
- [VTOrc `--cell` flag is now required](#vtorc-cell-required)
1013
- **[Minor Changes](#minor-changes)**
1114
- **[VReplication](#minor-changes-vreplication)**
1215
- [Default data protection for `_reverse` workflow cancel/complete](#vreplication-reverse-workflow-data-protection)
@@ -23,6 +26,36 @@
2326

2427
### <a id="breaking-changes"/>Breaking Changes</a>
2528

29+
#### <a id="vttablet-watch-replication-stream-removed"/>`--watch-replication-stream` flag removed</a>
30+
31+
The deprecated `--watch-replication-stream` VTTablet flag has been removed.
32+
33+
**Migration**: remove `--watch-replication-stream` from VTTablet startup arguments.
34+
35+
**Impact**: VTTablet will fail to start if `--watch-replication-stream` is still passed.
36+
37+
See [#20048](https://github.com/vitessio/vitess/pull/20048) for the removal and [#19204](https://github.com/vitessio/vitess/pull/19204) for the original deprecation.
38+
39+
#### <a id="vtorc-snapshot-topology-removed"/>Snapshot Topology feature removed</a>
40+
41+
VTOrc's Snapshot Topology feature, [deprecated in v24](../../24.0/24.0.0/summary.md#vtorc-snapshot-topology-deprecation), has been removed. This includes the `--snapshot-topology-interval` flag and the `database_instance_topology_history` table.
42+
43+
**Migration**: remove `--snapshot-topology-interval` from VTOrc startup arguments.
44+
45+
**Impact**: VTOrc will fail to start if `--snapshot-topology-interval` is still passed.
46+
47+
See [#20048](https://github.com/vitessio/vitess/pull/20048) for the removal and [#19070](https://github.com/vitessio/vitess/pull/19070) for the original deprecation.
48+
49+
#### <a id="vtorc-cell-required"/>VTOrc `--cell` flag is now required</a>
50+
51+
The `--cell` VTOrc flag, [introduced in v24](../../24.0/24.0.0/summary.md#vtorc-cell-flag), is now required.
52+
53+
**Migration**: ensure `--cell` is set on every VTOrc deployment.
54+
55+
**Impact**: VTOrc will fail to start with a `FAILED_PRECONDITION` error if `--cell` is empty.
56+
57+
See [#20048](https://github.com/vitessio/vitess/pull/20048) for the removal and [#19047](https://github.com/vitessio/vitess/pull/19047) for the original `--cell` flag introduction.
58+
2659
## <a id="minor-changes"/>Minor Changes</a>
2760

2861
#### <a id="vreplication-reverse-workflow-data-protection"/>Default data protection for `_reverse` workflow cancel/complete</a>

config/tablet/default.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ consolidator: enable|disable|notOnPrimary # enable-consolidator, enable-consolid
100100
passthroughDML: false # queryserver-config-passthrough-dmls
101101
streamBufferSize: 32768 # queryserver-config-stream-buffer-size
102102
schemaReloadIntervalSeconds: 1800 # queryserver-config-schema-reload-time
103-
watchReplication: false # watch-replication-stream
104103
terseErrors: false # queryserver-config-terse-errors
105104
truncateErrorLen: 0 # queryserver-config-truncate-error-len
106105
messagePostponeParallelism: 4 # queryserver-config-message-postpone-cap

doc/design-docs/TabletServerParamsAsYAML.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ shutdownGracePeriodSeconds: 0 # transaction_shutdown_grace_period
127127
passthroughDML: false # queryserver-config-passthrough-dmls
128128
streamBufferSize: 32768 # queryserver-config-stream-buffer-size
129129
schemaReloadIntervalSeconds: 1800 # queryserver-config-schema-reload-time
130-
watchReplication: false # watch_replication_stream
131130
terseErrors: false # queryserver-config-terse-errors
132131
messagePostponeParallelism: 4 # queryserver-config-message-postpone-cap
133132
sanitizeLogMessages: false # sanitize_log_messages

examples/common/vtorc/config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
instance-poll-time: 1s
22
prevent-cross-cell-failover: false
3-
snapshot-topology-interval: 0h
43
reasonable-replication-lag: 10s
54
audit-to-backend: false
65
audit-to-syslog: false

examples/operator/101_initial_cluster.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ spec:
9090
cpu: 100m
9191
memory: 128Mi
9292
extraFlags:
93+
cell: zone1
9394
instance-poll-time: 1s
9495
log-format: text
9596
partitionings:

examples/operator/201_customer_tablets.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ spec:
8686
cpu: 100m
8787
memory: 128Mi
8888
extraFlags:
89+
cell: zone1
8990
instance-poll-time: 1s
9091
log-format: text
9192
partitionings:
@@ -124,6 +125,9 @@ spec:
124125
- name: customer
125126
durabilityPolicy: none
126127
turndownPolicy: Immediate
128+
vitessOrchestrator:
129+
extraFlags:
130+
cell: zone1
127131
partitionings:
128132
- equal:
129133
parts: 1

examples/operator/302_new_shards.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ spec:
8686
cpu: 100m
8787
memory: 128Mi
8888
extraFlags:
89+
cell: zone1
8990
instance-poll-time: 1s
9091
log-format: text
9192
partitionings:
@@ -124,6 +125,9 @@ spec:
124125
- name: customer
125126
durabilityPolicy: none
126127
turndownPolicy: Immediate
128+
vitessOrchestrator:
129+
extraFlags:
130+
cell: zone1
127131
partitionings:
128132
- equal:
129133
parts: 1

examples/operator/306_down_shard_0.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ spec:
8686
cpu: 100m
8787
memory: 128Mi
8888
extraFlags:
89+
cell: zone1
8990
instance-poll-time: 1s
9091
log-format: text
9192
partitionings:
@@ -124,6 +125,9 @@ spec:
124125
- name: customer
125126
durabilityPolicy: none
126127
turndownPolicy: Immediate
128+
vitessOrchestrator:
129+
extraFlags:
130+
cell: zone1
127131
partitionings:
128132
- equal:
129133
parts: 2

examples/operator/401_scheduled_backups.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ spec:
120120
cpu: 100m
121121
memory: 128Mi
122122
extraFlags:
123+
cell: zone1
123124
instance-poll-time: 1s
124125
log-format: text
125126
partitionings:
@@ -159,6 +160,9 @@ spec:
159160
- name: customer
160161
durabilityPolicy: none
161162
turndownPolicy: Immediate
163+
vitessOrchestrator:
164+
extraFlags:
165+
cell: zone1
162166
partitionings:
163167
- equal:
164168
parts: 2

go/flags/endtoend/vtorc.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Flags:
2525
--backend-write-concurrency int Maximum concurrency for writes to the backend (default 24)
2626
--bind-address string Bind address for the server. If empty, the server will listen on all available unicast and anycast IP addresses of the local system.
2727
--catch-sigpipe catch and ignore SIGPIPE on stdout and stderr if specified
28-
--cell string cell to use (required in v25+)
28+
--cell string cell to use (required)
2929
--cells-to-watch strings Comma-separated list of cells that this instance will monitor and repair. Defaults to all cells in the topology. Example: "cell1,cell2"
3030
--change-tablets-with-errant-gtid-to-drained Whether VTOrc should be changing the type of tablets with errant GTIDs to DRAINED
3131
--clusters-to-watch strings Comma-separated list of keyspaces or keyspace/keyranges that this instance will monitor and repair. Defaults to all clusters in the topology. Example: "ks1,ks2/-80"
@@ -74,7 +74,6 @@ Flags:
7474
--remote-operation-timeout duration time to wait for a remote operation (default 15s)
7575
--security-policy string the name of a registered security policy to use for controlling access to URLs - empty means allow all for anyone (built-in policies: deny-all, read-only)
7676
--shutdown-wait-time duration Maximum time to wait for VTOrc to release all the locks that it is holding before shutting down on SIGTERM (default 30s)
77-
--snapshot-topology-interval duration Timer duration on which VTOrc takes a snapshot of the current MySQL information it has in the database. Should be in multiple of hours
7877
--sqlite-data-file string SQLite Datafile to use as VTOrc's database (default "file::memory:?mode=memory&cache=shared")
7978
--stats-backend string The name of the registered push-based monitoring/stats backend to use
8079
--stats-combine-dimensions string List of dimensions to be combined into a single "all" value in exported stats vars

0 commit comments

Comments
 (0)