ArcadeDB Version: both v23.1.2 and v23.2.1
Using Cypher
Sometimes, the database gets into a bricked state where you can't run certain types of queries / queries over certain pieces of data. For example, running a MATCH all works, but running a MATCH (n) DETACH DELETE n doesn't. You get an error "Bucket with id '-1' was not found" in v23.1.2 and "Bucket with id '-4' was not found" in the latest version. You have to drop that database and re-create it.
The only way I can reproduce this is:
- Run a big query X in session A
- After query finishes, immediately open another small query Y in session B
My guess would be that somehow, the data from query X is still being saved to disk or something but then query Y sort of has a race-condition with it. If you repeat the same steps, but wait 5 seconds between step 1 and step 2, it never happens.
ArcadeDB Version: both v23.1.2 and v23.2.1
Using Cypher
Sometimes, the database gets into a bricked state where you can't run certain types of queries / queries over certain pieces of data. For example, running a MATCH all works, but running a
MATCH (n) DETACH DELETE ndoesn't. You get an error "Bucket with id '-1' was not found" in v23.1.2 and "Bucket with id '-4' was not found" in the latest version. You have to drop that database and re-create it.The only way I can reproduce this is:
My guess would be that somehow, the data from query X is still being saved to disk or something but then query Y sort of has a race-condition with it. If you repeat the same steps, but wait 5 seconds between step 1 and step 2, it never happens.