mirror of https://github.com/status-im/consul.git
f38da47c55
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. |
||
---|---|---|
.. | ||
builder.go | ||
config.go | ||
default.go | ||
default_oss.go | ||
doc.go | ||
flags.go | ||
flags_test.go | ||
flagset.go | ||
merge.go | ||
merge_test.go | ||
patch_hcl.go | ||
patch_hcl_test.go | ||
runtime.go | ||
runtime_test.go | ||
segment_oss.go | ||
segment_oss_test.go |