Skip to content

Commit

Permalink
[#3666] Set default manifest preallocation to 64k
Browse files Browse the repository at this point in the history
Summary: Set default manifest preallocation to 64k instead of 4M

Test Plan: eyeball

Reviewers: kannan, bogdan

Reviewed By: bogdan

Subscribers: ybase

Differential Revision: https://phabricator.dev.yugabyte.com/D8086
  • Loading branch information
amitanandaiyer committed Mar 5, 2020
1 parent 767a251 commit 50aaf8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/yb/rocksdb/util/options.cc
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ DBOptions::DBOptions()
table_cache_numshardbits(4),
WAL_ttl_seconds(0),
WAL_size_limit_MB(0),
manifest_preallocation_size(4 * 1024 * 1024),
manifest_preallocation_size(64 * 1024),
allow_os_buffer(true),
allow_mmap_reads(false),
allow_mmap_writes(false),
Expand Down

0 comments on commit 50aaf8d

Please sign in to comment.