]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG: don't move on to the next snap immediately 2918/head
authorSamuel Just <sam.just@inktank.com>
Tue, 23 Sep 2014 22:52:08 +0000 (15:52 -0700)
committerSamuel Just <sam.just@inktank.com>
Mon, 27 Oct 2014 21:08:03 +0000 (14:08 -0700)
commit496e561d81f2dd1bf92d588fc3afc2431e0a5b98
treee5482c6c0e445cae1cf17b819cde2f1ab5c621b3
parent25fb957ed7576ffde2aa6568f62f89757d3ecd0b
ReplicatedPG: don't move on to the next snap immediately

If we have a bunch of trimmed snaps for which we have no
objects, we'll spin for a long time.  Instead, requeue.

Fixes: #9487
Backport: dumpling, firefly, giant
Reviewed-by: Sage Weil <sage@redhat.com>
Signed-off-by: Samuel Just <sam.just@inktank.com>
(cherry picked from commit c17ac03a50da523f250eb6394c89cc7e93cb4659)
src/osd/ReplicatedPG.cc