Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround for too large RV error #1004

Open
wants to merge 1 commit into
base: kmr2
Choose a base branch
from

Conversation

akhilamohanan
Copy link
Contributor

When apiserver comes up, watch cache (from where watch requests are served)
of each resource is initialized with the latest global resource version(which
might not be the RV of the specific resource we are looking for) and after
that it updates watch cache with all the resources in the cluster and proper
RV of resource is updated in watch cache. If client starts/resume watch
immediately will get "Too large resource version" which will be recovered
when watch cache of api-server is synced

Added retry when "Too large resource version" is seen

(cherry picked from commit bb131e7)

When apiserver comes up, watch cache (from where watch requests are served)
of each resource is initialized with the latest global resource version(which
might not be the RV of the specific resource we are looking for) and after
that it updates watch cache with all the resources in the cluster and proper
RV of resource is updated in watch cache. If client starts/resume watch
immediately will get "Too large resource version" which will be recovered
when watch cache of api-server is synced

Added retry when "Too large resource version" is seen

(cherry picked from commit bb131e7)
@akhilamohanan akhilamohanan requested a review from snaiksat April 8, 2022 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant