]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: use multiple notification objects
authorYehuda Sadeh <yehuda@inktank.com>
Mon, 18 Jun 2012 20:25:44 +0000 (13:25 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Thu, 9 Aug 2012 20:33:37 +0000 (13:33 -0700)
commitb28db08ea8b84ec9f1d2df88ac4edd6aea0ba7d4
tree73b0a5dbe6fd9daa63e4440cb7c20a2132f3e0f7
parentf9359f0c59daaf74dfe69769983391ff3abe2e16
rgw: use multiple notification objects

Issue #2504. This makes us listen and notify on more than
a single object, which reduces the contention of cache
notifications.

NOTE: This change requires that any radosgw and radosgw-admin
use the same 'rgw num control oids' config value. A config value
of 0 will maintain old compatibility, and will allow an upgraded
process run in conjuction with an old one. Setting value other
than 0 (or using the non-zero default) will require upgrading
and restarting all the gateways together. Failing to do so
might lead to inconsistent user and buckets metadata (which
will be resolved once gateways are restarted).

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/common/config_opts.h
src/rgw/rgw_cache.h
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h