dualfroz c43768946e executor: treat a cached function service as invalid during scale-in
IsValid accepted a deployment as long as its status reported an
available replica. When the idle reaper scales the deployment to zero,
Spec.Replicas drops right away but the status can still count the pod
that is shutting down, so a cache hit kept routing requests to it.

Export the availability check from executor/util, make it look at the
spec as well, and use it in the container and newdeploy IsValid paths.
2026-10-18 10:54:32 +02:00
S
Description
My contributions to fission/fission: 5 commits
149 KiB
0 Stars 1 Watchers 0 Forks
Languages
Go 100%