You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today, we get a copy of the producer's cluster while setting up replication. Later, when producer cluster changes (say, nodes are added/removed), consumer's view of the producer cluster is not updated.
We should modify CDC consumer to periodically get a copy of producer cluster.
The text was updated successfully, but these errors were encountered:
I feel like this should come for free when we have a meta cache implementation on the consumer side. That should automatically figure out new tablet locations when we add/remove servers on the producer cluster.
This is a low priority feature until tablet splitting is added to YBase. The number of tablets is currently static, so producer cluster would need to have all 3 replicas as dead nodes with no proxy redirection before we would have connectivity issues.
…on CDC Consumer
Summary:
Depends on D7480
Previously, I created CDCReadRpc to handle CDC read requests using the TabletInvoker API.
TabletInvoker handles creating a <tablet, proxy> cache, handling replica failover & errors, and
encoding standard retry logic. Using this on the CDC Consumer will solve a number of
outstanding tasks related to these issues. Additionally, I added multi-universe support since I
needed to differentiate between the various clients created anyways.
Test Plan:
1. Used pgbench in a 3 node setup to send 100k messages.
2. ybd --cxx-test twodc-test -n 20
Reviewers: rahuldesirazu, hector, neha
Reviewed By: neha
Subscribers: sergei, ybase, bogdan
Differential Revision: https://phabricator.dev.yugabyte.com/D7456
Today, we get a copy of the producer's cluster while setting up replication. Later, when producer cluster changes (say, nodes are added/removed), consumer's view of the producer cluster is not updated.
We should modify CDC consumer to periodically get a copy of producer cluster.
The text was updated successfully, but these errors were encountered: