]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
kv/RocksDBStore: Set size for WALs in sharding mode. 35277/head
authorAdam Kupczyk <akupczyk@redhat.com>
Wed, 27 May 2020 14:16:46 +0000 (16:16 +0200)
committerAdam Kupczyk <akupczyk@redhat.com>
Fri, 29 May 2020 10:55:54 +0000 (12:55 +0200)
commit2c4e4dcd6d845320a6d065c7aa1dc0100eefb893
tree85df32c84aa885392a8d437ebc0e5ced86e64a59
parentd4cb533b311abb94db657ce076ad2b1c16708830
kv/RocksDBStore: Set size for WALs in sharding mode.

This fixes problem in case when sharding is turned on ('bluestore_rocksdb_cf=true').
Default value (0) caused rocksdb to set maximum of 16GB for WALs.
Now this is 1GB by setting max_total_wal_size.

Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
src/common/options.cc