consul/agent/consul
hc-github-team-consul-core 993f2d21c0
Backport of Fix to not create a watch to `Internal.ServiceDump` when mesh gateway is not used into release/1.17.x (#20268)
This add a fix to properly verify the gateway mode before creating a watch specific to mesh gateways. This watch have a high performance cost and when mesh gateways are not used is not used.

This also adds an optimization to only return the nodes when watching the Internal.ServiceDump RPC to avoid unnecessary disco chain compilation. As watches in proxy config only need the nodes.

* backport of commit b0ce20b5e2
* backport of commit 3d4bde00cf
* backport of commit b2c77246b9
* backport of commit e7ab4d418d
* backport of commit d00d9c5da4
* backport of commit b2db3d5eb4
* backport of commit 50fb45ac74
* backport of commit 7b41a61c17
* backport of commit 2fa0e0a629
* backport of commit 88849c9030
* backport of commit 4ac54f10bc
* backport of commit 2a9dfc37f2

---------

Co-authored-by: Dhia Ayachi <dhia@hashicorp.com>
2024-01-19 08:17:22 -06:00
..
auth Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
authmethod Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
autopilotevents [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
controller [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
discoverychain [Backport 1.17.x] Add CE version of Gateway Upstream Disambiguation (#19868) 2023-12-08 17:00:14 +00:00
fsm Backport of Hash based config entry replication into release/1.17.x (#19916) 2023-12-12 13:36:07 -05:00
gateways [NET-5688] APIGateway UI Topology Fixes (#19657) (#19765) 2023-11-29 11:23:52 -05:00
multilimiter [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
prepared_query Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
rate Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
reporting Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
servercert [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
state Backport of Hash based config entry replication into release/1.17.x (#19916) 2023-12-12 13:36:07 -05:00
stream [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
testdata ca: examine the full chain in newCARoot 2022-02-17 18:21:30 -05:00
usagemetrics Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
wanfed [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
watch [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
xdscapacity [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
acl.go Honor Default Traffic Permissions in V2 (#18886) 2023-09-19 10:42:32 -04:00
acl_authmethod.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
acl_authmethod_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
acl_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
acl_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
acl_client.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
acl_endpoint.go [CE] Add workload bind type and templated policy (#19077) 2023-10-05 19:45:41 +00:00
acl_endpoint_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
acl_endpoint_test.go [NET-5330] Support templated policies in Binding rules (#18719) 2023-09-08 14:39:09 -04:00
acl_replication.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
acl_replication_test.go Add support for querying tokens by service name. (#18667) 2023-09-06 10:52:45 -05:00
acl_replication_types.go Add support for querying tokens by service name. (#18667) 2023-09-06 10:52:45 -05:00
acl_server.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
acl_server_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
acl_test.go Add workload identity ACL rules (#18769) 2023-09-12 17:22:51 -04:00
acl_token_exp.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
acl_token_exp_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
auto_config_backend.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
auto_config_backend_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
auto_config_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
auto_config_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
auto_encrypt_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
auto_encrypt_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
autopilot.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
autopilot_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
autopilot_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
catalog_endpoint.go NET-4135 - Fix NodeMeta filtering Catalog List Services API (#18322) 2023-10-08 12:48:31 +00:00
catalog_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
client.go Backport of improve client RPC metrics consistency into release/1.17.x (#19843) 2023-12-06 14:06:17 -05:00
client_serf.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
client_test.go delete all v2 resources type when deleting a namespace (CE) (#18621) 2023-08-31 10:18:25 -04:00
cluster_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
config.go Make raft-wal default when `resource-apis` is active (#19090) 2023-10-06 10:24:21 -04:00
config_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
config_cloud.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
config_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
config_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
config_replication.go Backport of Hash based config entry replication into release/1.17.x (#19916) 2023-12-12 13:36:07 -05:00
config_replication_test.go Backport of Hash based config entry replication into release/1.17.x (#19916) 2023-12-12 13:36:07 -05:00
config_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
connect_ca_endpoint.go xds controller: setup watches for and compute leaf cert references in ProxyStateTemplate, and wire up leaf cert manager dependency (#18756) 2023-09-12 12:56:43 -07:00
connect_ca_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
context.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
context_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
coordinate_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
coordinate_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
discovery_chain_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
discovery_chain_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
enterprise_client_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
enterprise_config_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
enterprise_server_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
enterprise_server_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
federation_state_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
federation_state_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
federation_state_replication.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
federation_state_replication_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
filter.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
filter_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
flood.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
gateway_locator.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
gateway_locator_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
grpc_integration_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
health_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
health_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
helper_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
intention_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
intention_endpoint_test.go Backport of Fix broken tests. into release/1.17.x (#20133) 2024-01-09 14:35:02 -06:00
internal_endpoint.go Backport of Fix to not create a watch to `Internal.ServiceDump` when mesh gateway is not used into release/1.17.x (#20268) 2024-01-19 08:17:22 -06:00
internal_endpoint_test.go Backport of Fix to not create a watch to `Internal.ServiceDump` when mesh gateway is not used into release/1.17.x (#20268) 2024-01-19 08:17:22 -06:00
issue_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
kvs_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
kvs_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
leader.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
leader_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
leader_connect.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
leader_connect_ca.go NET-5590 - authorization: check for identity:write in CA certs, xds server, and getting envoy bootstrap params (#19049) 2023-10-03 22:02:23 +00:00
leader_connect_ca_test.go NET-5590 - authorization: check for identity:write in CA certs, xds server, and getting envoy bootstrap params (#19049) 2023-10-03 22:02:23 +00:00
leader_connect_test.go Remove flaky test assertions (#18870) 2023-09-18 15:56:23 -07:00
leader_federation_state_ae.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
leader_federation_state_ae_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
leader_intentions.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
leader_intentions_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
leader_intentions_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
leader_intentions_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
leader_log_verification.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
leader_metrics.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
leader_metrics_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
leader_peering.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
leader_peering_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
leader_test.go Backport of Fix broken tests. into release/1.17.x (#20133) 2024-01-09 14:35:02 -06:00
logging.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
logging_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
merge.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
merge_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
merge_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
merge_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
operator_autopilot_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
operator_autopilot_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
operator_backend.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
operator_backend_test.go Backport of Hash based config entry replication into release/1.17.x (#19916) 2023-12-12 13:36:07 -05:00
operator_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
operator_raft_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
operator_raft_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
operator_usage_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
options.go server: when the v2 catalog experiment is enabled reject api and rpc requests that are for the v1 catalog (#19129) 2023-10-11 10:44:03 -05:00
options_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
peering_backend.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
peering_backend_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
peering_backend_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
peering_backend_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
prepared_query_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
prepared_query_endpoint_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
prepared_query_endpoint_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
prepared_query_endpoint_test.go Backport of Fix bug with prepared queries using sameness-groups. into release/1.17.x (#19972) 2023-12-15 13:17:08 -06:00
raft_handle.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
raft_rpc.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
replication.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
replication_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
rpc.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
rpc_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
rtt.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
rtt_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
segment_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
serf_filter.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
serf_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
server.go Manual Backport of [Cloud][CC-6925] Updates to pushing server state into release/1.17.x (#19810) 2023-12-04 15:34:24 -05:00
server_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
server_ce_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
server_connect.go sidecar-proxy controller: L4 controller with explicit upstreams (NET-3988) (#18352) 2023-09-07 09:37:15 -06:00
server_log_verification.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
server_lookup.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
server_lookup_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
server_metadata.go Backport of Use safeio to write server metadata file into release/1.17.x (#20106) 2024-01-05 15:16:14 -05:00
server_metadata_test.go Backport of agent: prevent empty server_metadata.json into release/1.17.x (#19997) 2023-12-21 10:05:17 -05:00
server_overview.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
server_overview_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
server_register.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
server_serf.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
server_test.go Manual Backport of [Cloud][CC-6925] Updates to pushing server state into release/1.17.x (#19810) 2023-12-04 15:34:24 -05:00
session_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
session_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
session_timers.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
session_timers_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
session_ttl.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
session_ttl_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
snapshot_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
snapshot_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
stats_fetcher.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
stats_fetcher_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
status_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
status_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
subscribe_backend.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
subscribe_backend_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
system_metadata.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
system_metadata_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
tenancy_bridge.go add v2 tenancy bridge Flag and v2 Tenancy Bridge initial implementation (#18830) 2023-09-18 12:25:05 -04:00
tenancy_bridge_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
txn_endpoint.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
txn_endpoint_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
type_registry.go Add namespace proto and registration (#18848) 2023-09-20 15:20:20 -04:00
util.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
util_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00