]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: die on bind() failure 20712/head
authorJohn Spray <john.spray@redhat.com>
Mon, 26 Feb 2018 17:11:16 +0000 (17:11 +0000)
committerPrashant D <pdhange@redhat.com>
Mon, 5 Mar 2018 09:46:07 +0000 (04:46 -0500)
commit1a77a1f3f56d03526a70cd63b3cf0271401835c7
tree463248d348e725e8ff428cef0a052abe7ae68412
parenta81e258d3b7a9d62ddf67e99e4cb23b7059b97e8
mgr: die on bind() failure

Previously, the daemon would get wedged if it
competed for the same port as another daemon
on the same host and lost.

Fixes: https://tracker.ceph.com/issues/23037
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 2dca5b436a21f50fd1ec404ac3197fa48a7b1b49)
src/mgr/Mgr.cc