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

Skip nexus events from reapplication when excluded #6598

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

gow
Copy link
Contributor

@gow gow commented Oct 4, 2024

What changed?

When nexus events are explicitly excluded we skip them from reapplication.

Why?

We want an option to completely exclude reapplication of all events past reset point. Currently certain HSM events (nexus events) are always applied without having an option to opt out. So we added a new option enumspb.RESET_REAPPLY_EXCLUDE_TYPE_NEXUS to the list of excludable events. This change makes it possible to exclude nexus events from being reapplied.

In a followup PR I will add option to completely skip reapplyEvents() if all the events are excluded.

How did you test it?

Added unit tests

Potential risks

N/A

Documentation

N/A

Is hotfix candidate?

No

@gow gow requested a review from a team as a code owner October 4, 2024 02:45
@gow gow requested review from bergundy and alexshtin October 4, 2024 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant