Mitchell Hashimoto
|
45e49f31de
|
agent/cache: change behavior to return error rather than retry
The cache behavior should not be to mask errors and retry. Instead, it
should aim to return errors as quickly as possible. We do that here.
|
2018-06-25 12:24:07 -07:00 |
Mitchell Hashimoto
|
311d503fb0
|
agent/cache: perform backoffs on error retries on blocking queries
|
2018-06-25 12:24:06 -07:00 |
Paul Banks
|
1722734313
|
Verify trust domain on /authorize calls
|
2018-06-14 09:42:16 -07:00 |
Mitchell Hashimoto
|
4f3b5647e5
|
agent/cache: change uint8 to uint
|
2018-06-14 09:42:15 -07:00 |
Mitchell Hashimoto
|
fc5508f8a3
|
agent/cache: string through attempt rather than storing on the entry
|
2018-06-14 09:42:15 -07:00 |
Mitchell Hashimoto
|
cfcd733609
|
agent/cache: implement refresh backoff
|
2018-06-14 09:42:14 -07:00 |
Mitchell Hashimoto
|
bd3b8e042a
|
agent/cache: address PR feedback, lots of typos
|
2018-06-14 09:42:03 -07:00 |
Mitchell Hashimoto
|
02b20a0353
|
agent/cache: address feedback, clarify comments
|
2018-06-14 09:42:03 -07:00 |
Mitchell Hashimoto
|
af1d70b026
|
agent/cache: don't every block on NotifyCh
|
2018-06-14 09:42:03 -07:00 |
Mitchell Hashimoto
|
724b829104
|
agent/cache: unit tests for ExpiryHeap, found a bug!
|
2018-06-14 09:42:03 -07:00 |
Mitchell Hashimoto
|
194b256861
|
agent/cache: send the total entries count on eviction to go-metrics
|
2018-06-14 09:42:03 -07:00 |
Mitchell Hashimoto
|
e0d964188c
|
agent/cache: make edge case with prev/next idx == 0 handled better
|
2018-06-14 09:42:03 -07:00 |
Mitchell Hashimoto
|
3b550d2b72
|
agent/cache: rework how expiry data is stored to be more efficient
|
2018-06-14 09:42:03 -07:00 |
Mitchell Hashimoto
|
595193a781
|
agent/cache: initial TTL work
|
2018-06-14 09:42:02 -07:00 |
Mitchell Hashimoto
|
1df99514ca
|
agent/cache: send the RefreshTimeout into the backend fetch
|
2018-06-14 09:42:02 -07:00 |
Mitchell Hashimoto
|
db4c47df27
|
agent/cache: on error, return from Get immediately, don't block forever
|
2018-06-14 09:42:02 -07:00 |
Mitchell Hashimoto
|
cc2c98f961
|
agent/cache: lots of comment/doc updates
|
2018-06-14 09:42:02 -07:00 |
Mitchell Hashimoto
|
e1c1b8812a
|
agent/cache: return the error as part of Get
|
2018-06-14 09:42:01 -07:00 |
Mitchell Hashimoto
|
00e7ab3cd5
|
agent/cache: integrate go-metrics so the cache is debuggable
|
2018-06-14 09:42:01 -07:00 |
Mitchell Hashimoto
|
fcb15e15ae
|
agent/cache: support timeouts for cache reads and empty fetch results
|
2018-06-14 09:42:01 -07:00 |
Mitchell Hashimoto
|
917a9e63d5
|
agent: check cache hit count to verify CA root caching, background update
|
2018-06-14 09:42:00 -07:00 |
Mitchell Hashimoto
|
c329b4cb34
|
agent/cache: partition by DC/ACL token
|
2018-06-14 09:42:00 -07:00 |
Mitchell Hashimoto
|
e3c1162881
|
agent/cache: Reorganize some files, RequestInfo struct, prepare for partitioning
|
2018-06-14 09:42:00 -07:00 |
Mitchell Hashimoto
|
b0db5657c4
|
agent/cache: ConnectCA roots caching type
|
2018-06-14 09:42:00 -07:00 |
Mitchell Hashimoto
|
975be337a9
|
agent/cache: blank cache key means to always fetch
|
2018-06-14 09:42:00 -07:00 |
Mitchell Hashimoto
|
1cfb0f1922
|
agent/cache: initial kind-of working cache
|
2018-06-14 09:42:00 -07:00 |