multus-cni icon indicating copy to clipboard operation
multus-cni copied to clipboard

always attempt a live pod get on miss to confirm its really not there

Open dougbtv opened this issue 5 months ago • 1 comments

From openshift pull request:

This makes sure that stale caches never result in NotFound errors.

It was explained to me that informers are almost always are more efficient, and in most cases will work, but a live lookup is appropriate after a number of failures.

This happens only on the retry portion, so we're still getting the benefits of informers, but, on a retry situation, we don't get a cache miss.

dougbtv avatar Sep 11 '24 17:09 dougbtv