From 72c2076f2c14778982fb944ffade3f071a727d1a 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 --- 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 e7d767bb9eaa..fbd61838dee2 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -2594,7 +2594,7 @@ std::vector