Skip to content

Fixed a nil pointer that happened twice in swarm stack. Rare occurrence. #3222

Closed
frikky wants to merge 1 commit into
moby:masterfrom
frikky:master
Closed

Fixed a nil pointer that happened twice in swarm stack. Rare occurrence. #3222
frikky wants to merge 1 commit into
moby:masterfrom
frikky:master

Conversation

@frikky
Copy link
Copy Markdown

@frikky frikky commented Nov 6, 2025

store.GetTask() seems to have the nil pointer check in every other location we could find it to be used, so I'm sure this is just a small hiccup.

I don't really care if this PR is merged or if you clean it up on your side - the main thing is we need it fixed due to Swarm randomly crashing when you got hundreds of containers in many many services sending jobs back and forth. We have no clear way to reproduce it due to the goroutine madness.

Ref issue from first time it occurred: #3216

@0x0elliot
Copy link
Copy Markdown
Contributor

I will go ahead and fix DCO, then open another PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants