Skip to content

Resource pruning is never propagated to distributors

In testing a rust library for backend distributors, I noticed that pruned resource information is never properly propagated to distributor channels. This happens because when kraken periodically prunes expired resources, it calls Prune() directly on the Hashring rather than the BackendResources. This means the call to propagateUpdate is skipped.