-
Notifications
You must be signed in to change notification settings - Fork 423
✨ Syncer: support multiple shards #2675
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
Conversation
|
/test e2e-shared |
142bba7 to
8e8c714
Compare
|
/test e2e-sharded e2e-shared e2e |
|
/test e2e-sharded |
|
/retest |
8e8c714 to
043dcb6
Compare
0b4360c to
5287815
Compare
|
/retest |
|
/test e2e-sharded |
1 similar comment
|
/test e2e-sharded |
5287815 to
5807112
Compare
5807112 to
2b66e82
Compare
2b66e82 to
9cefdf9
Compare
| SyncerClient kcpdynamic.ClusterInterface | ||
| SyncerDDSIF *informer.DiscoveringDynamicSharedInformerFactory | ||
| UpsyncerClient kcpdynamic.ClusterInterface | ||
| UpsyncerDDSIF *informer.DiscoveringDynamicSharedInformerFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what are these? Upstream/downstream? Why a new concept?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are shards only for upstream (== KCP)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just gathering the shard-related upstream clients and informers for both the Syncer and UpSyncer.
Naming suggestion welcomed :-)
Signed-off-by: David Festal <[email protected]>
Signed-off-by: David Festal <[email protected]>
Signed-off-by: David Festal <[email protected]>
Signed-off-by: David Festal <[email protected]>
Signed-off-by: David Festal <[email protected]>
Signed-off-by: David Festal <[email protected]>
Signed-off-by: David Festal <[email protected]>
... Signed-off-by: David Festal <[email protected]>
... only temporary, before we implement Syncer service account replication. Signed-off-by: David Festal <[email protected]>
Signed-off-by: David Festal <[email protected]>
Signed-off-by: David Festal <[email protected]>
Signed-off-by: David Festal <[email protected]>
Signed-off-by: David Festal <[email protected]>
e227bcd to
1329ae7
Compare
Signed-off-by: David Festal <[email protected]>
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ncdc The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/lgtm |
Summary
This PR refactors the Syncer in order to make it shard-aware (supporting multiple shards)
Related issue(s)
Fixes #2832