neo4j-contrib / neo4j-apoc-procedures

Awesome Procedures On Cypher for Neo4j - codenamed "apoc"                     If you like it, please ★ above ⇧            
https://neo4j.com/labs/apoc
Apache License 2.0
1.72k stars 493 forks source link

apoc.monitor.store fails for block stores #4197

Open ikwattro opened 2 months ago

ikwattro commented 2 months ago

The following procedure call : CALL apoc.monitor.store() fails when database stores are in block format.

Expected Behavior (Mandatory)

The procedure should return store statistics

Actual Behavior (Mandatory)

Failed to invoke procedure `apoc.monitor.store`: Caused by: java.lang.IllegalArgumentException: PlainDatabaseLayout{databaseDirectory=/Users/cwillemsen/dev/_graphs/xxxx/data/databases/neo4j, transactionLogsDirectory=/Users/cwillemsen/dev/_graphs/xxx/data/transactions/neo4j} does not describe a record storage database.

How to Reproduce the Problem

  1. Run Neo4j 5.23
  2. Execute the following query in the browser : CALL apoc.monitor.store()

Versions