Skip to content

Commit bd32df6

Browse files
committed
fix: add missing collections to write lock in arangodb transaction.
1 parent b93f2c2 commit bd32df6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/database/foxx/api/schema_router.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,8 +600,8 @@ router
600600

601601
g_db._executeTransaction({
602602
collections: {
603-
read: ["u", "uuid", "accn", "sch_dep", "sch_ver"],
604-
write: ["sch"],
603+
read: ["u", "uuid", "accn"],
604+
write: ["sch", "sch_dep", "sch_ver"],
605605
},
606606
waitForSync: true,
607607
action: function () {

0 commit comments

Comments
 (0)