I noticed these are just warnings, but I had some errors for CDC in the debug.log and I think the warnings are somehow related to CDC failing with this error:
2024-07-24 00:19:01.643+0000 ERROR [c.n.c.CDCService] [db/0a214b04] Unable to create the log scanner for CDC
The error appears to suggest some IOException when reading the txn logs? Are the txn logs present and with expected read/write permissions etc.
Anything unusual about the files in data/transactions/db/
But also it appears the database name in question is db and but 2 characters. But yet
@neo4j> create database db;
Could not create database 'db'. The provided database name must have a length between 3 and 63 characters.
@neo4j>
I have shortened the database name in the logs for the sake of brevity - that's why it is only two characters long. The actual database name is fashionbeauty19qnngn
Here's the full log:
The txn files are readable-writable by user 7474 which should be the Neo4j user from Docker:
ah... thanks for this detail that that database name of db was not its real name. I regrettably went down a path trying to see if i could get a 2 character database name and maybe somehow this triggered the failure.
Was anything else changed?
Has CDC ever workded on db/ fashionbeauty19qnngn?
Is this db / fashionbeauty19qnngn the results of a backup/restore or dump/load ?
My assumption is the following:
I executed a big transactions with lots of changes that took some time to execute. I think the checkpoint to prune the txn log files every 15 minutes somehow interfered with the running transaction, maybe even corrupting the files.
Meanwhile, I added the JVM parameters and increased the allowed log size and duration. It is currently running without issues, so maybe it was related to either the txn log file size or these arguments.