[Bugs] [Bug 1343926] New: port-map: let brick choose its own port
bugzilla at redhat.com
bugzilla at redhat.com
Wed Jun 8 10:43:07 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1343926
Bug ID: 1343926
Summary: port-map: let brick choose its own port
Product: GlusterFS
Version: mainline
Component: rpc
Assignee: bugs at gluster.org
Reporter: prasanna.kalever at redhat.com
CC: bugs at gluster.org
Description of problem:
In the current implementation, glusterd will choose a free port and pass
that to brick which need to bind on it, if you observe carefully there is
window
open for race here. In case, if the passed port was consumed by some other
processes then brick will fail to bind. In the recent past we have addressed
this issue by returning EADDRINUSE from brick to glusterd after which glusterd
will allocate a port from refreshed free ports list, but I feel that's kind of
too much of automation and also a hacky way.
Version-Release number of selected component (if applicable):
mainline
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list