Closed
Description
my environment running ArangoDB
I'm using the latest ArangoDB of the respective release series:
- 3.2
Mode:
- Single-Server
Storage-Engine:
- mmfiles
On this operating system:
- [ x Linux
- docker - official docker library
Problem
Assuem I have a collection with these options:
[
'keyOptions' => [
'allowUserKeys' => false,
'type' => 'autoincrement',
'increment' => 1,
'offset' => 1,
],
]
If an error occurs, the auto increment value increases nevertheless. So gaps can be occurred in the sequence, even If I use the transaction feature. Is there a way to prevent gaps in the auto increment value?