diff options
author | sdong <siying.d@fb.com> | 2015-12-23 13:49:53 -0800 |
---|---|---|
committer | sdong <siying.d@fb.com> | 2015-12-23 14:51:55 -0800 |
commit | 15b89022641c01d4b8f8a5478bec2fcbf8077cc7 (patch) | |
tree | 6577c50974a22af84560e9a158103d16f884ba7a /util | |
parent | b9f77ba12b35f9027bb17c5ad2c6876036ece6d5 (diff) |
Change default options.delayed_write_rate
Summary: We now have a mechanism to further slowdown writes. Double default options.delayed_write_rate to try to keep the default behavior closer to it used to be.
Test Plan: Run all tests.
Reviewers: IslamAbdelRahman
Reviewed By: IslamAbdelRahman
Subscribers: yhchiang, kradhakrishnan, rven, leveldb, dhruba
Differential Revision: https://reviews.facebook.net/D52281
Diffstat (limited to 'util')
-rw-r--r-- | util/options.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/options.cc b/util/options.cc index ad7dd9adc..09ae10360 100644 --- a/util/options.cc +++ b/util/options.cc @@ -261,7 +261,7 @@ DBOptions::DBOptions() wal_bytes_per_sync(0), listeners(), enable_thread_tracking(false), - delayed_write_rate(1024U * 1024U), + delayed_write_rate(2 * 1024U * 1024U), skip_stats_update_on_db_open(false), wal_recovery_mode(WALRecoveryMode::kTolerateCorruptedTailRecords), row_cache(nullptr), |