<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glusterfs.git/xlators/features/marker/utils/syncdaemon/gsyncd.py, branch v3.3.0qa4</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/'/>
<entry>
<title>gsyncd: do some basic sanitization on logs</title>
<updated>2011-07-29T12:24:43+00:00</updated>
<author>
<name>Csaba Henk</name>
<email>csaba@gluster.com</email>
</author>
<published>2011-07-12T22:52:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=a13fbaca0512cae3853a2372d0d8237eb24dd225'/>
<id>a13fbaca0512cae3853a2372d0d8237eb24dd225</id>
<content type='text'>
- exceptions raised by us will be logged as single-line error messages
  (full stack strace is shown only at DEBUG loglevel)
- common/well understood exceptions are mapped to "user-parsable" error logs

Change-Id: I75f1fb848483372364b2093878d9cfed576c9739
BUG: 2778
Reviewed-on: http://review.gluster.com/125
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Anand Avati &lt;avati@gluster.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- exceptions raised by us will be logged as single-line error messages
  (full stack strace is shown only at DEBUG loglevel)
- common/well understood exceptions are mapped to "user-parsable" error logs

Change-Id: I75f1fb848483372364b2093878d9cfed576c9739
BUG: 2778
Reviewed-on: http://review.gluster.com/125
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Anand Avati &lt;avati@gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gsyncd: log exit properly</title>
<updated>2011-07-28T09:58:46+00:00</updated>
<author>
<name>Csaba Henk</name>
<email>csaba@gluster.com</email>
</author>
<published>2011-07-12T19:59:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=fa979753d9fe27c6338a0d384d0f183ea716003d'/>
<id>fa979753d9fe27c6338a0d384d0f183ea716003d</id>
<content type='text'>
Change-Id: Iedd8c0ce9dec2d8dcb01e0e5b409cb53185b1716
BUG: 2778
Reviewed-on: http://review.gluster.com/82
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Kaushik BV &lt;kaushikbv@gluster.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Iedd8c0ce9dec2d8dcb01e0e5b409cb53185b1716
BUG: 2778
Reviewed-on: http://review.gluster.com/82
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Kaushik BV &lt;kaushikbv@gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>syncdaemon: some refactor on monitor</title>
<updated>2011-05-09T20:27:03+00:00</updated>
<author>
<name>Csaba Henk</name>
<email>csaba@gluster.com</email>
</author>
<published>2011-04-29T06:24:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=6f2ed82bfcfe494ef273bff55cf69480a7472cc5'/>
<id>6f2ed82bfcfe494ef273bff55cf69480a7472cc5</id>
<content type='text'>
- detect faulty state early
- keep the feedback fd in gsyncd module

Signed-off-by: Csaba Henk &lt;csaba@gluster.com&gt;
Signed-off-by: Anand Avati &lt;avati@gluster.com&gt;

BUG: 2537 (gsync autorestart)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2537
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- detect faulty state early
- keep the feedback fd in gsyncd module

Signed-off-by: Csaba Henk &lt;csaba@gluster.com&gt;
Signed-off-by: Anand Avati &lt;avati@gluster.com&gt;

BUG: 2537 (gsync autorestart)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2537
</pre>
</div>
</content>
</entry>
<entry>
<title>syncdaemon: add --normalize-url option</title>
<updated>2011-05-09T20:26:55+00:00</updated>
<author>
<name>Csaba Henk</name>
<email>csaba@gluster.com</email>
</author>
<published>2011-04-29T06:24:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=a8addec412a7d6816e06dbbef2e14022edc6ec39'/>
<id>a8addec412a7d6816e06dbbef2e14022edc6ec39</id>
<content type='text'>
Signed-off-by: Csaba Henk &lt;csaba@gluster.com&gt;
Signed-off-by: Anand Avati &lt;avati@gluster.com&gt;

