Skip to content

Upload global marker before local #4949

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

Merged
merged 1 commit into from
Nov 4, 2022

Conversation

danielblando
Copy link
Contributor

@danielblando danielblando commented Nov 2, 2022

Signed-off-by: Daniel Deluiggi [email protected]

What this PR does:
Change order Cortex upload markers to storage. In some situations, if the second call fails blocks can be left without being delete. This try to avoid it by always updating the global marker first

Which issue(s) this PR fixes:
Fixes #4872

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Signed-off-by: Daniel Deluiggi <[email protected]>
Copy link
Contributor

@yeya24 yeya24 left a comment

Choose a reason for hiding this comment

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

Thanks! This looks good!

@danielblando danielblando marked this pull request as ready for review November 4, 2022 22:07
@alvinlin123 alvinlin123 merged commit 7c798bc into cortexproject:master Nov 4, 2022
@danielblando danielblando deleted the global-marker branch November 4, 2022 22:18
t00350320 pushed a commit to t00350320/cortex that referenced this pull request Nov 15, 2022
Signed-off-by: Daniel Deluiggi <[email protected]>

Signed-off-by: Daniel Deluiggi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Global marker missing for block deletion
4 participants