-
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
Feature Request: filter topology by shard in vttablet txthrottler #13068
Comments
@vitessio/cluster-management |
Before was the health checks from other shards ignored? Were they taking part in determining that throttling to be done? |
@harshit-gangal in v14 and below only the local shard was watched, which I feel is more correct/efficient This behaviour was changed to filter by keyspace-only here in this PR from v15
I feel the Transaction Throttler (on |
That looks like the side effect of removing the legacy health check. Thank you for digging into that. |
Feature Description
The txthrottler (on the
PRIMARY
) uses healthcheck streams to determine the replication lag of replicas in the shardToday, the txthrottler uses
discovery.NewCellTabletsWatcher
to watch the topology with a filter on the keyspace only. This means the topology watcher is "watching" more tablets than is necessaryThis feature request is to support filtering by keyspace AND shard
Use Case(s)
Standard deploy w/TxThrottler enabled
The text was updated successfully, but these errors were encountered: