Skip to content

Fix unique key generation [BTS-2209] #21913

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

Open
wants to merge 9 commits into
base: devel
Choose a base branch
from

Conversation

neunhoef
Copy link
Member

@neunhoef neunhoef commented Aug 18, 2025

This addresses https://arangodb.atlassian.net/browse/BTS-2209

The problem arises if there is an AQL INSERT statement in a loop
for a collection which has either exactly one shard or it has
multiple shards and the option forceOneShardAttributeValue is
used for the case that no user-specified _key is given.

Design doc: https://github.com/arangodb/documents/blob/master/DesignDocuments/03_IN_PROGRESS/DuplicateIdsFix.md

Scope & Purpose

  • [*] 💩 Bugfix
  • [*] 🍕 New feature

Checklist

  • [*] Tests
    • [*] Regression tests
    • [*] integration tests
  • [*] 📖 CHANGELOG entry made
  • Backports
    • Backport for 3.12.5:

@neunhoef neunhoef added this to the devel milestone Aug 18, 2025
@neunhoef neunhoef self-assigned this Aug 18, 2025
@cla-bot cla-bot bot added the cla-signed label Aug 18, 2025
@neunhoef neunhoef marked this pull request as ready for review August 19, 2025 13:21
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.

1 participant