consul/agent/structs
Matt Keeler 85e5da53d5
Special case the error returned when we have a Raft leader but are not tracking it in the ServerLookup (#9487)
This can happen when one other node in the cluster such as a client is unable to communicate with the leader server and sees it as failed. When that happens its failing status eventually gets propagated to the other servers in the cluster and eventually this can result in RPCs returning “No cluster leader” error.

That error is misleading and unhelpful for determing the root cause of the issue as its not raft stability but rather and client -> server networking issue. Therefore this commit will add a new error that will be returned in that case to differentiate between the two cases.
2021-01-04 14:05:23 -05:00
..
acl.go acl: global tokens created by auth methods now correctly replicate to secondary datacenters (#9351) 2020-12-09 15:22:29 -06:00
acl_cache.go
acl_cache_test.go
acl_legacy.go
acl_legacy_test.go
acl_oss.go
acl_test.go
auto_encrypt.go
autopilot.go Switch to using the external autopilot module 2020-11-09 09:22:11 -05:00
autopilot_oss.go Switch to using the external autopilot module 2020-11-09 09:22:11 -05:00
catalog.go
check_definition.go
check_definition_test.go
check_type.go
config_entry.go server: config entry replication now correctly uses namespaces in comparisons (#9024) 2020-10-23 13:41:54 -05:00
config_entry_discoverychain.go
config_entry_discoverychain_oss.go
config_entry_discoverychain_test.go
config_entry_gateways.go
config_entry_gateways_test.go
config_entry_intentions.go Add CA server delegate interface for testing 2020-11-19 20:08:06 -08:00
config_entry_intentions_test.go server: remove config entry CAS in legacy intention API bridge code (#9151) 2020-11-13 14:42:21 -06:00
config_entry_oss.go
config_entry_oss_test.go
config_entry_test.go
connect.go
connect_ca.go Add CA server delegate interface for testing 2020-11-19 20:08:06 -08:00
connect_ca_test.go
connect_oss.go
connect_proxy_config.go server: config entry replication now correctly uses namespaces in comparisons (#9024) 2020-10-23 13:41:54 -05:00
connect_proxy_config_oss.go
connect_proxy_config_test.go
discovery_chain.go
discovery_chain_oss.go
errors.go Special case the error returned when we have a Raft leader but are not tracking it in the ServerLookup (#9487) 2021-01-04 14:05:23 -05:00
federation_state.go
intention.go server: remove config entry CAS in legacy intention API bridge code (#9151) 2020-11-13 14:42:21 -06:00
intention_oss.go
intention_test.go
operator.go Switch to using the external autopilot module 2020-11-09 09:22:11 -05:00
prepared_query.go
prepared_query_test.go
protobuf_compat.go
sanitize_oss.go
service_definition.go
service_definition_test.go
snapshot.go
structs.go structs: add a namespace test for CheckServiceNode.CanRead 2020-10-30 15:07:04 -04:00
structs_filtering_test.go Refactor to call non-voting servers read replicas (#9191) 2020-11-17 10:53:57 -05:00
structs_oss.go stream: remove Event.Key 2020-10-28 16:48:04 -04:00
structs_test.go structs: add a namespace test for CheckServiceNode.CanRead 2020-10-30 15:07:04 -04:00
system_metadata.go
testing.go
testing_catalog.go
testing_connect_proxy_config.go
testing_intention.go
testing_service_definition.go
txn.go