consul/agent/config
Paul Banks f38da47c55
Allow raft TrailingLogs to be configured. (#6186)
This fixes pathological cases where the write throughput and snapshot size are both so large that more than 10k log entries are written in the time it takes to restore the snapshot from disk. In this case followers that restart can never catch up with leader replication again and enter a loop of constantly downloading a full snapshot and restoring it only to find that snapshot is already out of date and the leader has truncated its logs so a new snapshot is sent etc.

In general if you need to adjust this, you are probably abusing Consul for purposes outside its design envelope and should reconsider your usage to reduce data size and/or write volume.
2019-07-23 15:19:57 +01:00
..
builder.go Allow raft TrailingLogs to be configured. (#6186) 2019-07-23 15:19:57 +01:00
config.go Allow raft TrailingLogs to be configured. (#6186) 2019-07-23 15:19:57 +01:00
default.go Support for maximum size for Output of checks (#5233) 2019-06-26 09:43:25 -06:00
default_oss.go Update to use a consulent build tag instead of just ent (#5759) 2019-05-01 11:11:27 -04:00
doc.go Metrics service prefix (#3498) 2017-09-26 17:49:55 -07:00
flags.go log rotation: limit count of rotated log files (#5831) 2019-07-19 15:36:34 -06:00
flags_test.go XDS Server Config (#4730) 2018-10-10 16:55:34 +01:00
flagset.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
merge.go Changes maps to merge vs. overwrite when processing configs. 2017-12-13 16:06:01 -08:00
merge_test.go Changes maps to merge vs. overwrite when processing configs. 2017-12-13 16:06:01 -08:00
patch_hcl.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
patch_hcl_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
runtime.go Allow raft TrailingLogs to be configured. (#6186) 2019-07-23 15:19:57 +01:00
runtime_test.go Allow raft TrailingLogs to be configured. (#6186) 2019-07-23 15:19:57 +01:00
segment_oss.go Update to use a consulent build tag instead of just ent (#5759) 2019-05-01 11:11:27 -04:00
segment_oss_test.go Update to use a consulent build tag instead of just ent (#5759) 2019-05-01 11:11:27 -04:00