]> git-server-git.apps.pok.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)
committerPrashant D <pdhange@redhat.com>
Thu, 30 Aug 2018 03:18:10 +0000 (23:18 -0400)
commit507d91a5f32e2d40ffe459244be97c661676c8c0
treefffa8166297cc4612d8fe7cb1257e17eecc2d673
parent9f0b80e82906fb41fb61cf5116f749e5f22c7031
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>
(cherry picked from commit 214ff7b0f3a786dce8bd36ca39a8f6143783a84f)
src/osd/PrimaryLogPG.cc