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

archival: Disable housekeeping jobs on startup #18526

Merged
merged 1 commit into from
May 16, 2024

Conversation

Lazin
Copy link
Contributor

@Lazin Lazin commented May 16, 2024

When the archiver is created there is a small window of opportunity for it to run some housekeeping jobs before the manifest is synced. This commit disables the housekeeping jobs in the constructor to avoid this.

Fixes #18482
Fixes #18386
Fixes #18385
Fixes #18384
Fixes #18381
Fixes #18312
Fixes #18254
Fixes #18031
Fixes #17986
Fixes #17916
Fixes #17753
Fixes #17752
Fixes #17510
Fixes #17412
Fixes #17366
Fixes #17364
Fixes #14221
Fixes #13995

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v24.1.x
  • v23.3.x
  • v23.2.x

Release Notes

  • None

When the archiver is created there is a small window of opportunity for
it to run some housekeeping jobs before the manifest is synced. This
commit disables the housekeeping jobs in the contstructor to avoid this.
@Lazin Lazin requested a review from abhijat May 16, 2024 13:43
Copy link
Contributor

@abhijat abhijat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change lgtm but might be good to add a comment to describe why we disable these here and enable later on

@WillemKauf
Copy link
Contributor

Given the proximity to the other failed tests, I wonder if this also fixes #17201 (comment).

@Lazin
Copy link
Contributor Author

Lazin commented May 16, 2024

/ci-repeat 10

@Lazin
Copy link
Contributor Author

Lazin commented May 16, 2024

The change lgtm but might be good to add a comment to describe why we disable these here and enable later on

The description is in the commit message

@Lazin
Copy link
Contributor Author

Lazin commented May 16, 2024

Given the proximity to the other failed tests, I wonder if this also fixes #17201 (comment).

from the first glance it doesn't look related

Copy link
Contributor

@andrwng andrwng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice find

@Lazin Lazin merged commit 232c295 into redpanda-data:dev May 16, 2024
20 checks passed
@vbotbuildovich
Copy link
Collaborator

/backport v24.1.x

@vbotbuildovich
Copy link
Collaborator

/backport v23.3.x

This was referenced May 16, 2024
@vbotbuildovich
Copy link
Collaborator

Oops! Something went wrong.

Workflow run logs.

@vbotbuildovich
Copy link
Collaborator

Oops! Something went wrong.

Workflow run logs.

@Lazin
Copy link
Contributor Author

Lazin commented May 21, 2024

/backport v24.1.x

@Lazin
Copy link
Contributor Author

Lazin commented May 21, 2024

/backport v23.3.x

This was referenced May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment