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

Produce archival tasks conditionally #3823

Merged
merged 1 commit into from
Jan 24, 2023

Conversation

MichaelSnowden
Copy link
Contributor

What changed?
We now produce archival queue tasks only if archival and the archival queue are enabled.

Why?
Durable archival will soon be on by default, but there's only a point in producing these tasks if archival itself is enabled.

How did you test it?
I wrote several new test cases in the task_generator.

Potential risks
This adds a new check to our task generator, and if there's an NPE at some point, that could break production. However, this will only happen if the archival metadata on the cluster or the namespace is nil.

Is hotfix candidate?
No

@MichaelSnowden MichaelSnowden requested a review from a team as a code owner January 21, 2023 00:52
@MichaelSnowden MichaelSnowden force-pushed the snowden/produce-archival-task-conditionally branch from c3af4ab to b4cb9ad Compare January 24, 2023 19:25
@MichaelSnowden MichaelSnowden force-pushed the snowden/produce-archival-task-conditionally branch from b4cb9ad to d979191 Compare January 24, 2023 19:30
@MichaelSnowden MichaelSnowden merged commit 554b32d into master Jan 24, 2023
@MichaelSnowden MichaelSnowden deleted the snowden/produce-archival-task-conditionally branch January 24, 2023 22:24
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.

2 participants