<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glusterfs.git/xlators/features/marker/utils/syncdaemon/master.py, branch v3.2.1</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/'/>
<entry>
<title>syncdaemon: some refactor on monitor</title>
<updated>2011-05-31T17:01:41+00:00</updated>
<author>
<name>Csaba Henk</name>
<email>csaba@gluster.com</email>
</author>
<published>2011-05-31T11:06:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=a2b30a1848ee69854c1de87cd1e3d1d74e96a964'/>
<id>a2b30a1848ee69854c1de87cd1e3d1d74e96a964</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

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

BUG: 2537 (gsync autorestart)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2537
</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: force termination for unhandled exception in any thread</title>
<updated>2011-04-13T11:43:06+00:00</updated>
<author>
<name>Csaba Henk</name>
<email>csaba@gluster.com</email>
</author>
<published>2011-04-13T01:46:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=e5c38128fa76b3e11047d49448aab77d3a551804'/>
<id>e5c38128fa76b3e11047d49448aab77d3a551804</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: streamline user-visible messages (and control flow a bit, too)</title>
<updated>2011-04-13T11:43:02+00:00</updated>
<author>
<name>Csaba Henk</name>
<email>csaba@gluster.com</email>
</author>
<published>2011-04-13T01:46:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=13d1856a40122008dee35a96771f832945c220f8'/>
<id>13d1856a40122008dee35a96771f832945c220f8</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: 2644 (no volume-mark, if the behaviour persists have to check if master gsyncd is running.)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2644
</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: 2644 (no volume-mark, if the behaviour persists have to check if master gsyncd is running.)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2644
</pre>
</div>
</content>
</entry>
<entry>
<title>syncdaemon: minor fixes</title>
<updated>2011-04-13T11:42:44+00:00</updated>
<author>
<name>Csaba Henk</name>
<email>csaba@gluster.com</email>
</author>
<published>2011-04-13T01:46:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=c0139158ae8992513e93932d8670b5db8605ead2'/>
<id>c0139158ae8992513e93932d8670b5db8605ead2</id>
<content type='text'>
- whitespace fix
- remove superfluous imports

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

BUG: 1570 (geosync related changes)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1570
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- whitespace fix
- remove superfluous imports

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

BUG: 1570 (geosync related changes)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1570
</pre>
</div>
</content>
</entry>
<entry>
<title>syncdaemon: fix setting None as new master</title>
<updated>2011-04-11T10:52:25+00:00</updated>
<author>
<name>Csaba Henk</name>
<email>csaba@gluster.com</email>
</author>
<published>2011-04-11T04:09:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=dd3cc7d398c3b4432097b7cc2716e2afec9a8e47'/>
<id>dd3cc7d398c3b4432097b7cc2716e2afec9a8e47</id>
<content type='text'>
We checked for the event of a new master being adopted by:
- checking for state change in list of masters
- checking if our chosen master is a foreign one
and if these held, then wrote out the actually available master to config

However this was flaky: if
(1) native master changed
(2) there was already a foreign master adopted
(3) actually the master was not available
then we wrote out the None to config.

This could occur if:
- on syncd startup, native master just changes from None to the volume native
  [implies (1)]
- foreign master adopted from earlier run via config [implies (2)]
- actually foreign master was not available [implies (3)]

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

BUG: 2670 (strange behaviour with intermediate-master and slave)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2670
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We checked for the event of a new master being adopted by:
- checking for state change in list of masters
- checking if our chosen master is a foreign one
and if these held, then wrote out the actually available master to config

However this was flaky: if
(1) native master changed
(2) there was already a foreign master adopted
(3) actually the master was not available
then we wrote out the None to config.

This could occur if:
- on syncd startup, native master just changes from None to the volume native
  [implies (1)]
- foreign master adopted from earlier run via config [implies (2)]
- actually foreign master was not available [implies (3)]

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

