We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b1e6bc commit 00fc502Copy full SHA for 00fc502
source/common/upstream/cluster_manager_impl.h
@@ -178,8 +178,10 @@ class ClusterManagerImpl : public ClusterManager {
178
179
ClusterManagerImpl& parent_;
180
Event::Dispatcher& thread_local_dispatcher_;
181
- std::unordered_map<std::string, ClusterEntryPtr> thread_local_clusters_;
+ // Cluster entries reference the conn pool map during destruction, so the conn pool map needs
182
+ // to come first.
183
std::unordered_map<ConstHostPtr, ConnPoolsContainer> host_http_conn_pool_map_;
184
+ std::unordered_map<std::string, ClusterEntryPtr> thread_local_clusters_;
185
const HostSet* local_host_set_{};
186
};
187
0 commit comments