arcadedb: Concurrent modification error on the same bucket (@v25.3.2)
When on load, the arcadedb http api occasionally response with 503
{"error":"Cannot execute command","detail":"Concurrent modification on page PageId(pigeon/82/22) in file \u0027message_0.82.65536.v0.bucket\u0027 (current v.201 \u003c\u003e database v.202). Please retry the operation (threadId\u003d28)","exception":"com.arcadedb.exception.ConcurrentModificationException"}
I guessing this may be due the backplane engine “nature”, the both insert requests ended in the same page (bad luck)…
Questions :
- Can Insert have a retry mechanism (as in batch operations)? (feature request, perhaps)
- Can this have a specific “error” message so that client can differentiate the kind/cause of the error and retry. (which looks like the only way resolvable)
- am I totally mistaken, it’s my fault or bug.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 19 (6 by maintainers)
Commits related to this issue
- fix: support for remote tx retry on the server side About issue #2236 — committed to ArcadeData/arcadedb by lvca a year ago
- fix: support for remote tx retry on the server side (#2254) * fix: support for remote tx retry on the server side About issue #2236 * Fixed empty payload * fix: json parsing as payload — committed to ArcadeData/arcadedb by lvca a year ago
- #2236 feat: add server-side retry configuration for remote database operations — committed to ArcadeData/arcadedb by robfrank a year ago
- #2236 feat: add server-side retry configuration for remote database commands (#2255) — committed to ArcadeData/arcadedb by robfrank a year ago
- fix: support for remote tx retry on the server side (#2254) * fix: support for remote tx retry on the server side About issue #2236 * Fixed empty payload * fix: json parsing as payload (cherry pi... — committed to ArcadeData/arcadedb by lvca a year ago
- #2236 feat: add server-side retry configuration for remote database commands (#2255) (cherry picked from commit d094e57bf660aaa24dbcb4c77a3d68902eb95019) — committed to ArcadeData/arcadedb by robfrank a year ago
No problem so far… 👍 Give another few days as the load happens momentarly thorugh the day. But i am confident it will work as the root cause was simple and clear and the solution is to the point… You can close this issue affter 72h i guess.
Closing the issue, in the case you still have problem, please comment this for reopening.