]> 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 5726/head
authorJason Dillaman <dillaman@redhat.com>
Fri, 21 Aug 2015 15:32:39 +0000 (11:32 -0400)
committerJosh Durgin <jdurgin@redhat.com>
Mon, 31 Aug 2015 19:26:30 +0000 (12:26 -0700)
commitd3c94698e4e852bef3e65fbf439f5f209fbc0b25
treeef6b1a22f5a59cf4f2d0fccceda1422f07d9c5a3
parent56d267b7ae02070a7d7ed247990b84124fd62411
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