]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
PG: don't query unfound on empty pgs 1539/head
authorSamuel Just <sam.just@inktank.com>
Wed, 27 Nov 2013 03:17:59 +0000 (19:17 -0800)
committerSamuel Just <sam.just@inktank.com>
Wed, 26 Mar 2014 20:24:41 +0000 (13:24 -0700)
commit41d5e9ab39e69c80bec1cb0627004c3fae6dc81d
tree97ef9b720a6c8c613ae770a8e026d2e2c9e1d9b1
parent466cd536ed7e541a36d88bce43683a2d9e2ca283
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>
(cherry picked from commit 838b6c8387087543ce50837277f7f6b52ae87d00)
src/osd/PG.cc