BUG: 2670 (strange behaviour with intermediate-master and slave)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2670
</pre>
</div>
</content>
</entry>
<entry>
<title>syncdaemon: add monitor mode to support autorestart</title>
<updated>2011-04-04T15:02:27+00:00</updated>
<author>
<name>Csaba Henk</name>
<email>csaba@lowlife.hu</email>
</author>
<published>2011-04-02T19:40:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=01b3dff29adee2041b0ef1b374eda8c88fb07678'/>
<id>01b3dff29adee2041b0ef1b374eda8c88fb07678</id>
<content type='text'>
Signed-off-by: Csaba Henk &lt;csaba@gluster.com&gt;
Signed-off-by: Vijay Bellur &lt;vijay@dev.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>
Signed-off-by: Csaba Henk &lt;csaba@gluster.com&gt;
Signed-off-by: Vijay Bellur &lt;vijay@dev.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: give some refactoring to cascading code</title>
<updated>2011-04-04T15:02:18+00:00</updated>
<author>
<name>Csaba Henk</name>
<email>csaba@gluster.com</email>
</author>
<published>2011-04-02T19:40:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=cfb9c834f96dc57c47dac8d27da4266d0dab1f3f'/>
<id>cfb9c834f96dc57c47dac8d27da4266d0dab1f3f</id>
<content type='text'>
- expiry check of foreign volinfo moved back to GLUSTERServer,
  so that under the hood we can removexattr the expired ones;
  a nice side-effect is that we can use the same dict layout
  for foreign and native volinfo (ie., foreign needs no
  timeout field)
- get_volinfo() is renamed to get_sys_volinfo() and most of the logic
  is stripped off of it (what remained there is the check
  against foreign master ambiguity)
- volinfo transition logic is cut out to an almost purely functional
  static method (only impurity is the exeption raised upon
  forbidden volinfo change)
- ping renamed to keep-alive, as something called "ping" is
  not supposed to have payload (yeah, keep-alive is a bit fishy
  on this front too, but could not come up with better...)

Signed-off-by: Csaba Henk &lt;csaba@gluster.com&gt;
Signed-off-by: Vijay Bellur &lt;vijay@dev.gluster.com&gt;

BUG: 2535 (gsync cascading)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2535
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- expiry check of foreign volinfo moved back to GLUSTERServer,
  so that under the hood we can removexattr the expired ones;
  a nice side-effect is that we can use the same dict layout
  for foreign and native volinfo (ie., foreign needs no
  timeout field)
- get_volinfo() is renamed to get_sys_volinfo() and most of the logic
  is stripped off of it (what remained there is the check
  against foreign master ambiguity)
- volinfo transition logic is cut out to an almost purely functional
  static method (only impurity is the exeption raised upon
  forbidden volinfo change)
- ping renamed to keep-alive, as something called "ping" is
  not supposed to have payload (yeah, keep-alive is a bit fishy
  on this front too, but could not come up with better...)

Signed-off-by: Csaba Henk &lt;csaba@gluster.com&gt;
Signed-off-by: Vijay Bellur &lt;vijay@dev.gluster.com&gt;

BUG: 2535 (gsync cascading)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2535
</pre>
</div>
</content>
</entry>
<entry>
<title>syncdaemon: fix up fallback xtime value for slave</title>
<updated>2011-04-01T18:19:05+00:00</updated>
<author>
<name>Csaba Henk</name>
<email>csaba@gluster.com</email>
</author>
<published>2011-03-31T05:58:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=913da6c337cfe342d60f3773057a14d645248421'/>
<id>913da6c337cfe342d60f3773057a14d645248421</id>
<content type='text'>
Signed-off-by: Csaba Henk &lt;csaba@gluster.com&gt;
Signed-off-by: Vijay Bellur &lt;vijay@dev.gluster.com&gt;

BUG: 2535 (gsync cascading)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2535
</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: Vijay Bellur &lt;vijay@dev.gluster.com&gt;

BUG: 2535 (gsync cascading)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2535
</pre>
</div>
</content>
</entry>
<entry>
<title>Gsyncd: Cascading of gsync daemons</title>
<updated>2011-03-29T15:46:20+00:00</updated>
<author>
<name>Kaushik BV</name>
<email>kaushikbv@gluster.com</email>
</author>
<published>2011-03-29T09:10:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=4597929cc527f8abaf9ef9e1d5499ea416e5c7ff'/>
<id>4597929cc527f8abaf9ef9e1d5499ea416e5c7ff</id>
<content type='text'>
This patch allows the slave of a gsyncd to be started as the master of another slave gsyncd.

Signed-off-by: Kaushik BV &lt;kaushikbv@gluster.com&gt;
Signed-off-by: Vijay Bellur &lt;vijay@dev.gluster.com&gt;

BUG: 2535 (gsync cascading)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2535
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch allows the slave of a gsyncd to be started as the master of another slave gsyncd.

Signed-off-by: Kaushik BV &lt;kaushikbv@gluster.com&gt;
Signed-off-by: Vijay Bellur &lt;vijay@dev.gluster.com&gt;

BUG: 2535 (gsync cascading)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2535
</pre>
</div>
</content>
</entry>
</feed>
