summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan Pasette <dan@10mongodb.com>2014-12-12 14:34:11 -0500
committerDan Pasette <dan@mongodb.com>2014-12-12 14:51:00 -0500
commitde3b0d465b342e3a5cef629b46f3cf00b742bfd9 (patch)
treee76370bfccaf3d9177c3f96d4e7a158d77779092 /src
parent625a098b71e7217bad59ad483fa32d4abcc66436 (diff)
downloadmongo-de3b0d465b342e3a5cef629b46f3cf00b742bfd9.tar.gz
SERVER-16532 enable transaction log compression for WiredTiger
Diffstat (limited to 'src')
-rw-r--r--src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp b/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp
index 604502d09db..66e879eca8f 100644
--- a/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp
+++ b/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp
@@ -140,7 +140,7 @@ namespace mongo {
ss << "extensions=[local=(entry=index_collator_extension)],";
ss << "statistics=(all),";
if ( _durable ) {
- ss << "log=(enabled=true,archive=true,path=journal),";
+ ss << "log=(enabled=true,archive=true,path=journal,compressor=snappy),";
}
ss << "checkpoint=(wait=60,log_size=2GB),";
ss << extraOpenOptions;