You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dynamic_modules: per-cluster persistent cross-priority host map via cluster ABI
The cross-priority host map rebuilds itself with a full O(N) make_shared<HostMap>
copy on every membership delta. MainPrioritySetImpl can now back it with an immer
persistent map so a delta is applied in O(delta), selected per cluster via
setUsePersistentCrossPriorityHostMap(). crossPriorityHostMap() returns an abstract
HostLookupTable backed by either the legacy flat map (the default, preserving the
exact prior behavior) or the immer map, and updateDynamicHostList takes a
host-lookup functor so it stays backing-agnostic.
Dynamic-modules clusters opt in through the new
envoy_dynamic_module_callback_cluster_use_persistent_host_map ABI callback (the
DynamicModuleCluster::setUsePersistentHostMap forwarder) and the Rust SDK
EnvoyCluster::set_use_persistent_host_map method. Membership behavior is identical
under either backing.
Signed-off-by: Rohit Agrawal <rohit.agrawal@databricks.com>
0 commit comments