Skip to content
This repository has been archived by the owner on Sep 18, 2020. It is now read-only.

agent: deserialize waitForPodDeletion check. #150

Merged
merged 1 commit into from
Oct 24, 2017
Merged

Conversation

diegs
Copy link
Contributor

@diegs diegs commented Oct 24, 2017

This adds a sync.WaitGroup to check all pods concurrently and avoid
erroneously extended grace periods.

@dghubble
Copy link
Member

dghubble commented Oct 24, 2017

Let's have the WaitGroups be separate and write the UID check to mirror upstream drain (and handle nil) #151.

@diegs
Copy link
Contributor Author

diegs commented Oct 24, 2017

Ok, do you want me to scope this PR just to the waitgroup fix then?

@dghubble
Copy link
Member

Sure

@diegs diegs changed the title agent: check pod UID during eviction. agent: deserialize waitForPodDeletion check. Oct 24, 2017
Copy link
Member

@dghubble dghubble left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rebase if you haven't already. LGTM

This adds a sync.WaitGroup to check all pods concurrently and avoid
erroneously extended grace periods.
@diegs
Copy link
Contributor Author

diegs commented Oct 24, 2017

Rebased, though strictly not necessary since no conflicts... cc @euank :)

@dghubble dghubble merged commit a9bc42c into coreos:master Oct 24, 2017
@diegs diegs deleted the eviction branch October 24, 2017 22:07
@euank
Copy link
Contributor

euank commented Oct 24, 2017

Our repo allows merge commits. Was it indicating otherwise @dghubble?

@dghubble
Copy link
Member

Habit, looks like its not enforced, which I'm fine with

@dghubble dghubble mentioned this pull request Oct 24, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants