consul/agent/config
Dhia Ayachi f2b26ac194
Hash based config entry replication (#19795)
* add a hash to config entries when normalizing

* add GetHash and implement comparing hashes

* only update if the Hash is different

* only update if the Hash is different and not 0

* fix proto to include the Hash

* fix proto gen

* buf format

* add SetHash and fix tests

* fix config load tests

* fix state test and config test

* recalculate hash when restoring config entries

* fix snapshot restore test

* add changelog

* fix missing normalize, fix proto indexes and add normalize test
2023-12-12 08:29:13 -05:00
..
testdata [NET-5916] Fix locality-aware routing config and tests (CE) (#19483) 2023-11-02 14:05:06 -05:00
agent_limits.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
builder.go [NET-5916] Fix locality-aware routing config and tests (CE) (#19483) 2023-11-02 14:05:06 -05:00
builder_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
builder_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
builder_test.go agent/config: prevent startup if resource-apis experiment and cloud are enabled (#18876) 2023-09-19 19:50:45 -04:00
config.deepcopy.go Run copyright after running deep-copy as part of the Makefile/CI (#18741) 2023-09-11 13:50:52 -04:00
config.go [NET-5916] Fix locality-aware routing config and tests (CE) (#19483) 2023-11-02 14:05:06 -05:00
config_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
deep-copy.sh fix: NET-1521 show latest config in /v1/agent/self (#18681) 2023-09-08 09:47:31 +10:00
default.go Add grpc keepalive configuration. (#19339) 2023-10-24 08:05:31 -05:00
default_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
deprecated.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
deprecated_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
doc.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
file_watcher.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
file_watcher_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
flags.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
flags_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
flagset.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
golden_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
limits.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
limits_windows.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
merge.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
merge_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
ratelimited_file_watcher.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
ratelimited_file_watcher_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
runtime.go Add grpc keepalive configuration. (#19339) 2023-10-24 08:05:31 -05:00
runtime_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
runtime_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
runtime_test.go Hash based config entry replication (#19795) 2023-12-12 08:29:13 -05:00
segment_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
segment_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00