Skip to content

Conversation

phoebusm
Copy link
Collaborator

@phoebusm phoebusm commented Sep 18, 2025

Reference Issues/PRs

https://man312219.monday.com/boards/7852509418/pulses/9903341116

What does this implement or fix?

Existing code incorrectly assumes when the symbol being upsert is not live, it has never existed. So the version being upserted has always been set to 0.
But the symbol could exist but deleted at that moment. So the version being upserted has always been set to 0. If so, this will bust the version chain.

This PR also fixes exception thrown in writing version keys being swallowed

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?

@phoebusm phoebusm added the patch Small change, should increase patch version label Sep 18, 2025
@phoebusm phoebusm force-pushed the fix/batch_append_update_bust_version_chain branch 2 times, most recently from 7799f08 to 9b6a9f8 Compare September 19, 2025 12:09
@phoebusm phoebusm force-pushed the fix/batch_append_update_bust_version_chain branch from 9b6a9f8 to 47b3f2e Compare September 26, 2025 11:52
@phoebusm phoebusm force-pushed the fix/batch_append_update_bust_version_chain branch from 33e3908 to f5a1f20 Compare September 29, 2025 11:13
@phoebusm
Copy link
Collaborator Author

peakmem_resample asv test fails but the test doesn't cover any batch_* operations which are impacted by this PR.
So it can be concluded that the failure is a noise/flak

@phoebusm phoebusm force-pushed the fix/batch_append_update_bust_version_chain branch from f7b8dcb to f5a1f20 Compare September 30, 2025 10:34
@phoebusm phoebusm merged commit 7210ae0 into master Sep 30, 2025
282 of 287 checks passed
@phoebusm phoebusm deleted the fix/batch_append_update_bust_version_chain branch September 30, 2025 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Small change, should increase patch version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants