From: Adam C. Emerson Date: Fri, 17 Nov 2017 22:15:26 +0000 (-0500) Subject: rgw: Expire entries in bucket info cache X-Git-Tag: v13.0.1~61^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4489cb58a15647a31ac0546d70400af5668404cb;p=ceph.git rgw: Expire entries in bucket info cache To bound the degree to which an RGW instance can go out to lunch if the watch/notify breaks down, force refresh of any cache entry over a certain age. Fifteen minutes by default, and expiration can be turned off entirely. This is separate from the LRU. The LRU removes entries based on the last time of access. This expiration patch forces refresh based on the last time they were updated. Signed-off-by: Adam C. Emerson --- diff --git a/src/common/options.cc b/src/common/options.cc index 0064af66523..78365c699e0 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -4300,7 +4300,7 @@ std::vector