cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Commutnity edition support dbms.lock.acquisition.timeout?

I use the following Neo4j.

  • Version: 3.5.0
  • Edition: community

Does the Commutnity edition support "dbms.lock.acquisition.timeout"?

According to the manual below, the Community edition does not support transaction management and does not allow for lock timeout settings.

OPERATIONS MANUAL > Transaction management

However, when I actually set the timeout setting (20 seconds) in the Community edition, a transaction waiting for a lock timed out in the 20 seconds.

  • neo4j.conf
# grep dbms.lock.acquisition.timeout ./conf/neo4j.conf 
dbms.lock.acquisition.timeout=20s
  • response message
{
    "commit": "http://localhost:7474/db/data/transaction/5/commit",
    "results": [],
    "errors": [
        {
            "code": "Neo.DatabaseError.Statement.ExecutionFailed",
            "message": "The transaction has been terminated. Retry your operation in a new transaction, and you should see a successful result. Unable to acquire lock within configured timeout (dbms.lock.acquisition.timeout). Unable to acquire lock for resource: NODE with id: 13 within 20000 millis.",
0 REPLIES 0
Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

All the sessions of the conference are now available online