]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PrimaryLogPG: update missing_loc on peer recover
authorSage Weil <sage@redhat.com>
Sun, 4 Mar 2018 21:55:22 +0000 (15:55 -0600)
committerDavid Zafman <dzafman@redhat.com>
Wed, 14 Mar 2018 17:07:11 +0000 (10:07 -0700)
commit214ff7b0f3a786dce8bd36ca39a8f6143783a84f
tree37c33edffa14bb36c18896e53b3d8130e45a7516
parenteddf510e734b8bdded271350c0b00428669559ff
osd/PrimaryLogPG: update missing_loc on peer recover

The MissingLoc structure already tracks locations of any missing object
on any acting OSD, and is updated on_local_recover and on_global_recover.
Update it on_peer_recover too so that the loc information (and derivative
missing_by_count info) is correct.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PrimaryLogPG.cc