in the middle of the benchmark execution, shutdown mongo. Now, every call of store method on MongoMapstore can't persist item to mongo, so it will add this item to backup map.
Benchmark finishes
Mongo starts again
CLuster is stopped
..
The problem is that items are flushed only in the body of the store and if this method was before cluster shutdown never called after (5), backup map has not been flushed and is in inconsistent state!!!
We have to add some periodic flusher.
We have to implement some flusher which will cover this issue!
how to repeat
The problem is that items are flushed only in the body of the store and if this method was before cluster shutdown never called after (5), backup map has not been flushed and is in inconsistent state!!!
We have to add some periodic flusher.
We have to implement some flusher which will cover this issue!