I have an application that writes to my neo4j database. Immediately after this write, another application performs a query and expects the previously written item as the result.
This doesn't happen, I don't get any result from my query.
Introducing a 100ms artificial delay between the write and the query yields the expected result, but that's not feasible.
I'm writing in TypeScript using neo4j-driver. I'm await
ing every promise the API's throwing at me. I even promisified the session.close
function and I await
that too (not sure if that does anything).
Is there a cache on neo4j's side that could be at fault? Can I somehow flush it?