]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Objecter: pg_interval_t::is_new_interval needs pgid from previous pool 5691/head
authorJason Dillaman <dillaman@redhat.com>
Fri, 21 Aug 2015 15:32:39 +0000 (11:32 -0400)
committerJosh Durgin <jdurgin@redhat.com>
Thu, 27 Aug 2015 22:31:16 +0000 (15:31 -0700)
commitbee86660377cfaa74f7ed668dd02492f25553ff9
tree1c77c8caa2d310352e8bd4743cd6b8d84adb4275
parentb5418b9a7138b45b5fe4f24cfb679c2abb30ab71
Objecter: pg_interval_t::is_new_interval needs pgid from previous pool

When increasing the pg_num of a pool, an assert would fail since the
calculated pgid seed would be for the pool's new pg_num value instead
of the previous pg_num value.

Fixes: #10399
Backport: infernalis, hammer, firefly
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit f20f7a23e913d09cc7fc22fb3df07f9938ddc144)

Conflicts: (hobject_t sort order not backported, trivial resolution)
src/osdc/Objecter.cc
src/osdc/Objecter.h
src/osdc/Objecter.cc
src/osdc/Objecter.h