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

Better error message for non-increasing index. #1858

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

IvoDD
Copy link
Collaborator

@IvoDD IvoDD commented Sep 27, 2024

Attempting to write a non-increasing index version is most likely due to parallel writes to the same symbol. We now indicate that in the error message.

Reference Issues/PRs

What does this implement or fix?

Any other comments?

Checklist

Checklist for code changes...
  • Have you updated the relevant docstrings, documentation and copyright notice?
  • Is this contribution tested against all ArcticDB's features?
  • Do all exceptions introduced raise appropriate error messages?
  • Are API changes highlighted in the PR description?
  • Is the PR labelled as enhancement or bug so it appears in autogenerated release notes?

@IvoDD IvoDD marked this pull request as ready for review September 27, 2024 12:25
@IvoDD IvoDD force-pushed the parallel-writes-error-message branch from 9ca644f to 0714c53 Compare October 8, 2024 11:22
poodlewars
poodlewars previously approved these changes Oct 14, 2024
@poodlewars poodlewars dismissed their stale review October 14, 2024 08:23

second thoughts

@poodlewars
Copy link
Collaborator

I don't think we realised that this error would be user facing when we first added it, so it should have a proper user facing error type rather than raising an internal error.

@IvoDD IvoDD force-pushed the parallel-writes-error-message branch 4 times, most recently from 870dfbe to 1e8d10a Compare October 16, 2024 09:35
Attempting to write a non-increasing index version is most likely due to
parallel writes to the same symbol. We now indicate that in the error
message.

Also introduces a new storage error type for parallel writes.
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.

3 participants