-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Conversation
func (p *pendingContainer) ToContainer() *cluster.Container { | ||
return &cluster.Container{ | ||
Container: dockerclient.Container{ | ||
Names: []string{"/" + p.Name}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we check if name is empty here ?
dabd2dd
to
6b27eec
Compare
This happened. Investigating.
|
aa5aec9
to
b7260f1
Compare
Fixed in last changes |
I personally like the solution with the pending list 👍, this also gets rid of the deadlock with the pull issue. Even though the lock still stays at the scheduler level (but the scheduling decision is fast enough anyway). Will test it and tear it apart to see if there is no more panics when issuing parallel run+create+remove requests. But SGTM! |
Signed-off-by: Andrea Luzzardi <[email protected]>
b7260f1
to
2823444
Compare
Made a few other changes - it's good for review now. |
PTAL |
Aha, more clear than before. 👍 |
LGTM, I'd like to wait for the mesos tests to get back to normal to make sure this PR doesn't break mesos if you don't mind |
LGTM 🍸 (when CI happy) |
I'm reading the commits to understand how it works. Allow me some more time. |
A few things there. Also LGTM when CI pass :):):) Maybe you'd like to remove "WIP:" out of commit |
Signed-off-by: Andrea Luzzardi <[email protected]>
Signed-off-by: Andrea Luzzardi <[email protected]>
Signed-off-by: Andrea Luzzardi <[email protected]>
Signed-off-by: Andrea Luzzardi <[email protected]>
db29713
to
7c0539c
Compare
@chanwit Fixed! Thanks |
…ling Parallel scheduling
Work in progress for parallel scheduling for the Swarm driver.
/cc @abronan @vieux