BUG: 2828 (gluster geo-rep stop should not show unsuccessful when the status is corrupt)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2828
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Csaba Henk &lt;csaba@gluster.com&gt;
Signed-off-by: Anand Avati &lt;avati@gluster.com&gt;

BUG: 2828 (gluster geo-rep stop should not show unsuccessful when the status is corrupt)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2828
</pre>
</div>
</content>
</entry>
<entry>
<title>syncdaemon: have the monitor kill the worker if it does not connect in 60 sec</title>
<updated>2011-04-22T11:05:20+00:00</updated>
<author>
<name>Csaba Henk</name>
<email>csaba@gluster.com</email>
</author>
<published>2011-04-21T16:43:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=775323c1b2fa9a557d3ea74d57e843575f7b1278'/>
<id>775323c1b2fa9a557d3ea74d57e843575f7b1278</id>
<content type='text'>
Signed-off-by: Csaba Henk &lt;csaba@gluster.com&gt;
Signed-off-by: Anand Avati &lt;avati@gluster.com&gt;

BUG: 2736 (gsyncd hangs if crash occurs in the non-main thread)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2736
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Csaba Henk &lt;csaba@gluster.com&gt;
Signed-off-by: Anand Avati &lt;avati@gluster.com&gt;

BUG: 2736 (gsyncd hangs if crash occurs in the non-main thread)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2736
</pre>
</div>
</content>
</entry>
<entry>
<title>syncdaemon: add session-owner option</title>
<updated>2011-04-19T09:30:38+00:00</updated>
<author>
<name>Csaba Henk</name>
<email>csaba@gluster.com</email>
</author>
<published>2011-04-18T17:25:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=8d034b840e957d96a3c3e1f86a3ff28aabb8c896'/>
<id>8d034b840e957d96a3c3e1f86a3ff28aabb8c896</id>
<content type='text'>
Signed-off-by: Csaba Henk &lt;csaba@lowlife.hu&gt;
Signed-off-by: Anand Avati &lt;avati@gluster.com&gt;

BUG: 2785 (gsyncd logs on slave side go to /dev/null)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2785
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Csaba Henk &lt;csaba@lowlife.hu&gt;
Signed-off-by: Anand Avati &lt;avati@gluster.com&gt;

BUG: 2785 (gsyncd logs on slave side go to /dev/null)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2785
</pre>
</div>
</content>
</entry>
<entry>
<title>syncdaemon: implement template substitutions for config values</title>
<updated>2011-04-19T09:30:32+00:00</updated>
<author>
<name>Csaba Henk</name>
<email>csaba@gluster.com</email>
</author>
<published>2011-04-18T17:25:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=369f66ea51506315545501ab3fd4fe87d011a0e5'/>
<id>369f66ea51506315545501ab3fd4fe87d011a0e5</id>
<content type='text'>
So, for example, a log file setting of

  /var/log/${mastervol}/${eSlave}.log

will be substituted with the volume name of the master and the
canonicalized-escaped name of the slave for each master-slave pair.

As template expanders, beyond the various forms and derivatives
of master and slave, the following are also available:
 - gsyncd tunables (set in command line or in config)
 - for regexp sections, regexp group captures can be accessed
   via "match&lt;i&gt;_&lt;n&gt;", where i=1,2 corresponds to the i-th peer-rx
   in the section title and n=1,... to the n-th capture.

This will enable us to have a static configuration (not having to
add new entries on each gsyncd start).

Signed-off-by: Csaba Henk &lt;csaba@lowlife.hu&gt;
Signed-off-by: Anand Avati &lt;avati@gluster.com&gt;

BUG: 2785 (gsyncd logs on slave side go to /dev/null)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2785
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So, for example, a log file setting of

  /var/log/${mastervol}/${eSlave}.log

will be substituted with the volume name of the master and the
canonicalized-escaped name of the slave for each master-slave pair.

