Permalink
Browse files

use WAL for RocksDB when periodic_commit enabled

  • Loading branch information...
mdcallag committed May 29, 2015
1 parent 2bcbd44 commit 871e6354505075e81a6ae410ae895cc394dfeabd
Showing with 3 additions and 1 deletion.
  1. +3 −1 bench/couch_bench.cc
View
@@ -1540,7 +1540,9 @@ void do_bench(struct bench_info *binfo)
couchstore_set_sync(db[i], 0);
}
#endif
- couchstore_set_wal(db[i], 0);
+ if (!binfo->pop_commit) {
+ couchstore_set_wal(db[i], 0);
+ }
}
stopwatch_start(&sw);

0 comments on commit 871e635

Please sign in to comment.