Commit Graph

87 Commits (1d6961248c763c78cebc2a9cfa75176a18bb87a5)

Author SHA1 Message Date
Daniel Nephin 0d4fa882b3 lib/ttlcache: unexport key and additional godoc
4 years ago
Daniel Nephin c17baadbf8 lib/ttlcache: add a constant for NotIndexed
4 years ago
Daniel Nephin 6c09ab3dd8 cache: fix a bug with Prepopulate
4 years ago
Daniel Nephin bbb816aa8a lib/ttlcache: extract package from agent/cache
4 years ago
Daniel Nephin c4122edd22 cache: export ExpiryHeap
4 years ago
Daniel Nephin 343d133183 cache: Refactor heap.notify to make it more explicit.
4 years ago
Daniel Nephin 499f2822cf cache: Move more of the expiryLoop into the Heap
4 years ago
Daniel Nephin 2cdc90e01b cache: extract cache eviction heap
4 years ago
Daniel Nephin 3fa08beecf submatview: add a test for handling of NewSnapshotToFollow
4 years ago
Daniel Nephin b576a2d3c7 cache-types: Update Streaming health cache-type
4 years ago
Daniel Nephin 132b76acef agent/cache: Add cache-type and materialized view for streaming health
4 years ago
Daniel Nephin 6956477be5
Merge pull request #8548 from edevil/fix_flake
4 years ago
Pierre Souchay d5974b1d17 Added Unit test for cache reloading
4 years ago
Pierre Souchay 879d087f65 Added `options.Equals()` and minor fixes indentation fixes
4 years ago
Pierre Souchay d2be9d38da Ensure that Cache options are reloaded when `consul reload` is performed.
4 years ago
André Cruz 9a0792139c
Decrease test flakiness
4 years ago
Hans Hasselberg 054595b1f8
agent/cache test for cache throttling. (#8396)
4 years ago
Matt Keeler be01c4241d
Default Cache rate limiting options in New
4 years ago
Pierre Souchay 505de6dc29
Added ratelimit to handle throtling cache (#8226)
4 years ago
Matt Keeler 12acdd7481
Disable background cache refresh for Connect Leaf Certs
4 years ago
Daniel Nephin 2ec3760b70 agent/cache: Use AllowNotModifiedResponse in CatalogListServices
4 years ago
Daniel Nephin dbb8d14728 agent/cache: Update some docstrings
4 years ago
Matt Keeler 8837907de4
Make the Agent Cache more Context aware (#8092)
5 years ago
Daniel Nephin 81755c860a agent/cache: remove error return from fetch
5 years ago
Daniel Nephin 4ef9fc9f27 agent/cache: reduce function arguments by removing duplicates
5 years ago
Daniel Nephin 5fe7043439 agent/cache: Make all cache options RegisterOptions
5 years ago
Daniel Nephin 89f41bddfe Remove TTL from cacheEntryExpiry
5 years ago
Daniel Nephin 7246d8b6cb agent/cache: Reduce differences between notify implementations
5 years ago
Daniel Nephin 66fbb13976 agent/cache: Inline the refresh function to make recursion more obvious
5 years ago
Daniel Nephin faeaed5d0c agent/cache: Make the return values of getEntryLocked more obvious
5 years ago
Daniel Nephin e9e45545dd agent/cache: Small formatting improvements to improve readability
5 years ago
Daniel Nephin 1f25bf88b8
Merge pull request #7596 from hashicorp/dnephin/agent-cache-type-entry
5 years ago
Daniel Nephin c9a87be6ee agent/cache: move typeEntry lookup to the edge
5 years ago
Pierre Souchay 09e638a9c6
tests: more tolerance to latency for unstable test `TestCacheNotifyPolling()`. (#7574)
5 years ago
R.B. Boyer 12876983cf
avoid 'panic: Log in goroutine after TestCacheGet_refreshAge has completed' (#7276)
5 years ago
Anthony Scalisi beb928f8de fix spelling errors (#7135)
5 years ago
R.B. Boyer 9566df524e
agent: cache notifications work after error if the underlying RPC returns index=1 (#6547)
5 years ago
Christian Muehlhaeuser 7753b97cc7 Simplified code in various places (#6176)
5 years ago
Freddy 5873c56a03
Flaky test overhaul (#6100)
5 years ago
Hans Hasselberg 33a7df3330
tls: auto_encrypt enables automatic RPC cert provisioning for consul clients (#5597)
5 years ago
Matt Keeler dbc48ea3f7 Fixes race condition in Agent Cache (#5796)
6 years ago
Kyle Havlovitz 43bfc20dc8 Test an index=0 value in cache.Notify
6 years ago
Kyle Havlovitz c269369760 Make central service config opt-in and rework the initial registration
6 years ago
R.B. Boyer f4a3b9d518
fix typos reported by golangci-lint:misspell (#5434)
6 years ago
Paul Banks ef9f27cbc8
connect: tame thundering herd of CSRs on CA rotation (#5228)
6 years ago
Matt Keeler 7e6b3e6a0c
Implement prepared query upstreams watching for envoy (#5224)
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 c9217c958e merge feedback: fix typos; actually use deliverLatest added previously but not plumbed in
6 years ago