As template expanders, beyond the various forms and derivatives
of master and slave, the following are also available:
 - gsyncd tunables (set in command line or in config)
 - for regexp sections, regexp group captures can be accessed
   via "match&lt;i&gt;_&lt;n&gt;", where i=1,2 corresponds to the i-th peer-rx
   in the section title and n=1,... to the n-th capture.

This will enable us to have a static configuration (not having to
add new entries on each gsyncd start).

Signed-off-by: Csaba Henk &lt;csaba@lowlife.hu&gt;
Signed-off-by: Anand Avati &lt;avati@gluster.com&gt;

BUG: 2785 (gsyncd logs on slave side go to /dev/null)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2785
</pre>
</div>
</content>
</entry>
<entry>
<title>syncdaemon: fix swallowing of exit value</title>
<updated>2011-04-19T09:30:03+00:00</updated>
<author>
<name>Csaba Henk</name>
<email>csaba@gluster.com</email>
</author>
<published>2011-04-18T17:21:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=d884d4ce74e3d2c582698c9b54b58b4529472a4e'/>
<id>d884d4ce74e3d2c582698c9b54b58b4529472a4e</id>
<content type='text'>
Signed-off-by: Csaba Henk &lt;csaba@lowlife.hu&gt;
Signed-off-by: Anand Avati &lt;avati@gluster.com&gt;

BUG: 2736 (gsyncd hangs if crash occurs in the non-main thread)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2736
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Csaba Henk &lt;csaba@lowlife.hu&gt;
Signed-off-by: Anand Avati &lt;avati@gluster.com&gt;

BUG: 2736 (gsyncd hangs if crash occurs in the non-main thread)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2736
</pre>
</div>
</content>
</entry>
<entry>
<title>syncdaemon: minor cleanups on termination</title>
<updated>2011-04-17T14:39:15+00:00</updated>
<author>
<name>Csaba Henk</name>
<email>csaba@gluster.com</email>
</author>
<published>2011-04-17T04:45:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=666e43aca607c90d95379caa13b42a4ed976e8a7'/>
<id>666e43aca607c90d95379caa13b42a4ed976e8a7</id>
<content type='text'>
Signed-off-by: Csaba Henk &lt;csaba@gluster.com&gt;
Signed-off-by: Anand Avati &lt;avati@gluster.com&gt;

BUG: 2736 (gsyncd hangs if crash occurs in the non-main thread)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2736
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Csaba Henk &lt;csaba@gluster.com&gt;
Signed-off-by: Anand Avati &lt;avati@gluster.com&gt;

BUG: 2736 (gsyncd hangs if crash occurs in the non-main thread)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2736
</pre>
</div>
</content>
</entry>
<entry>
<title>syncdaemon: yet another try to exit properly</title>
<updated>2011-04-16T11:10:32+00:00</updated>
<author>
<name>Csaba Henk</name>
<email>csaba@gluster.com</email>
</author>
<published>2011-04-15T09:10:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=f727e847133e479a37e86a7feb5826496a7313f7'/>
<id>f727e847133e479a37e86a7feb5826496a7313f7</id>
<content type='text'>
The final cleanup sequence + call to _exit, which was just done in the main
thread, now is called for in each thread when the thread crashes. Seems we
aren't left there hanging this way.

Signed-off-by: Csaba Henk &lt;csaba@gluster.com&gt;
Signed-off-by: Anand Avati &lt;avati@gluster.com&gt;

BUG: 2736 (gsyncd hangs if crash occurs in the non-main thread)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2736
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The final cleanup sequence + call to _exit, which was just done in the main
thread, now is called for in each thread when the thread crashes. Seems we
aren't left there hanging this way.

Signed-off-by: Csaba Henk &lt;csaba@gluster.com&gt;
Signed-off-by: Anand Avati &lt;avati@gluster.com&gt;

BUG: 2736 (gsyncd hangs if crash occurs in the non-main thread)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2736
</pre>
</div>
</content>
</entry>
</feed>
