1

I'm using the javascript neo4j-driver and sometimes I'm facing this error :

Neo4jError: ForsetiClient[3] can't acquire ExclusiveLock{owner=ForsetiClient[0]} on INDEX_ENTRY(5454851920060587002), because holders of that lock are waiting for ForsetiClient[3].\n Wait list:ExclusiveLock[\nClient[0] waits for [3]]

how can i handle that using javascript and thank you !

Yacine
  • 209
  • 1
  • 12
  • 1
    I believe that's a server-side issue, maybe caused by some of your queries. Do you run queries in parallel that affect the same nodes and/or relationships? – fbiville Aug 04 '21 at 09:31
  • yes that's it ! – Yacine Aug 04 '21 at 10:12
  • So you'll need some kind of coordination. If you can afford it, do not run these queries in parallel. Any transaction on particular nodes and relationships will set a lock on them, so other transactions have to wait. – fbiville Aug 04 '21 at 12:51

0 Answers0