From 5a38e18627d42bd79fedd7a7e0180799397d8469 Mon Sep 17 00:00:00 2001 From: Sagar Vemuri Date: Mon, 9 Oct 2017 16:18:40 -0700 Subject: [PATCH] Make some WriteOptions defaults more explicit Summary: Some WriteOptions defaults were not clearly documented. So, added comments to make the defaults more explicit. Closes https://github.com/facebook/rocksdb/pull/2984 Differential Revision: D6014500 Pulled By: sagar0 fbshipit-source-id: a28078818e335e42b303c1fc6fbfec692ed16c7c --- include/rocksdb/options.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/rocksdb/options.h b/include/rocksdb/options.h index 635a932f8..6c4e906ab 100644 --- a/include/rocksdb/options.h +++ b/include/rocksdb/options.h @@ -1089,6 +1089,7 @@ struct WriteOptions { // If true, writes will not first go to the write ahead log, // and the write may got lost after a crash. + // Default: false bool disableWAL; // If true and if user is trying to write to column families that don't exist @@ -1099,6 +1100,7 @@ struct WriteOptions { // If true and we need to wait or sleep for the write request, fails // immediately with Status::Incomplete(). + // Default: false bool no_slowdown; // If true, this write request is of lower priority if compaction is