]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: switch to new watch/notify API
authorSage Weil <sage@redhat.com>
Wed, 11 Feb 2015 00:20:12 +0000 (16:20 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Thu, 5 Mar 2015 20:29:23 +0000 (12:29 -0800)
commit04437e416ed45cf5ed82619520289528491473fb
treebd7e4e79c62c500e93989a6cad47a83699e8b9c7
parent2694f80b27cb3d07df7ffa11bd136245da1539e8
rgw: switch to new watch/notify API

Note that we don't really use it fully, yet.  The main semantic change
here is that we have to explicitly ack the notify.

However, still missing is re-registration of the watch if we see a failure,
and ignoring the cache if watch_check tells us the watch is stale.

Signed-off-by: Sage Weil <sage@redhat.com>
src/rgw/rgw_cache.h
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h