<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/ctdb/utils, branch talloc-2.2.0</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/'/>
<entry>
<title>ctdb_mutex_ceph_rados_helper: revert strtoull_err() usage</title>
<updated>2019-03-01T18:34:18+00:00</updated>
<author>
<name>David Disseldorp</name>
<email>ddiss@samba.org</email>
</author>
<published>2019-03-01T15:40:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=e7351603890c62829f3e33a9dd471ea373a6c470'/>
<id>e7351603890c62829f3e33a9dd471ea373a6c470</id>
<content type='text'>
Compilation currently fails, as ctdb_mutex_ceph_rados_helper doesn't
include or link against the samba-util library. Revert back to the
previous strtoull() behaviour, which works fine.

Signed-off-by: David Disseldorp &lt;ddiss@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;

Autobuild-User(master): Jeremy Allison &lt;jra@samba.org&gt;
Autobuild-Date(master): Fri Mar  1 18:34:18 UTC 2019 on sn-devel-144
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Compilation currently fails, as ctdb_mutex_ceph_rados_helper doesn't
include or link against the samba-util library. Revert back to the
previous strtoull() behaviour, which works fine.

Signed-off-by: David Disseldorp &lt;ddiss@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;

Autobuild-User(master): Jeremy Allison &lt;jra@samba.org&gt;
Autobuild-Date(master): Fri Mar  1 18:34:18 UTC 2019 on sn-devel-144
</pre>
</div>
</content>
</entry>
<entry>
<title>ctdb-utils: Use wrapper for string to integer conversion</title>
<updated>2019-03-01T00:32:11+00:00</updated>
<author>
<name>Swen Schillig</name>
<email>swen@linux.ibm.com</email>
</author>
<published>2019-01-30T09:28:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=fa2c919e1d05a2033ce1cb41a86f8bdd789d68b8'/>
<id>fa2c919e1d05a2033ce1cb41a86f8bdd789d68b8</id>
<content type='text'>
In order to detect an value overflow error during
the string to integer conversion with strtoul/strtoull,
the errno variable must be set to zero before the execution and
checked after the conversion is performed. This is achieved by
using the wrapper function strtoul_err and strtoull_err.

Signed-off-by: Swen Schillig &lt;swen@linux.ibm.com&gt;
Reviewed-by: Ralph Böhme &lt;slow@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to detect an value overflow error during
the string to integer conversion with strtoul/strtoull,
the errno variable must be set to zero before the execution and
checked after the conversion is performed. This is achieved by
using the wrapper function strtoul_err and strtoull_err.

Signed-off-by: Swen Schillig &lt;swen@linux.ibm.com&gt;
Reviewed-by: Ralph Böhme &lt;slow@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ctdb: add expiry test for ctdb_mutex_ceph_rados_helper</title>
<updated>2018-08-09T14:26:36+00:00</updated>
<author>
<name>David Disseldorp</name>
<email>ddiss@samba.org</email>
</author>
<published>2018-07-20T15:20:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=4abf348ec4cbb78d3216d5e8c5f3020d4499f10a'/>
<id>4abf348ec4cbb78d3216d5e8c5f3020d4499f10a</id>
<content type='text'>
Kill the ctdb_mutex_ceph_rados_helper with SIGKILL and then confirm
that the lock is automatically released following expiry.

Signed-off-by: David Disseldorp &lt;ddiss@samba.org&gt;
Reviewed-by: Samuel Cabrero &lt;scabrero@suse.de&gt;
Reviewed-by: Amitay Isaacs &lt;amitay@gmail.com&gt;

Autobuild-User(master): David Disseldorp &lt;ddiss@samba.org&gt;
Autobuild-Date(master): Thu Aug  9 16:26:36 CEST 2018 on sn-devel-144
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Kill the ctdb_mutex_ceph_rados_helper with SIGKILL and then confirm
that the lock is automatically released following expiry.

Signed-off-by: David Disseldorp &lt;ddiss@samba.org&gt;
Reviewed-by: Samuel Cabrero &lt;scabrero@suse.de&gt;
Reviewed-by: Amitay Isaacs &lt;amitay@gmail.com&gt;

