]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG: don't skip missing if sentries is empty on pgls
authorSamuel Just <sam.just@inktank.com>
Wed, 6 Nov 2013 22:33:03 +0000 (14:33 -0800)
committerSage Weil <sage@inktank.com>
Tue, 18 Mar 2014 19:29:50 +0000 (12:29 -0700)
commit77e46d0d7984f2d3ee0e15f27d2961a637c20b45
treec31e76aa26478ae65b257e50d714120073ea69c3
parent21ed54201bd4b0f02c07f6f96a63a5720057f011
ReplicatedPG: don't skip missing if sentries is empty on pgls

Formerly, if sentries is empty, we skip missing.  In general,
we need to continue adding items from missing until we get
to next (returned from collection_list_partial) to avoid
missing any objects.

Fixes: #6633
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: David Zafman <david.zafman@inktank.com>
(cherry picked from commit c7a30b881151e08b37339bb025789921e7115288)
src/osd/ReplicatedPG.cc