oio-sds icon indicating copy to clipboard operation
oio-sds copied to clipboard

decache rdir entry after reassign

Open jkasarherou opened this issue 6 years ago • 3 comments

event after rdir reassign, we encounter:

2017-10-02T13:52:22.515541+00:00 node01 OIO,OPENIO,oio-event-agent,0: warning  151249 7F30F93DD690 log WARNING event 176002 handling failure (release with delay): rdir update error: HTTPConnectionPool(host='127.0.0.1', port=6379): Max retries exceeded with url: /v1/rdir/push?vol=127.0.0.1%3A6278&create=1 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f30f678a850>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',))

oio-proxy is still caching?

jkasarherou avatar Oct 02 '17 13:10 jkasarherou

Similar to #1193

jfsmig avatar Oct 02 '17 14:10 jfsmig

\cc @sebastienlapierre

jfsmig avatar Nov 10 '17 16:11 jfsmig

oio-proxy is indeed caching service entries (unless proxy.cache.enabled=off). We could set resolver.cache.srv.ttl.default=15s to still benefit from the cache at service startup, but refresh the entry from time to time.

fvennetier avatar Dec 05 '17 11:12 fvennetier