Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request kubernetes#30872 from mwielgus/fed-informer-deadlock
Automatic merge from submit-queue Fix deadlock possibility in federated informer On cluster add subinformer locks and tries to add cluster to federated informer. When someone checks if everything is in sync federated informer is locked and then subinformer is inspected what apparently requires a lock. With really bad timing this can create a deadlock. This PR ensures that there is always at most 1 lock taken in federated informer. cc: @quinton-hoole @kubernetes/sig-cluster-federation Fixes: kubernetes#30855
- Loading branch information