Skip to content
This repository has been archived by the owner on Dec 22, 2018. It is now read-only.

Filter out self-generated leader election claim updates #58

Merged
merged 2 commits into from
Jan 10, 2017

Conversation

wongma7
Copy link
Contributor

@wongma7 wongma7 commented Jan 10, 2017

Tests coming soon

This fixes the symptoms of https://github.com/kubernetes-incubator/nfs-provisioner/issues/56 . The underlying issue is caused by something I'm doing wrong with the Watch API.

side-note: leader election stuff is quite expensive, could maybe add a flag to disable it e.g. if you only intend to run one provisioner at a time (I suspect in most cases)

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jan 10, 2017
@wongma7 wongma7 merged commit 5222ea4 into kubernetes-retired:master Jan 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants