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

UPSTREAM: 52092: Fix resource quota controller panic (Drop in 1.8) #16241

Merged
merged 1 commit into from
Sep 8, 2017

Commits on Sep 8, 2017

  1. UPSTREAM: 52092: Fix resource quota controller panic (Drop in 1.8)

    The pod evaluator used by the resource quota controller made direct
    calls to an unsafe pod conversion function which mutates the pod
    argument. With multiple resource quota controller workers, concurrent
    processing of the same pod from a shared informer can result in a panic
    when the conversion code attempts to write to a map field in the pod.
    
    Swap out the direct conversion function call to Scheme.ConvertToVersion,
    which copies the input before conversion.
    ironcladlou committed Sep 8, 2017
    Configuration menu
    Copy the full SHA
    556fe48 View commit details
    Browse the repository at this point in the history