diff --git a/content/en/docs/17.0/reference/features/schema-tracking.md b/content/en/docs/17.0/reference/features/schema-tracking.md index 477b0ae4b..069362531 100644 --- a/content/en/docs/17.0/reference/features/schema-tracking.md +++ b/content/en/docs/17.0/reference/features/schema-tracking.md @@ -24,4 +24,4 @@ If the table ACL is enabled, then an exempted/allowed username needs to be passe ## VTTablet -Schema tracking is enabled in VTTablet with the flag `--queryserver-config-schema-change-signal`, defaults to `true`. When enabled, VTTablet sends schema changes to VTGate based on an interval that can be modified with the flag `--queryserver-config-schema-change-signal-interval` (defaults to 5 seconds). +Schema tracking is enabled in VTTablet with the flag `--queryserver-config-schema-change-signal`, defaults to `true`. When enabled, VTTablet sends schema changes to VTGate when a DDL query executes. Additionally, VTTablet regularly checks for schema changes at a specified interval, which can be adjusted using the `--queryserver-config-schema-reload-time` flag. The default interval is set to 30 minutes. diff --git a/content/en/docs/17.0/reference/programs/vttablet.md b/content/en/docs/17.0/reference/programs/vttablet.md index 0ee107d0d..7d049e6e1 100644 --- a/content/en/docs/17.0/reference/programs/vttablet.md +++ b/content/en/docs/17.0/reference/programs/vttablet.md @@ -283,7 +283,6 @@ The following global options apply to `vttablet`: | --queryserver-config-query-pool-waiter-cap | int | query server query pool waiter limit, this is the maximum number of queries that can be queued waiting to get a connection (default 5000) | | --queryserver-config-query-timeout | float | query server query timeout (in seconds), this is the query timeout in vttablet side. If a query takes more than this timeout, it will be killed. (default 30) | | --queryserver-config-schema-change-signal | boolean | query server schema signal, will signal connected vtgates that schema has changed whenever this is detected. VTGates will need to have -schema_change_signal enabled for this to work (default true) | -| --queryserver-config-schema-change-signal-interval | float | query server schema change signal interval defines at which interval the query server shall send schema updates to vtgate. (default 5) | | --queryserver-config-schema-reload-time | float | query server schema reload time, how often vttablet reloads schemas from underlying MySQL instance in seconds. vttablet keeps table schemas in its own memory and periodically refreshes it from MySQL. This config controls the reload time. (default 1800) | | --queryserver-config-stream-buffer-size | int | query server stream buffer size, the maximum number of bytes sent from vttablet for each stream call. It's recommended to keep this value in sync with vtgate's stream_buffer_size. (default 32768) | | --queryserver-config-stream-pool-size | int | query server stream connection pool size, stream pool is used by stream queries: queries that return results to client in a streaming fashion (default 200) | @@ -318,6 +317,7 @@ The following global options apply to `vttablet`: | --s3_backup_storage_root | string | root prefix for all backup-related object names. | | --s3_backup_tls_skip_verify_cert | boolean | skip the 'certificate is valid' check for SSL connections. | | --sanitize_log_messages | boolean | Remove potentially sensitive information in tablet INFO, WARNING, and ERROR log messages such as query parameters. | +| --schema-change-reload-timeout | duration | query server schema change reload timeout, this is how long to wait for the signaled schema reload operation to complete before giving up (default 30s) | | --schema-version-max-age-seconds | int | Max age of schema version records to kept in memory by the vreplication historian | | --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) | | --service_map | strings | comma separated list of services to enable (or disable if prefixed with '-') Example: grpc-queryservice | @@ -403,7 +403,7 @@ The following global options apply to `vttablet`: | --twopc_enable | boolean | if the flag is on, 2pc is enabled. Other 2pc flags must be supplied. | | --tx-throttler-config | string | Synonym to -tx_throttler_config (default "target_replication_lag_sec: 2\nmax_replication_lag_sec: 10\ninitial_rate: 100\nmax_increase: 1\nemergency_decrease: 0.5\nmin_duration_between_increases_sec: 40\nmax_duration_between_increases_sec: 62\nmin_duration_between_decreases_sec: 20\nspread_backlog_across_sec: 20\nage_bad_rate_after_sec: 180\nbad_rate_increase: 0.1\nmax_rate_approach_threshold: 0.9\n") | | --tx-throttler-healthcheck-cells | strings | Synonym to -tx_throttler_healthcheck_cells | -| --tx-throttler-tablet-types | strings | A comma-separated list of tablet types. Only tablets of this type are monitored for replication lag by the transaction throttler. Supported types are replica and/or rdonly. (default replica) | +| --tx-throttler-tablet-types | strings | A comma-separated list of tablet types. Only tablets of this type are monitored for replication lag by the transaction throttler. Supported types are replica and/or rdonly. (default replica) | | --tx_throttler_config | string | The configuration of the transaction throttler as a text formatted throttlerdata.Configuration protocol buffer message (default "target_replication_lag_sec: 2\nmax_replication_lag_sec: 10\ninitial_rate: 100\nmax_increase: 1\nemergency_decrease: 0.5\nmin_duration_between_increases_sec: 40\nmax_duration_between_increases_sec: 62\nmin_duration_between_decreases_sec: 20\nspread_backlog_across_sec: 20\nage_bad_rate_after_sec: 180\nbad_rate_increase: 0.1\nmax_rate_approach_threshold: 0.9\n") | | --tx_throttler_healthcheck_cells | strings | A comma-separated list of cells. Only tabletservers running in these cells will be monitored for replication lag by the transaction throttler. | | --unhealthy_threshold | duration | replication lag after which a replica is considered unhealthy (default 2h0m0s) |