You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Local API create with filePath not properly awaited, leads to mongo lock failure #4160
Receiving this error on API creates, adding a sleep on creates with a filePath solves it.
[
17: 15: 55
] ERROR (payload): There was an error while saving a version for the Image with ID 65282888aebd24030d4f8e0a.
[
17: 15: 55
] ERROR (payload): Unable to acquire IX lock on '{
7925038056408952763: Collection,
1007509028767870907, projectname._images_versions
}' within 5ms. opId: 8048590, op: conn16163, connId: 16163.
err: {
"type": "MongoServerError",
"message": "Unable to acquire IX lock on '{7925038056408952763: Collection, 1007509028767870907, projectname._images_versions}' within 5ms. opId: 8048590, op: conn16163, connId: 16163.",
"stack":
MongoServerError: Unable to acquire IX lock on '{
7925038056408952763: Collection,
1007509028767870907, projectname._images_versions
}' within 5ms. opId: 8048590, op: conn16163, connId: 16163.
To Reproduce
Run a local api create with a filePath (perhaps in a loop with many updates of the same record?)
Activity
DanRibbens commentedon Jul 22, 2024
I'm closing this as it has become stale. Tag me if this is still an issue and we can re-open it.
github-actions commentedon Sep 7, 2024
This issue has been automatically locked.
Please open a new issue if this issue persists with any additional detail.