Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

daemon: Remove daemon datastructure dump functionality #62

Merged
merged 1 commit into from
Jun 10, 2017

Conversation

seemethere
Copy link
Contributor

Cherry-picked from: moby/moby#33598

When sending SIGUSR1 to the daemon, it can crash because of a concurrent
map access panic, showing a stack trace involving dumpDaemon. It appears
it's not possible to recover from a concurrent map access panic. Since
it's important that SIGUSR1 not be a destructive operation, sadly the
best course of action I can think of is to remove this functionality.

Signed-off-by: Aaron Lehmann aaron.lehmann@docker.com
(cherry picked from commit a4c68ee)
Signed-off-by: Eli Uriegas eli.uriegas@docker.com

When sending SIGUSR1 to the daemon, it can crash because of a concurrent
map access panic, showing a stack trace involving dumpDaemon. It appears
it's not possible to recover from a concurrent map access panic. Since
it's important that SIGUSR1 not be a destructive operation, sadly the
best course of action I can think of is to remove this functionality.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
(cherry picked from commit a4c68ee)
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM

@andrewhsu andrewhsu mentioned this pull request Jun 10, 2017
40 tasks
@andrewhsu
Copy link
Contributor

LGTM

@andrewhsu andrewhsu merged commit 960ddec into docker-archive:17.06 Jun 10, 2017
@andrewhsu andrewhsu modified the milestone: 17.06.0 Jul 12, 2017
@seemethere seemethere deleted the cherry_pick_33598 branch August 2, 2017 21:34
andrewhsu pushed a commit that referenced this pull request Dec 4, 2017
no need to detect arch for alpine image
Upstream-commit: 33ee027
Component: packaging
docker-jenkins pushed a commit that referenced this pull request Sep 28, 2018
[18.09] backport: tweak bind mount errors
Upstream-commit: e44436c31fce06f9ad69cbb325b781be54516d3e
Component: engine
silvin-lubecki pushed a commit to silvin-lubecki/docker-ce that referenced this pull request Jan 30, 2020
no need to detect arch for alpine image
Upstream-commit: 33ee027
Component: packaging
silvin-lubecki pushed a commit to silvin-lubecki/docker-ce that referenced this pull request Jan 30, 2020
no need to detect arch for alpine image
silvin-lubecki pushed a commit to silvin-lubecki/docker-ce that referenced this pull request Feb 3, 2020
daemon: Remove daemon datastructure dump functionality
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.

4 participants