arangodb / arangojs

The official ArangoDB JavaScript driver.
https://arangodb.github.io/arangojs
Apache License 2.0
601 stars 107 forks source link

Precondition failed with errorNum 1200, code 412, message: "conflict" #685

Closed szapo closed 3 years ago

szapo commented 4 years ago

Hello, When executing a collection update with option { ignoreRevs: false }, the update will fail with errorNum 1200, code 412 and message: conflict.

The document in collection and the partial document that try to update has the same _rev. If I set { ignoreRevs: true } everything works okay.

I am running ArangoDB 3.7.2 in a docker container and because it is for development ArangoDB it is run as a single server instance. I am using ArangoJS 7.0.1

szapo commented 4 years ago

Hi, I forgot to mention that ArangoDB that I run is using ARANGO_STORAGE_ENGINE: "rocksdb".

pluma commented 4 years ago

This looks like an ArangoDB question rather than a question about the arangojs driver itself. Please try asking your question in the ArangoDB Community Slack: https://slack.arangodb.com

pluma commented 3 years ago

I'm closing this due to inactivity. Since this is not an arangojs-specific question, feel free to ask your question in the ArangoDB Community Slack or open an issue with the main arangodb repository if you think this might be a bug in ArangoDB.