ever-been / everBeen

EverBEEN is a generic benchmarking environment focused on platform-independent middleware benchmarking.
www.everbeen.cz
GNU Lesser General Public License v3.0
7 stars 3 forks source link

Backup map used by MapStore is not periodically flushed #202

Closed donarus closed 11 years ago

donarus commented 11 years ago

how to repeat

  1. start cluster
  2. start benchmark
  3. 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.
  4. Benchmark finishes
  5. Mongo starts again
  6. 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!