- neo4j version, 4.4.18
i am running 3 neo4j instances as a cluster
after intentionally make one neo4j instance disk full, it is quarantined,
- make one nj instance disk full using fallocate
nj-2:/data> fallocate -l 200G gentoo_root.img
fallocate: fallocate failed: No space left on device
- the instance is now quarantined
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| name | aliases | access | address | role | requestedStatus | currentStatus | error | default | home |
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| "graph.db" | [] | "read-write" | "nj-2.xxxx.7687" | "unknown" | "online" | "quarantined" | "Quarantine marker file ('/data/databases/graph.db/quarantine_marker') cannot be written for database DatabaseId{62a99502[graph.db]}" | TRUE | TRUE |
| "graph.db" | [] | "read-write" | "nj-0.xxx:7687" | "follower" | "online" | "online" | "" | TRUE | TRUE |
| "graph.db" | [] | "read-write" | "nj-1.xxxx:7687" | "leader" | "online" | "online" | "" | TRUE | TRUE |
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- i removed the gentoo_root.img file from the instance,
- i am using dbms.quarantineDatabase to recover the node, it does not work, it says the instance is 'Not quarantined previously'
neo4j@system> CALL dbms.quarantineDatabase("graph.db",false);
+-----------------------------------------------------------+
| databaseName | quarantined | result |
+-----------------------------------------------------------+
| "graph.db" | FALSE | "Not quarantined previously" |
+-----------------------------------------------------------+
still
------------------------------------------------------------------------------------------+
| "graph.db" | [] | "read-write" | "nj-2.xxxx:7687" | "unknown" | "online" | "quarantined" | "Quarantine marker file ('/data/databases/graph.db/quarantine_marker') cannot be written for database DatabaseId{62a99502[graph.db]}" | TRUE | TRUE |
i need to delete pvc to restart the instance again to recover it...