]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdc/Objecter: use full hash value for pg[n]ls ops
authorSage Weil <sage@redhat.com>
Wed, 30 Mar 2016 15:55:55 +0000 (11:55 -0400)
committerSage Weil <sage@redhat.com>
Sun, 3 Apr 2016 13:45:56 +0000 (09:45 -0400)
commitf16187f68d7f494fd5ed243e163a8ae3cb111cd3
tree689c87cc110b2932f9c5ec8b607a27a0bab85b11
parent9196a75459c73f9da27935348abf21ed08be0e60
osdc/Objecter: use full hash value for pg[n]ls ops

Normal ops do this so they can behave when racing with split; pgnls ops
are no different.

In particular, this fixes a bug where we have an old OSDMap that doesn't
reflect a split, and the OSD replies with a 'next' value of the PG's new
max.  If we resend the same value to that PG, it'll be out of bounds,
and BlueStore will notice.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osdc/Objecter.cc