-
Notifications
You must be signed in to change notification settings - Fork 35
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
Automated backport of #1521: Add cluster name to aggregated SI status on local SI creation #1528
Merged
tpantelis
merged 3 commits into
submariner-io:release-0.17
from
tpantelis:automated-backport-of-#1521-upstream-release-0.17
Apr 3, 2024
Merged
Automated backport of #1521: Add cluster name to aggregated SI status on local SI creation #1528
tpantelis
merged 3 commits into
submariner-io:release-0.17
from
tpantelis:automated-backport-of-#1521-upstream-release-0.17
Apr 3, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
...instead of when local EPS is synced to the broker. This can cause inconsistency if another service instance is unexported on another cluster simultaneously. The scenario is: - a service is exported on C2 - the service is then exported on C1. The local SI is created and it's observed that the aggregated SI on the broker already exists. - the service on C2 is unexported and the aggregated SI is deleted b/c its cluster status is now empty. - the local EPS on C1 is synced to the broker. At this point, it tries to update the aggregated SI with the cluster info but it no longer exists. There’s a couple ways to address it. 1) Do create-or-update when merging the local cluster info on EPS creation. The downside is that this wouldn’t do the service type conflict checking although the possibility that the SI was re-created by another cluster with a different service type in that window would be remote. 2) Add the cluster name to the aggregated SI cluster status when created on local SI creation. This would’ve prevented C1 from deleting the aggregated SI b/c C2's name would’ve been present in the cluster status. I didn’t do it this way for consistency so the cluster name and port info are added atomically and after the EPS has been successfully exported to ensure it’s ready for use if a consumer observes the cluster info present. But this isn’t a requirement. The consensus is #2. Signed-off-by: Tom Pantelis <[email protected]>
tpantelis
requested review from
aswinsuryan,
Oats87,
skitt,
sridhargaddam and
vthapar
as code owners
March 28, 2024 17:21
🤖 Created branch: z_pr1528/tpantelis/automated-backport-of-#1521-upstream-release-0.17 |
vthapar
approved these changes
Apr 1, 2024
…1521-upstream-release-0.17
dfarrell07
approved these changes
Apr 2, 2024
tpantelis
added a commit
to tpantelis/submariner-website
that referenced
this pull request
Apr 2, 2024
submariner-io/lighthouse#1528 Signed-off-by: Tom Pantelis <[email protected]>
…1521-upstream-release-0.17
🤖 Closed branches: [z_pr1528/tpantelis/automated-backport-of-#1521-upstream-release-0.17] |
dfarrell07
pushed a commit
to submariner-io/submariner-website
that referenced
this pull request
Apr 3, 2024
submariner-io/lighthouse#1528 Signed-off-by: Tom Pantelis <[email protected]>
4 tasks
tpantelis
added a commit
to tpantelis/submariner-website
that referenced
this pull request
Apr 17, 2024
submariner-io/lighthouse#1528 Signed-off-by: Tom Pantelis <[email protected]>
tpantelis
added a commit
to submariner-io/submariner-website
that referenced
this pull request
Apr 18, 2024
submariner-io/lighthouse#1528 Signed-off-by: Tom Pantelis <[email protected]>
tpantelis
deleted the
automated-backport-of-#1521-upstream-release-0.17
branch
August 19, 2024 17:35
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
automated-backport
ready-to-test
When a PR is ready for full E2E testing
release-note-handled
release-note-needed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport of #1521 on release-0.17.
#1521: Add cluster name to aggregated SI status on local SI creation
For details on the backport process, see the backport requests page.