]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: prevent pgs from getting too far ahead of the min pg epoch
authorSage Weil <sage@inktank.com>
Fri, 2 May 2014 00:24:48 +0000 (17:24 -0700)
committerSage Weil <sage@inktank.com>
Fri, 2 May 2014 00:25:00 +0000 (17:25 -0700)
commitcf25bdf6b0090379903981fe8cee5ea75efd7ba0
treea4795fee9a258fa9e22f40b56fbaf5918dd2f77a
parent81e4c47722255ac3d46f701a80e104cc390e766c
osd: prevent pgs from getting too far ahead of the min pg epoch

Bound the range of PG epochs between the slowest and fastest pg
(epoch-wise) with 'osd map max advance'.  This value should be set to
something less than 'osd map cache size' so that the maps we are
processing will be in memory as many PGs advance forward in time in
loose synchrony.

This is part of the solution to #7576.

Signed-off-by: Sage Weil <sage@inktank.com>
src/common/config_opts.h
src/osd/OSD.cc
src/osd/OSD.h