From: Sage Weil Date: Fri, 9 Feb 2018 22:36:35 +0000 (-0600) Subject: osd: min_pg_log_entries == max == pg_log_dups_tracked X-Git-Tag: v13.0.2~149^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2199b9a264640bfc1771dfc450052bfaf58541d4;p=ceph.git osd: min_pg_log_entries == max == pg_log_dups_tracked - avoid a memory utilization explosion when a pg is degraded - avoid overhead of converting pg log entries to dup op entries. The net of this is that during recovery we will keep fewer entries, which means we will trigger backfill sooner rather than later. In the future, it would still be nice to dynamically adjust this in such a way as to avoid increasing the memory footprint (e.g., by borrowing memory from BlueStore). Signed-off-by: Sage Weil --- diff --git a/src/common/options.cc b/src/common/options.cc index fd213b483bf3..81a8f2f2d87f 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -2837,14 +2837,14 @@ std::vector