open-consul/lib
Daniel Nephin 0beaced90f cache: fix a bug with Prepopulate
Prepopulate was setting entry.Expiry.HeapIndex to 0. Previously this would result in a call to heap.Fix(0)
which wasn't correct, but was also not really a problem because at worse it would re-notify.

With the recent change to extract cachettl it was changed to call Update(idx), which would have updated
the wrong entry.

A previous commit removed the setting of entry.Expiry so that the HeapIndex would be reported
as -1, and this commit adds a test and handles the -1 heap index.
2020-10-20 19:10:20 -04:00
..
decode ci: Add ineffsign linter 2020-06-16 17:32:50 -04:00
file
retry lib/retry: Refactor to reduce the interface surface 2020-10-04 18:12:42 -04:00
semaphore
serf Add per-agent reconnect timeouts (#8781) 2020-10-08 15:02:19 -04:00
stringslice create lib/stringslice package (#7934) 2020-05-27 11:47:32 -05:00
template Agent Auto Configuration: Configuration Syntax Updates (#8003) 2020-06-16 15:03:22 -04:00
ttlcache cache: fix a bug with Prepopulate 2020-10-20 19:10:20 -04:00
cluster.go
cluster_test.go
eof.go
json.go
map_walker.go
map_walker_test.go Enable gofmt simplify 2020-06-16 13:21:11 -04:00
math.go Filter wildcard gateway services to match listener protocol 2020-05-06 15:06:13 -05:00
math_test.go Filter wildcard gateway services to match listener protocol 2020-05-06 15:06:13 -05:00
path.go
rand.go
rtt.go
rtt_test.go Replace goe/verify.Values with testify/require.Equal (#7993) 2020-06-02 12:41:25 -04:00
stop_context.go
stop_context_test.go Add test to ensure the StopChannelContext works properly 2020-06-24 12:34:57 -04:00
telemetry.go add config flag to disable 1.9 metrics backwards compatibility. Add warnings on start and reload on default value 2020-10-07 17:12:52 -07:00
telemetry_test.go
testing_httpserver.go cli: fix usage of gzip.Reader to better detect corrupt snapshots during save/restore (#7697) 2020-04-24 17:18:56 -05:00
translate.go config: use the new HookTranslateKeys instead of lib.TranslateKeys 2020-05-27 16:24:47 -04:00
translate_test.go
useragent.go
useragent_test.go
uuid.go