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.1.x] topic_recovery_service: coro -> continuation for collect_manifest_paths #11732

Closed
wants to merge 1 commit into from

Conversation

andijcr
Copy link
Contributor

@andijcr andijcr commented Jun 27, 2023

arm64 + clang-14 causes a miscompilation of this coroutine (evidence: prefix should be in the form "[0-f]0000000" but it can appear in tests as 0000000.

This commit translates the coroutine code into a chain of futures.

The return type is also simplified since the error result was never set

Fixes #10842

partial backport of e37eabd and backport of 3adac73

Backport of PR #10853

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

Release Notes

  • none

@andijcr andijcr changed the title topic_recovery_service: coro -> continuation for collect_manifest_paths [v23.1.x] topic_recovery_service: coro -> continuation for collect_manifest_paths Jun 27, 2023
arm64 + clang-14 causes a miscompilation of this coroutine (evidence:
prefix should be in the form "[0-f]0000000" but it can appear in tests
as 0000000.

this commit translate the coroutine code into a chain of futures.

return type is also simplified, since the error result was never set

partial backport of e37eabd
and backport of 3adac73
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.

1 participant