]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
SimpleMessenger: Retry binding on addresses if binding fails 3138/head
authorWido den Hollander <wido@42on.com>
Tue, 18 Nov 2014 13:49:00 +0000 (14:49 +0100)
committerWido den Hollander <wido@42on.com>
Wed, 10 Dec 2014 09:56:09 +0000 (10:56 +0100)
commit2d4dca757eaa7572ed4d8a1c798c9c09e5ada3d7
treeac617d9ecf0be489aa33bad65548740178e65c09
parentbc2b9f6bf5fa629e127852720d6ad42ef1276b12
SimpleMessenger: Retry binding on addresses if binding fails

If binding on a IP-Address fails, delay and retry again.

This happens mainly on IPv6 deployments. Due to DAD (Duplicate Address Detection)
or SLAAC it can be that IPv6 is not yet available when the daemons start.

Monitor daemons try to bind on a static IPv6 address and that might not be available
yet and that causes the monitor not to start.

Fixes: #10029
src/common/config_opts.h
src/msg/simple/Accepter.cc