]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: request proper log extent for missing
authorSage Weil <sage.weil@dreamhost.com>
Fri, 20 May 2011 16:29:10 +0000 (09:29 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Fri, 20 May 2011 16:29:10 +0000 (09:29 -0700)
commite1830dbd09784b7bddf2ab0657b50e6f293cef13
tree8491356c34d9fdc103527188f82cbeacc6412a05
parentff031ce810d2db94a5d6e20e66b0f973f41a6914
osd: request proper log extent for missing

We can't blinding ask for everything since last_epoch_started because that
may mean we get some fragment of a backlog.  Look at the peer's log
ranges and request the correct thing.  Also, in fulfill_log, infer what
the primary should have asked for if they make a bad request.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/osd/PG.cc