Neo4j database in state "dirty"?

Howdy!

I recently did a dump of a database in the Neo4j server. After doing so, the database would not come back online. So, I dumped the database and created a new one. However, now the new database won't turn on because of this error:

Database 'myDB' is requested to transition from FAILED/DIRTY{db=myDB/a0aa460d}

Any ideas?

Hi @jacobhmarquez,

did you do the dump when the existing db was on the state dirty? Or it could have happened that one transaction was not successful during the time that you were performing the dump that caused that.

Actually when the dump is creating a db in a state dirty, it is not possible to set the db to a clean state again. The only option is for you to perform a rollback (with the VM) to the previous clean version or try to load the data again.

@jacobhmarquez

is there any detail relative to Neo4j version?
did you dump the database from version X and then load into version Y?

The dump happened on the latest version - 5.3? - of Neo4j. I didn't actually load the dump file into the database. I just dumped then tried to turn the DB back on.

I'm not sure if the DB was in a dirty state or not. There wasn't an issue with it until I performed the data dump.

The rollback of the VM is interesting - I'll need to look into that if it happens again.

@jacobhmarquez

FWIW 5.3 is somewhat old, as it was released December 2022 Neo4j 5 - Graph Database & Analytics, and that our latest 5.x is 5.12

That's the version I'm using. I installed the server less than a month ago. :slight_smile: