]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: tolerate missing clones in cache pools 1547/head
authorSage Weil <sage@inktank.com>
Thu, 27 Mar 2014 22:12:25 +0000 (15:12 -0700)
committerSage Weil <sage@inktank.com>
Thu, 27 Mar 2014 22:12:25 +0000 (15:12 -0700)
commiteb71924ea27e78d97bd45674ef5e6a7fce30932f
tree0f36fafea212d6177679291d40f619677eb0f13b
parent6508d5efe31f8c6d058a65f693c7faa788f6213e
osd/ReplicatedPG: tolerate missing clones in cache pools

A few cases:

- As we are working through the list, if we see a clone that is lower than
  the next one we were expecting, we should be able to skip them.
- If we see a head, we can skip all of the rest of the clones.
- If we get to the end and next_clone was set, we can ignore it.

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