Autobuild-User(master): David Disseldorp &lt;ddiss@samba.org&gt;
Autobuild-Date(master): Thu Aug  9 16:26:36 CEST 2018 on sn-devel-144
</pre>
</div>
</content>
</entry>
<entry>
<title>ctdb_mutex_ceph_rados_helper: fix deadlock via lock renewals</title>
<updated>2018-08-09T11:29:15+00:00</updated>
<author>
<name>David Disseldorp</name>
<email>ddiss@samba.org</email>
</author>
<published>2018-07-19T09:55:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=ce289e89e5c469cf2c5626dc7f2666b945dba3bd'/>
<id>ce289e89e5c469cf2c5626dc7f2666b945dba3bd</id>
<content type='text'>
RADOS locks without expiry persist indefinitely. This results in CTDB
deadlock during failover if the recovery master dies unexpectedly, as
subsequently elected recovery master nodes can't obtain the recovery
lock.
Avoid deadlock by using a lock expiration time (10s by default), and
renewing it periodically.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13540

Signed-off-by: David Disseldorp &lt;ddiss@samba.org&gt;
Reviewed-by: Samuel Cabrero &lt;scabrero@suse.de&gt;
Reviewed-by: Amitay Isaacs &lt;amitay@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RADOS locks without expiry persist indefinitely. This results in CTDB
deadlock during failover if the recovery master dies unexpectedly, as
subsequently elected recovery master nodes can't obtain the recovery
lock.
Avoid deadlock by using a lock expiration time (10s by default), and
renewing it periodically.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13540

Signed-off-by: David Disseldorp &lt;ddiss@samba.org&gt;
Reviewed-by: Samuel Cabrero &lt;scabrero@suse.de&gt;
Reviewed-by: Amitay Isaacs &lt;amitay@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ctdb_mutex_ceph_rados_helper: rename timer_ev to ppid_timer_ev</title>
<updated>2018-08-09T11:29:15+00:00</updated>
<author>
<name>David Disseldorp</name>
<email>ddiss@samba.org</email>
</author>
<published>2018-07-17T21:36:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=91a89c146453ca203a83dc2ba555bb93276c4d7f'/>
<id>91a89c146453ca203a83dc2ba555bb93276c4d7f</id>
<content type='text'>
In preparation for adding a lock refresh timer.

Signed-off-by: David Disseldorp &lt;ddiss@samba.org&gt;
Reviewed-by: Samuel Cabrero &lt;scabrero@suse.de&gt;
Reviewed-by: Amitay Isaacs &lt;amitay@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In preparation for adding a lock refresh timer.

Signed-off-by: David Disseldorp &lt;ddiss@samba.org&gt;
Reviewed-by: Samuel Cabrero &lt;scabrero@suse.de&gt;
Reviewed-by: Amitay Isaacs &lt;amitay@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ctdb_mutex_ceph_rados_helper: use talloc destructor for cleanup</title>
<updated>2018-08-09T11:29:15+00:00</updated>
<author>
<name>David Disseldorp</name>
<email>ddiss@samba.org</email>
</author>
<published>2018-07-19T16:46:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=8d30fd591600ac17c742cd78c7bc4056bba6b877'/>
<id>8d30fd591600ac17c742cd78c7bc4056bba6b877</id>
<content type='text'>
Signed-off-by: David Disseldorp &lt;ddiss@samba.org&gt;
Reviewed-by: Samuel Cabrero &lt;scabrero@suse.de&gt;
Reviewed-by: Amitay Isaacs &lt;amitay@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: David Disseldorp &lt;ddiss@samba.org&gt;
Reviewed-by: Samuel Cabrero &lt;scabrero@suse.de&gt;
Reviewed-by: Amitay Isaacs &lt;amitay@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ctdb_mutex_ceph_rados_helper: Set SIGINT signal handler</title>
<updated>2018-08-09T11:29:15+00:00</updated>
<author>
<name>Samuel Cabrero</name>
<email>scabrero@suse.de</email>
</author>
<published>2018-06-15T16:15:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=85706bd27535eaa4ec653f99b1910fbd8f2aab88'/>
<id>85706bd27535eaa4ec653f99b1910fbd8f2aab88</id>
<content type='text'>
Set a handler for SIGINT to release the lock.

