]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG::finish_promote: do not prefill new_clones 5328/head
authorSamuel Just <sjust@redhat.com>
Thu, 9 Jul 2015 23:11:58 +0000 (16:11 -0700)
committerSamuel Just <sjust@redhat.com>
Thu, 9 Jul 2015 23:11:59 +0000 (16:11 -0700)
commit57fbc23a47a0f96de416d21e674291dc91673407
tree0d6f0d6ec7970c2b659edc3a91c7169f0170ae90
parentdea73c1dddbb8d2349ec1e972734aa6b38d59e46
ReplicatedPG::finish_promote: do not prefill new_clones

new_clones will end up smaller than clones.  The removed clone
will leave a 0 at the end.

Fixes: 12263
Backport: firefly, hammer
Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/ReplicatedPG.cc