Skip to content

Conversation

neunhoef
Copy link
Member

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

THis is the backport for 3.12.5.

Original PR: #21913

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: this is it

@neunhoef neunhoef added this to the 3.12.5 milestone Aug 26, 2025
@neunhoef neunhoef self-assigned this Aug 26, 2025
@cla-bot cla-bot bot added the cla-signed label Aug 26, 2025
Copy link
Contributor

@markuspf markuspf left a comment

Choose a reason for hiding this comment

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

LGTM

@KVS85 KVS85 modified the milestones: 3.12.5, 3.12.5.3 Sep 4, 2025
@KVS85 KVS85 merged commit 7c34e39 into 3.12.5 Sep 4, 2025
7 checks passed
@KVS85 KVS85 deleted the bug-fix-3.12.5/unique-ids-oneshard branch September 4, 2025 11:52
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