Commit Graph

24 Commits (5020f97911849d13d36c3a35b2f3be54f3fa39ab)

Author SHA1 Message Date
Paul Banks ef9f27cbc8
connect: tame thundering herd of CSRs on CA rotation (#5228)
6 years ago
Paul Banks 0638e09b6e
connect: agent leaf cert caching improvements (#5091)
6 years ago
Paul Banks 0589525ae9
agent: Don't leave old errors around in cache (#5094)
6 years ago
Paul Banks 298af6dca7
Quick fix for cache age flakiness in CI
6 years ago
Paul Banks 88388d760d Support Agent Caching for Service Discovery Results (#4541)
6 years ago
Paul Banks 8cbeb29e73
Fixes #4421: General solution to stop blocking queries with index 0 (#4437)
6 years ago
Paul Banks 2e223ea2b7 Fix hot loop in cache for RPC returning zero index.
7 years ago
Paul Banks 43b48bc06b Get agent cache tests passing without global hit count (which is racy).
7 years ago
Mitchell Hashimoto 6b1e0a3003 agent/cache: always schedule the refresh
7 years ago
Mitchell Hashimoto cf9b377c78 agent/cache: always fetch with minimum index of 1 at least
7 years ago
Mitchell Hashimoto 839d3c323d agent/cache: correct test name
7 years ago
Mitchell Hashimoto 45e49f31de agent/cache: change behavior to return error rather than retry
7 years ago
Mitchell Hashimoto 311d503fb0 agent/cache: perform backoffs on error retries on blocking queries
7 years ago
Mitchell Hashimoto cfcd733609
agent/cache: implement refresh backoff
7 years ago
Mitchell Hashimoto 02b20a0353
agent/cache: address feedback, clarify comments
7 years ago
Mitchell Hashimoto 3b550d2b72
agent/cache: rework how expiry data is stored to be more efficient
7 years ago
Mitchell Hashimoto 595193a781
agent/cache: initial TTL work
7 years ago
Mitchell Hashimoto 1df99514ca
agent/cache: send the RefreshTimeout into the backend fetch
7 years ago
Mitchell Hashimoto db4c47df27
agent/cache: on error, return from Get immediately, don't block forever
7 years ago
Mitchell Hashimoto fcb15e15ae
agent/cache: support timeouts for cache reads and empty fetch results
7 years ago
Mitchell Hashimoto c329b4cb34
agent/cache: partition by DC/ACL token
7 years ago
Mitchell Hashimoto e3c1162881
agent/cache: Reorganize some files, RequestInfo struct, prepare for partitioning
7 years ago
Mitchell Hashimoto 975be337a9
agent/cache: blank cache key means to always fetch
7 years ago
Mitchell Hashimoto 1cfb0f1922
agent/cache: initial kind-of working cache
7 years ago