Commit Graph

109 Commits (bdf6ed9d6d988061540e5e91f71bd715faa9c241)

Author SHA1 Message Date
R.B. Boyer d07aac8d7e
Revert "cache: refactor agent cache fetching to prevent unnecessary f… (#16818) (#17046)
2 years ago
Ronald 94ec4eb2f4
copyright headers for agent folder (#16704)
2 years ago
Dan Upton 7a55de375c
xds: don't attempt to load-balance sessions for local proxies (#15789)
2 years ago
Matt Keeler 5afd4657ec
Protobuf Modernization (#15949)
2 years ago
Derek Menteer f3776894bf
Fix agent cache incorrectly notifying unchanged protobufs. (#15866)
2 years ago
R.B. Boyer 3c44116a8f
cache: refactor agent cache fetching to prevent unnecessary fetches on error (#14956)
2 years ago
Chris S. Kim bde57c0dd0 Regenerate files according to 1.19.2 formatter
2 years ago
R.B. Boyer fe2d41ddad
cache: prevent goroutine leak in agent cache (#14908)
2 years ago
skpratt b761589340
add non-double-prefixed metrics (#14193)
2 years ago
R.B. Boyer 2a945facec
test: update mockery use to put mocks into test files (#13656)
2 years ago
Dan Upton d7f8a8e4ef
proxycfg: remove dependency on `cache.UpdateEvent` (#13144)
3 years ago
R.B. Boyer f507f62f3c
peering: initial sync (#12842)
3 years ago
R.B. Boyer 4274e67b47
chore: upgrade mockery to v2 and regenerate (#12836)
3 years ago
R.B. Boyer f3ce353a87
ca: fix a bug that caused a non blocking leaf cert query after a blocking leaf cert query to block (#12820)
3 years ago
R.B. Boyer b60d89e7ef bulk rewrite using this script
3 years ago
Paul Banks 1406671290
cache: Fix bug where connection errors can cause early cache expiry (#9979)
4 years ago
Paul Banks ee04d452be
cache: fix bug where TTLs were ignored leading to leaked memory in client agents (#9978)
4 years ago
Daniel Nephin d9b8d30cad cache: log a warning when Cache.Notify handles an error
4 years ago
Matt Keeler 8dbe342ec9
Stop background refresh of cached data for requests that result in ACL not found errors (#9738)
4 years ago
Daniel Nephin b9e60c0775 testing: skip slow tests with -short
4 years ago
Hans Hasselberg 57701695c3 add missing descriptions for metrics
4 years ago
Kit Patella 5da2f1efa8 finish adding static server metrics
4 years ago
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