-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Description
Describe the bug
If I add an index to the Informer, and later retrieve resource using byIndex sometimes not the entire set of resources are received. This is caused by the fact that when the informer updates index first it removes the old item later adds it. So when reading the just in time that event is received, it might not return the related item:
I know that it is noted in the Javadoc that this is because it is not fully synchronized, and we probably don't want that since would affect the performance, but maybe we can find a different solution
go client:
https://github.com/kubernetes/cri-client
Fabric8 Kubernetes Client version
7.3.1
Steps to reproduce
Not easy to repdouce, easies is just have an event handler that reads the index.
Expected behavior
all the items are received
Runtime
Kubernetes (vanilla)
Kubernetes API Server version
1.33
Environment
Linux, macOS
Fabric8 Kubernetes Client Logs
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels