]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
config: lower default omap entries recovered at once 19928/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 23:28:54 +0000 (15:28 -0800)
commit8b13643b324fe1be39cb45777c11652da2a80c61
tree588b031399aee41c525755c0ba63f5edca3a755a
parent905b73442b8b16a898fcc8168a8ef4da792424bc
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>
(cherry picked from commit 72c2076f2c14778982fb944ffade3f071a727d1a)
src/common/options.cc