]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
config: lower default omap entries recovered at once 19910/head
authorJosh Durgin <jdurgin@redhat.com>
Thu, 11 Jan 2018 02:39:28 +0000 (21:39 -0500)
committerJosh Durgin <jdurgin@redhat.com>
Thu, 11 Jan 2018 02:47:15 +0000 (21:47 -0500)
commit72c2076f2c14778982fb944ffade3f071a727d1a
tree944625b2ced57aa7432beb2e27b2bc1ffb0792ab
parent2bb1492a4a7696750e9a2fb95405c8604885bba2
config: lower default omap entries recovered at once

For large omap DBs, reading 64k leads to heartbeat timeouts.  There
are numerous callchains leading to this recovery step, many of which
do not have heartbeat handles, so for an easily backported version
just change the default number of entries read. DBs approaching 100GB
may require an even lower setting, but this should be good enough for
most clusters, without sacrificing recovery speed.

Fixes: http://tracker.ceph.com/issues/21897
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
src/common/options.cc