Commit Graph

80 Commits (d9f0a731caf4fe1d1ac7d3c794bbacf338927eea)

Author SHA1 Message Date
Nitya Dhanushkodi 78b170ad50
xds controller: setup watches for and compute leaf cert references in ProxyStateTemplate, and wire up leaf cert manager dependency (#18756)
1 year ago
hashicorp-copywrite[bot] 5fb9df1640
[COMPLIANCE] License changes (#18443)
1 year ago
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
R.B. Boyer 3c44116a8f
cache: refactor agent cache fetching to prevent unnecessary fetches on error (#14956)
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
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
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
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 bbb816aa8a lib/ttlcache: extract package from agent/cache
4 years ago
Daniel Nephin c4122edd22 cache: export ExpiryHeap
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 132b76acef agent/cache: Add cache-type and materialized view for streaming health
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
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 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 c9a87be6ee agent/cache: move typeEntry lookup to the edge
5 years ago
Christian Muehlhaeuser 7753b97cc7 Simplified code in various places (#6176)
5 years ago
Hans Hasselberg 33a7df3330
tls: auto_encrypt enables automatic RPC cert provisioning for consul clients (#5597)
6 years ago
Matt Keeler dbc48ea3f7 Fixes race condition in Agent Cache (#5796)
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 96b9b95a19 Add cache.Notify to abstract watching for cache updates for types that support blocking semantics. (#4695)
6 years ago