From 30af679e6020e0354e73133e3005fd1e6682e220 Mon Sep 17 00:00:00 2001 From: Michael Cahill Date: Wed, 9 Jul 2014 10:03:15 +1000 Subject: The RocksDB Flush operation should only apply to a single table. Fix it, and turn on periodic checkpoints by default so that log files can still be archived. --- api/leveldb/leveldb_wt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/leveldb/leveldb_wt.h') diff --git a/api/leveldb/leveldb_wt.h b/api/leveldb/leveldb_wt.h index 54a98a8cb9c..07036d51b7a 100644 --- a/api/leveldb/leveldb_wt.h +++ b/api/leveldb/leveldb_wt.h @@ -45,7 +45,7 @@ #include "wiredtiger.h" #define WT_URI "table:data" -#define WT_CONN_CONFIG "log=(enabled),checkpoint_sync=false," \ +#define WT_CONN_CONFIG "log=(enabled),checkpoint=(wait=180),checkpoint_sync=false," \ "session_max=8192,mmap=false,eviction_workers=4," \ "transaction_sync=(enabled=true,method=none)," // Note: LSM doesn't split, build full pages from the start -- cgit v1.2.1