dynamic_modules: per-cluster persistent cross-priority host map via cluster ABI#45842
dynamic_modules: per-cluster persistent cross-priority host map via cluster ABI#45842agrawroh wants to merge 1 commit into
Mobile/Android (success)
Check has finished
Details
Check run finished (success ✔️)
The check run can be viewed here:
Mobile/Android (pr/45842/main@472904b)
Check started by
Request (pr/45842/main@472904b)
@agrawroh
472904b #45842
merge main@467ee8f
dynamic_modules: per-cluster persistent cross-priority host map via cluster ABI
Description
This PR adds an opt-in persistent backing for a cluster's cross-priority host map. A dynamic modules cluster can call the new
envoy_dynamic_module_callback_cluster_use_persistent_host_mapcallback during cluster init
to replace the default flat copy-on-write map with animmerpersistent map, turning each membership update from anO(N)copy into anO(delta)update.The map is published through a new
HostLookupTableinterface so the backing is swappable without changing consumers. The flat map stays the default and membership behavior is identical under either backing.
Commit Message: dynamic_modules: per-cluster persistent cross-priority host map via cluster ABI
Risk Level: Low
Testing: Added Tests
Docs Changes: Added
Release Notes: Added
Environment
Request variables
| Key | Value |
|---|---|
| ref | e91b2d1 |
| sha | 472904b |
| pr | 45842 |
| base-sha | 467ee8f |
| actor | |
| message | dynamic_modules: per-cluster persistent cross-priority host map via cluster ABI... |
| started | 1782501365.262266 |
| target-branch | main |
| trusted | false |
Build image
Container image/s (as used in this CI run)
| Key | Value |
|---|---|
| default | docker.io/envoyproxy/envoy-build:v0.1.6 |
| mobile | docker.io/envoyproxy/envoy-build:mobile-v0.1.6 |
Version
Envoy version (as used in this CI run)
| Key | Value |
|---|---|
| major | 1 |
| minor | 39 |
| patch | 0 |
| dev | true |