open-consul/agent/rpc/peering
Luke Kysow d21f793b74
peering: add config to enable/disable peering (#13867)
* peering: add config to enable/disable peering

Add config:

```
peering {
  enabled = true
}
```

Defaults to true. When disabled:
1. All peering RPC endpoints will return an error
2. Leader won't start its peering establishment goroutines
3. Leader won't start its peering deletion goroutines
2022-07-22 15:20:21 -07:00
..
service.go peering: add config to enable/disable peering (#13867) 2022-07-22 15:20:21 -07:00
service_oss_test.go peering: allow protobuf requests to populate the default partition or namespace (#13398) 2022-06-08 11:55:18 -05:00
service_test.go peering: add config to enable/disable peering (#13867) 2022-07-22 15:20:21 -07:00
testing.go peering: move peer replication to the external gRPC port (#13698) 2022-07-08 12:01:13 -05:00
testutil_oss_test.go peering: initial sync (#12842) 2022-04-21 17:34:40 -05:00
validate.go peering: accept replication stream of discovery chain information at the importing side (#13151) 2022-05-19 16:37:52 -05:00
validate_test.go Patches to peering initiation for POC demo (#13076) 2022-05-13 13:01:00 -06:00