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

Ensure event ordering in the resource syncer #953

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

tpantelis
Copy link
Contributor

If a resource is deleted and then quickly re-created, depending on timing, the delete event might not get processed so consumers only observe the re-creation event which is not desirable in some cases. To ensure events are not missed and are processed in order, a per-resource queue was added to mantain create and delete operations in place of the separate created and deleted maps.

@submariner-bot
Copy link
Contributor

🤖 Created branch: z_pr953/tpantelis/syncer_event_ordering

If a resource is deleted and then quickly re-created, depending
on timing, the delete event might not get processed so consumers
only observe the re-creation event which is not desirable in some
cases. To ensure events are not missed and are processed in order,
a per-resource queue was added to mantain create and delete operations
in place of the separate created and deleted maps.

Signed-off-by: Tom Pantelis <[email protected]>
@tpantelis tpantelis merged commit 11bb4f8 into submariner-io:devel Jul 18, 2024
16 checks passed
@submariner-bot
Copy link
Contributor

🤖 Closed branches: [z_pr953/tpantelis/syncer_event_ordering]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants