]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Objecter: be careful about precalculated pgids
authorGreg Farnum <greg@inktank.com>
Thu, 29 Aug 2013 20:52:35 +0000 (13:52 -0700)
committerGreg Farnum <greg@inktank.com>
Fri, 30 Aug 2013 21:06:33 +0000 (14:06 -0700)
commitb76953c6269a8d5af854908cf9db66b1b77fd86a
tree9cbd083e10037bb9404b16bf58a11900cca185c4
parent665acc11acf5daed9889b6f6de184cd44aa09c88
Objecter: be careful about precalculated pgids

The only current user of the precalc_pgid field is list_objects. That's
fine, but we don't want new users to inadvertently appear and somehow
break the caching/tiering stuff by forcing us to go to the base pool
when we should be talking to somebody else. Add an assert to catch
these cases.

Signed-off-by: Greg Farnum <greg@inktank.com>
src/osdc/Objecter.cc