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(reserve): force overwrite index on collion #4559

Merged
merged 2 commits into from
Jan 30, 2024
Merged

Conversation

istae
Copy link
Member

@istae istae commented Jan 25, 2024

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

The reserve will now overwrite the index in the case of a collision regardless of the batch is immutable or not.
Because collision overwrite is permitted for all batch types, saving the incremented stamp indexes should be delayed until after a successful upload.

Open API Spec Version Changes (if applicable)

Motivation and Context (Optional)

Related Issue (Optional)

Screenshots (if appropriate):

@istae istae marked this pull request as ready for review January 25, 2024 14:13
@istae istae merged commit 36855af into master Jan 30, 2024
12 checks passed
@istae istae deleted the overwrite-index branch January 30, 2024 12:36
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

3 participants