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

[v23.2.x] cloud_storage: hold gate in hydration #16282

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

andrwng
Copy link
Contributor

@andrwng andrwng commented Jan 24, 2024

Most places were already holding the gate external to calls of hydrate() with the exception of aborted_transactions(). This commit fixes this by:

  • holding the gate during aborted_transactions()
  • making hydrate() hold the gate for the duration of its future

(cherry picked from commit 0aefe35)

Fixes #15708

Backports Required

  • none
  • 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
  • v23.3.x
  • v23.2.x
  • v23.1.x

Release Notes

  • none

Most places were already holding the gate external to calls of
hydrate() with the exception of aborted_transactions(). This commit
fixes this by:
- holding the gate during aborted_transactions()
- making hydrate() hold the gate for the duration of its future

(cherry picked from commit 0aefe35)
Copy link

mergify bot commented Jan 24, 2024

⚠️ The sha of the head commit of this PR conflicts with #16264. Mergify cannot evaluate rules on this PR. ⚠️

@andrwng andrwng merged commit 86d8d9e into redpanda-data:v23.2.x Jan 25, 2024
39 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants