Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Do
-
None
-
None
-
None
-
apollo-99-trunk-20130202.135855-180
Description
Due to other bugs (mainly APLO-257 but not only), we sometimes have to kill Apollo the hard way as it would not stop gracefully.
This almost always leaves the LevelDB store corrupted. When (re)starting, we see messages like:
2013-02-03 12:47:13,099 | WARN | DB operation failed. (entering recovery mode): org.iq80.leveldb.DBException: IO error: /var/lib/apollo/data/dirty.index/001869.sst: No such file or directory | 13c9fe18242
(see also APLO-282)
At this point Apollo hangs. The only solution is to kill it once more and completely destroy the message store, loosing all messages
Could Apollo try to recover at least some messages in these situations instead of hanging during startup?