We have a cluster of 3 servers (normal config, leader is read/write, 2 followers are read).
We're having an issue of WRITE queries not completing, they're eventually returning an OOM exception.
The cypher (with labels and props obsfucated):
UNWIND ["01", "02", "03", "04", "05", "06", "07", "08", "09"] as pnum
MATCH (:Thing {thingUniqueNumber:pnum})-[r:REL_TO_DELETE]->()
RETURN pnum, r
returns in 13ms with 27 results.
Replacing the RETURN with DELETE r
carries on for hours till a log message is reported with oom (I'll update with the actual message if I can).
Possibly related, one of our followers wasn't picking up the heartbeat and getting replicated transactions from the leader after being restarted earlier in the week. The cluster_state folder was cleared as the recommended solution for that.
Thanks for any help!
-Mike French