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

[CDC] Do smart consumer producer tablet mapping #2679

Closed
rahuldesirazu opened this issue Oct 22, 2019 · 0 comments
Closed

[CDC] Do smart consumer producer tablet mapping #2679

rahuldesirazu opened this issue Oct 22, 2019 · 0 comments
Assignees
Labels
area/cdc Change Data Capture kind/enhancement This is an enhancement of an existing feature

Comments

@rahuldesirazu
Copy link
Contributor

In case where we have same number of consumer and producer tablets, map tablets with the same key range so that the apply step on the consumer is a local call.

@rahuldesirazu rahuldesirazu added kind/enhancement This is an enhancement of an existing feature area/cdc Change Data Capture labels Oct 22, 2019
@rahuldesirazu rahuldesirazu self-assigned this Oct 22, 2019
rahuldesirazu added a commit that referenced this issue Nov 12, 2019
Summary:
In cases where we have an equal num of consumer and producer tablets, do a smart mapping such that consumers poll from producers that have the same key range. This will result in a local operation on consumer apply.

To disable this change/force a remote lookup, set `cdc_force_remote_tserver=true`.

Test Plan: TwoDCTest.ApplyOperationsRandomFailures

Reviewers: sergei, nicolas, hector, neha

Reviewed By: neha

Subscribers: ybase, bogdan

Differential Revision: https://phabricator.dev.yugabyte.com/D7489
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cdc Change Data Capture kind/enhancement This is an enhancement of an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants