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

fix: overwrite existing stampindex if they have the same timestamp #4468

Merged
merged 1 commit into from
Nov 22, 2023

Conversation

acha-bill
Copy link
Contributor

@acha-bill acha-bill commented Nov 21, 2023

Checklist

  • I have read the coding guide.
  • My change requires a documentation update, and I have done it.
  • I have added tests to cover my changes.
  • I have filled out the description and linked the related issues.

Description

Return errOverwriteOfNewerBatch only when the timestamp of the existing stamp index is actually newer (strictly greater) than that of the chunk to store

Open API Spec Version Changes (if applicable)

Motivation and Context (Optional)

Related Issue (Optional)

Closes #4460

Screenshots (if appropriate):

Copy link
Contributor

@mrekucci mrekucci left a comment

Choose a reason for hiding this comment

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

Would be nice to also have a test for this.

@acha-bill acha-bill merged commit aa2746c into master Nov 22, 2023
13 checks passed
@acha-bill acha-bill deleted the fix-err-overwrite-new-batch branch November 22, 2023 11:20
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.

Canceling uploads seems lead to not being able to upload again
3 participants