Signed-off-by: Samuel Cabrero &lt;scabrero@suse.de&gt;
Reviewed-by: David Disseldorp &lt;ddiss@samba.org&gt;
Reviewed-by: Amitay Isaacs &lt;amitay@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Set a handler for SIGINT to release the lock.

Signed-off-by: Samuel Cabrero &lt;scabrero@suse.de&gt;
Reviewed-by: David Disseldorp &lt;ddiss@samba.org&gt;
Reviewed-by: Amitay Isaacs &lt;amitay@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ctdb-docs: Add ctdb.conf(5) cross references and documentation tweaks</title>
<updated>2018-05-17T02:04:32+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2018-04-21T08:12:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=409b0b797ef345d270f1b0f55bb8691088245c20'/>
<id>409b0b797ef345d270f1b0f55bb8691088245c20</id>
<content type='text'>
Minor updates to other manual pages for compatibility.

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;
Reviewed-by: Amitay Isaacs &lt;amitay@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Minor updates to other manual pages for compatibility.

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;
Reviewed-by: Amitay Isaacs &lt;amitay@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ctdb/pmda: fix num_recoveries metric store</title>
<updated>2018-03-05T15:01:17+00:00</updated>
<author>
<name>David Disseldorp</name>
<email>ddiss@samba.org</email>
</author>
<published>2018-03-05T10:55:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=b4aa16b9edbd9fee9ec2e9cc9c925fbeb7281921'/>
<id>b4aa16b9edbd9fee9ec2e9cc9c925fbeb7281921</id>
<content type='text'>
The num_recoveries metric is declared as PM_TYPE_U32, so should be
used accordingly.

Suggested-by: Nathan Scott &lt;nathans@redhat.com&gt;
Signed-off-by: David Disseldorp &lt;ddiss@samba.org&gt;
Reviewed-by: Andreas Schneider &lt;asn@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The num_recoveries metric is declared as PM_TYPE_U32, so should be
used accordingly.

Suggested-by: Nathan Scott &lt;nathans@redhat.com&gt;
Signed-off-by: David Disseldorp &lt;ddiss@samba.org&gt;
Reviewed-by: Andreas Schneider &lt;asn@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ctdb-pmda: Use modified API in pcp library 4.0</title>
<updated>2018-03-01T23:38:52+00:00</updated>
<author>
<name>Amitay Isaacs</name>
<email>amitay@gmail.com</email>
</author>
<published>2018-03-01T01:32:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=426e4a5a20cff73a80d80b46f15826deac3f934f'/>
<id>426e4a5a20cff73a80d80b46f15826deac3f934f</id>
<content type='text'>
Support backward compatibility by checking for __pmID_int type, which
was previously in &lt;pcp/impl.h&gt;.  In the new version, this type is not
defined anymore and there is no need to include &lt;pcp/impl.h&gt;.

Signed-off-by: Amitay Isaacs &lt;amitay@gmail.com&gt;
Reviewed-by: Martin Schwenke &lt;martin@meltin.net&gt;

Autobuild-User(master): Martin Schwenke &lt;martins@samba.org&gt;
Autobuild-Date(master): Fri Mar  2 00:38:52 CET 2018 on sn-devel-144
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Support backward compatibility by checking for __pmID_int type, which
was previously in &lt;pcp/impl.h&gt;.  In the new version, this type is not
defined anymore and there is no need to include &lt;pcp/impl.h&gt;.

Signed-off-by: Amitay Isaacs &lt;amitay@gmail.com&gt;
Reviewed-by: Martin Schwenke &lt;martin@meltin.net&gt;

Autobuild-User(master): Martin Schwenke &lt;martins@samba.org&gt;
Autobuild-Date(master): Fri Mar  2 00:38:52 CET 2018 on sn-devel-144
</pre>
</div>
</content>
</entry>
</feed>
