]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
PG: don't query unfound on empty pgs
authorSamuel Just <sam.just@inktank.com>
Wed, 27 Nov 2013 03:17:59 +0000 (19:17 -0800)
committerSamuel Just <sam.just@inktank.com>
Wed, 27 Nov 2013 23:17:35 +0000 (15:17 -0800)
commit838b6c8387087543ce50837277f7f6b52ae87d00
treef7da267f11feb6cfd800014692ce84f9df33f27e
parent964c8e978f86713e37a13b4884a6c0b9b41b5bae
PG: don't query unfound on empty pgs

When the replica responds, it responds with a notify
rather than a log, which the primary then ignores since
it is already in the peer_info map.  Rather than fix that
we'll simply not send queries to peers we already know to
have no unfound objects.

Fixes: #6910
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Reviewed-by: David Zafman <david.zafman@inktank.com>
src/osd/PG.cc