Skip to content
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

tablet query engine: introduce -enable-consolidator-replicas #5862

Merged
merged 1 commit into from
Mar 5, 2020

Conversation

dweitzman
Copy link
Member

This diff creates the possibility to start a tablet with
"-enable-consolidator=false -enable-consolidator-replicas" so
that query consolidation is enabled only for non-master instance
types.

This allows using the consolidator while keeping the agreement that
OLTP reads from master have read-committed consistency, while replicas
have inconsistent reads.

See #4058

@dweitzman dweitzman requested a review from sougou as a code owner February 26, 2020 14:28
This diff creates the possibility to start a tablet with
"-enable-consolidator=false -enable-consolidator-replicas" so
that query consolidation is enabled only for non-master instance
types.

This allows using the consolidator while keeping the agreement that
OLTP reads from master have read-committed consistency while replicas
have inconsistent reads.

See vitessio#4058

Signed-off-by: David Weitzman <dweitzman@pinterest.com>
@dweitzman dweitzman force-pushed the query_consolidator_replicas_only branch from f83e152 to 8056e74 Compare February 26, 2020 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants