open-consul/agent
Paul Banks 42296292a4
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
..
ae
cache Simplified code in various places (#6176) 2019-07-20 09:37:19 -04:00
cache-types tls: auto_encrypt enables automatic RPC cert provisioning for consul clients (#5597) 2019-06-27 22:22:07 +02:00
checks Fixed a few tautological condition mistakes (#6177) 2019-07-19 07:53:42 -04:00
config Allow raft TrailingLogs to be configured. (#6186) 2019-07-23 15:19:57 +01:00
connect Simplified code in various places (#6176) 2019-07-20 09:37:19 -04:00
consul Simplified code in various places (#6176) 2019-07-20 09:37:19 -04:00
debug
exec
local Flaky test overhaul (#6100) 2019-07-12 09:52:26 -06:00
metadata
mock
pool tls: auto_encrypt enables automatic RPC cert provisioning for consul clients (#5597) 2019-06-27 22:22:07 +02:00
proxycfg Bump timeout in TestManager_BasicLifecycle (#6030) 2019-07-01 17:02:00 -06:00
proxyprocess
router Simplified code in various places (#6176) 2019-07-20 09:37:19 -04:00
structs tls: auto_encrypt enables automatic RPC cert provisioning for consul clients (#5597) 2019-06-27 22:22:07 +02:00
systemd
token
xds Fixed a few tautological condition mistakes (#6177) 2019-07-19 07:53:42 -04:00
acl.go
acl_endpoint.go
acl_endpoint_legacy.go
acl_endpoint_legacy_test.go
acl_endpoint_test.go
acl_test.go tls: auto_encrypt enables automatic RPC cert provisioning for consul clients (#5597) 2019-06-27 22:22:07 +02:00
agent.go Allow raft TrailingLogs to be configured. (#6186) 2019-07-23 15:19:57 +01:00
agent_endpoint.go Simplified code in various places (#6176) 2019-07-20 09:37:19 -04:00
agent_endpoint_test.go Simplified code in various places (#6176) 2019-07-20 09:37:19 -04:00
agent_test.go Allow raft TrailingLogs to be configured. (#6186) 2019-07-23 15:19:57 +01:00
bindata_assetfs.go Release v1.5.2 2019-06-27 22:59:46 +00:00
blacklist.go
blacklist_test.go
catalog_endpoint.go Simplified code in various places (#6176) 2019-07-20 09:37:19 -04:00
catalog_endpoint_test.go
check.go
config.go
config_endpoint.go
config_endpoint_test.go
connect_auth.go
connect_ca_endpoint.go
connect_ca_endpoint_test.go
coordinate_endpoint.go
coordinate_endpoint_test.go Update retries that weren't using retry.R (#6146) 2019-07-16 14:47:45 -06:00
dns.go
dns_test.go
enterprise_delegate_oss.go
event_endpoint.go
event_endpoint_test.go
health_endpoint.go
health_endpoint_test.go Flaky test overhaul (#6100) 2019-07-12 09:52:26 -06:00
http.go Simplified code in various places (#6176) 2019-07-20 09:37:19 -04:00
http_oss.go
http_oss_test.go
http_test.go
intentions_endpoint.go
intentions_endpoint_test.go
keyring.go
keyring_test.go
kvs_endpoint.go
kvs_endpoint_test.go
notify.go
notify_test.go
operator_endpoint.go
operator_endpoint_test.go
prepared_query_endpoint.go
prepared_query_endpoint_test.go
remote_exec.go
remote_exec_test.go Update retries that weren't using retry.R (#6146) 2019-07-16 14:47:45 -06:00
retry_join.go tls: auto_encrypt enables automatic RPC cert provisioning for consul clients (#5597) 2019-06-27 22:22:07 +02:00
retry_join_test.go tls: auto_encrypt enables automatic RPC cert provisioning for consul clients (#5597) 2019-06-27 22:22:07 +02:00
service_manager.go
service_manager_test.go
session_endpoint.go
session_endpoint_test.go
sidecar_service.go
sidecar_service_test.go
signal_unix.go
signal_windows.go
snapshot_endpoint.go
snapshot_endpoint_test.go
status_endpoint.go
status_endpoint_test.go
testagent.go tls: auto_encrypt enables automatic RPC cert provisioning for consul clients (#5597) 2019-06-27 22:22:07 +02:00
testagent_test.go
translate_addr.go
txn_endpoint.go Avoid unnecessary conversions (#6178) 2019-07-19 09:13:18 -04:00
txn_endpoint_test.go
ui_endpoint.go
ui_endpoint_test.go Simplified code in various places (#6176) 2019-07-20 09:37:19 -04:00
user_event.go
user_event_test.go
util.go
util_test.go
watch_handler.go
watch_handler_test.go