]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Objecter: pg_interval_t::is_new_interval needs pgid from previous pool 5648/head
authorJason Dillaman <dillaman@redhat.com>
Fri, 21 Aug 2015 15:32:39 +0000 (11:32 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 24 Aug 2015 15:12:13 +0000 (11:12 -0400)
commitf20f7a23e913d09cc7fc22fb3df07f9938ddc144
treef7954cf161cac70233f170251486e5c5330cc430
parent888a6337abcb5dfc9ff81c9f809253fa2ffb603d
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>
src/osdc/Objecter.cc
src/osdc/Objecter.h