<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glusterfs.git/geo-replication/syncdaemon/gconf.py, branch v3.5.4beta1</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/'/>
<entry>
<title>geo-replication: Use a md5 based unique control path</title>
<updated>2013-09-04T19:29:04+00:00</updated>
<author>
<name>Harshavardhana</name>
<email>harsha@harshavardhana.net</email>
</author>
<published>2013-08-21T23:28:41+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=fa095c24979db2d0a3a6413aa431fe7256be5206'/>
<id>fa095c24979db2d0a3a6413aa431fe7256be5206</id>
<content type='text'>
A hostname fqdn can be of length 255 according to RFC1123
-------------------------&gt;
/usr/include/bits/posix1_lim.h:#define _POSIX_HOST_NAME_MAX  255
&lt;-------------------------
On linux this length is 64
-------------------------&gt;
/usr/include/bits/local_lim.h:#define HOST_NAME_MAX 64
&lt;-------------------------

When a given hostname is &gt; 45 (characters) - SSH fails with

--------------------------&gt;
"ControlPath too long for Unix domain socket".
&lt;--------------------------

Indicating that the total length of ControlPath which is
on linux should be 108

-------------------------&gt;
/usr/include/linux/un.h:#define UNIX_PATH_MAX   108
&lt;-------------------------

This leads to "faulty" geo-replication status.

This patch brings in a new file called manifest which carries
given a geo-rep session some unique information - with which
a unique `md5` is generated in a 32length digest, this ensures
that we don't exceed UNIX_PATH_MAX limitations instead we use
a conservative approach and still be able to provide a unique
socket path.

Change-Id: I3a6a27d605d751a86e7c82eace4561d9b0134fe1
BUG: 990330
Signed-off-by: Harshavardhana &lt;harsha@harshavardhana.net&gt;
Reviewed-on: http://review.gluster.org/5681
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Csaba Henk &lt;csaba@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A hostname fqdn can be of length 255 according to RFC1123
-------------------------&gt;
/usr/include/bits/posix1_lim.h:#define _POSIX_HOST_NAME_MAX  255
&lt;-------------------------
On linux this length is 64
-------------------------&gt;
/usr/include/bits/local_lim.h:#define HOST_NAME_MAX 64
&lt;-------------------------

When a given hostname is &gt; 45 (characters) - SSH fails with

--------------------------&gt;
"ControlPath too long for Unix domain socket".
&lt;--------------------------

Indicating that the total length of ControlPath which is
on linux should be 108

-------------------------&gt;
/usr/include/linux/un.h:#define UNIX_PATH_MAX   108
&lt;-------------------------

This leads to "faulty" geo-replication status.

This patch brings in a new file called manifest which carries
given a geo-rep session some unique information - with which
a unique `md5` is generated in a 32length digest, this ensures
that we don't exceed UNIX_PATH_MAX limitations instead we use
a conservative approach and still be able to provide a unique
socket path.

Change-Id: I3a6a27d605d751a86e7c82eace4561d9b0134fe1
BUG: 990330
Signed-off-by: Harshavardhana &lt;harsha@harshavardhana.net&gt;
Reviewed-on: http://review.gluster.org/5681
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Csaba Henk &lt;csaba@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>move 'xlators/marker/utils/' to 'geo-replication/' directory</title>
<updated>2013-07-22T08:53:03+00:00</updated>
<author>
<name>Avra Sengupta</name>
<email>asengupt@redhat.com</email>
</author>
<published>2013-05-27T16:53:57+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=950371be29d029179ac5cd0ad2dfdbfcd4467b96'/>
<id>950371be29d029179ac5cd0ad2dfdbfcd4467b96</id>
<content type='text'>
Change-Id: Ibd0faefecc15b6713eda28bc96794ae58aff45aa
BUG: 847839
Original Author: Amar Tumballi &lt;amarts@redhat.com&gt;
Signed-off-by: Avra Sengupta &lt;asengupt@redhat.com&gt;
Reviewed-on: http://review.gluster.org/5133
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Vijay Bellur &lt;vbellur@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ibd0faefecc15b6713eda28bc96794ae58aff45aa
BUG: 847839
Original Author: Amar Tumballi &lt;amarts@redhat.com&gt;
Signed-off-by: Avra Sengupta &lt;asengupt@redhat.com&gt;
Reviewed-on: http://review.gluster.org/5133
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Vijay Bellur &lt;vbellur@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
