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 event reapply if all exclude options are set #6604

Open
wants to merge 1 commit into
base: cg/reset_event_reapply_nexus
Choose a base branch
from

Conversation

gow
Copy link
Contributor

@gow gow commented Oct 4, 2024

What changed?

If all exclude types (enumspb.ResetReapplyExcludeType) are specified then we completely bypass event re-application.

(This is dependent on #6598)

Why?

It is sometimes necessary to prevent the workflow resetter from reading subsequent history events past the reset point (ex: data beyond reset point is corrupted). So in such cases the operator can specify all exclude types and the workflow resetter will not attempt to read data beyond reset point.

How did you test it?

Added new 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 18:59
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