]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
PG: don't query unfound on empty pgs 1538/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:23:55 +0000 (13:23 -0700)
commitc6f754c55c2b3b913d95b6f1eff6075d4f5f037d
tree752cff988c7681282646b410b36664288838c5b0
parent9c0ae632dfbb684eba3c992ce74e280f30d82529
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