mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 22:06:20 +00:00
Pass txn into service list queries
This commit is contained in:
parent
86ff9065c1
commit
4cb9fdc27f
@ -983,7 +983,7 @@ func (s *Store) IntentionTopology(ws memdb.WatchSet,
|
||||
}
|
||||
}
|
||||
|
||||
index, allServices, err := s.ServiceList(ws, func(svc *structs.ServiceNode) bool {
|
||||
index, allServices, err := serviceListTxn(tx, ws, func(svc *structs.ServiceNode) bool {
|
||||
// Only include ingress gateways as downstreams, since they cannot receive service mesh traffic
|
||||
// TODO(freddy): One remaining issue is that this includes non-Connect services (typical services without a proxy)
|
||||
// Ideally those should be excluded as well, since they can't be upstreams/downstreams without a proxy.
|
||||
|
Loading…
x
Reference in New Issue
Block a user