From 8b13643b324fe1be39cb45777c11652da2a80c61 Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Wed, 10 Jan 2018 21:39:28 -0500 Subject: [PATCH] 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 (cherry picked from commit 72c2076f2c14778982fb944ffade3f071a727d1a) --- src/common/options.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/options.cc b/src/common/options.cc index 33f92052588..2b75f7c434b 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -2409,7 +2409,7 @@ std::vector