]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Fix bugs in search_for_missing, _process_pg_info
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Sun, 14 Nov 2010 21:54:55 +0000 (13:54 -0800)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Mon, 15 Nov 2010 20:15:15 +0000 (12:15 -0800)
commit796ff1d178fdb108415a629fd29d6b7ddc160f99
treeb55a1ec88fee7e00dd1f0229c286b48d58383c30
parente768bbdf92c3e2135ad14acc2858f897a767f578
Fix bugs in search_for_missing, _process_pg_info

PG::search_for_missing: fix a bug with the handling of MSG_OSD_PG_INFO
messages. Formerly, when processing these messages, we erroneously
assumed that there was nothing missing on the peer at all even in cases
where there were missing objects.

PG::merge_log: drop unused Missing parameter.

_process_pg_info: Don't assume that just because we requested a Log
message at some point, that that is the message we're prcessing.
Correctly handle cases where we didn't get the peer's Missing set or
Log.

Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
src/osd/OSD.cc
src/osd/OSD.h
src/osd/PG.cc
src/osd/PG.h