Skip to content

Commit

Permalink
feat: address review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Manan Gupta <[email protected]>
  • Loading branch information
GuptaManan100 committed Dec 3, 2024
1 parent cb16b34 commit a9761f5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion changelog/22.0/22.0.0/summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ never be promoted, neither by planned nor by emergency reparents.

### <a id="vtorc-config-file-changes"/>VTOrc Config File Changes</a>

The configuration file for VTOrc has been updated to now support dynamic fields. The old `--config` parameter has been removed. The alternative is to use the `--config-file` parameter. The configuration can now be provided in both json, yaml or any other format that [viper](https://github.com/spf13/viper) supports.
The configuration file for VTOrc has been updated to now support dynamic fields. The old `--config` parameter has been removed. The alternative is to use the `--config-file` parameter. The configuration can now be provided in json, yaml or any other format that [viper](https://github.com/spf13/viper) supports.

The following fields can be dynamically changed -
1. `instance-poll-time`
Expand Down
12 changes: 12 additions & 0 deletions examples/common/vtorc/config.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
instance-poll-time: 1s
prevent-cross-cell-failover: false
snapshot-topology-interval: 0h
reasonable-replication-lag: 10s
audit-to-backend: false
audit-to-syslog: false
audit-purge-duration: 168h
wait-replicas-timeout: 30s
tolerable-replication-lag: 0s
topo-information-refresh-duration: 15s
recovery-poll-duration: 1s
allow-emergency-reparent: true
change-tablets-with-errant-gtid-to-drained: false

0 comments on commit a9761f5

Please sign in to comment.