<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/tooz.git/tooz/drivers, branch master</title>
<subtitle>opendev.org: openstack/tooz.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/tooz.git/'/>
<entry>
<title>Fix mysql timeout</title>
<updated>2023-04-14T06:03:54+00:00</updated>
<author>
<name>ricolin</name>
<email>rlin@vexxhost.com</email>
</author>
<published>2022-11-22T23:57:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/tooz.git/commit/?id=db64c2175c01f896f40ee2aa420cbb58ce30e4dd'/>
<id>db64c2175c01f896f40ee2aa420cbb58ce30e4dd</id>
<content type='text'>
mysql should support customize timeout when acquire lock.
Curently we only put 0, which will lead to in crush cases,
lock might releases after mysql socket timeout, which is long hrs.

Change-Id: I01aaff4af34b89fe82d985276ba356ce85a910de
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
mysql should support customize timeout when acquire lock.
Curently we only put 0, which will lead to in crush cases,
lock might releases after mysql socket timeout, which is long hrs.

Change-Id: I01aaff4af34b89fe82d985276ba356ce85a910de
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow to pass ssl-related args for zookeeper</title>
<updated>2022-12-08T19:54:11+00:00</updated>
<author>
<name>Dmitriy Rabotyagov</name>
<email>noonedeadpunk@ya.ru</email>
</author>
<published>2022-11-24T11:40:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/tooz.git/commit/?id=f11666b66c668dd731b59369ad3a62a6d16536c6'/>
<id>f11666b66c668dd731b59369ad3a62a6d16536c6</id>
<content type='text'>
Zookeeper does support TLS encryption and authentication for client
connections. There's no reason not to pass these arguments to the kazoo
to allow encrypted connections.

We bump minimum kazoo version to 2.6.0 since change implementin SSL support
has been merged with [1] and was first released with 2.6.0 tag.

[1] https://github.com/python-zk/kazoo/commit/35ce10669ace9d0d7e787793f0d4937d5d389f69

Change-Id: Ied29512989f477a19753afcb789e5588877fd688
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Zookeeper does support TLS encryption and authentication for client
connections. There's no reason not to pass these arguments to the kazoo
to allow encrypted connections.

We bump minimum kazoo version to 2.6.0 since change implementin SSL support
has been merged with [1] and was first released with 2.6.0 tag.

[1] https://github.com/python-zk/kazoo/commit/35ce10669ace9d0d7e787793f0d4937d5d389f69

Change-Id: Ied29512989f477a19753afcb789e5588877fd688
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Enable watch functionality for Etcd3Driver"</title>
<updated>2022-10-12T08:35:27+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2022-10-12T08:35:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/tooz.git/commit/?id=1a76dd61999f9341ed6e7fbf601c030a5ea85c0d'/>
<id>1a76dd61999f9341ed6e7fbf601c030a5ea85c0d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Support etcd3gw api version"</title>
<updated>2022-09-05T16:37:55+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2022-09-05T16:37:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/tooz.git/commit/?id=cb0392ca6b91999c093f458da01c17bd4e4820f8'/>
<id>cb0392ca6b91999c093f458da01c17bd4e4820f8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Support etcd3gw api version</title>
<updated>2022-08-24T15:12:17+00:00</updated>
<author>
<name>Pavlo Shchelokovskyy</name>
<email>shchelokovskyy@gmail.com</email>
</author>
<published>2022-02-02T13:06:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/tooz.git/commit/?id=b64623daeb9e0f94fd5322a1c7e47403f187e7ed'/>
<id>b64623daeb9e0f94fd5322a1c7e47403f187e7ed</id>
<content type='text'>
since etcd3 3.5 dropped support for v3alpha and v3beta api, replacing
those with v3.

etcd3gw library supports passing api_path (v3alpha by default), but tooz
lacks such possibility and thus can not work with etcd3 3.5.

This patch adds handling of "api_version" in the options to
"ectd3+https" connection URLs (defaults to v3alpha as it is today and
corresponds to etcd3 version shipped in major LTS distros at the
moment).

Closes-Bug: #1983668
Depends-On: I49c480f573a4ba8294627a3ce730b816ded10aed
Change-Id: Ib30c1e003f261cd7e1ac6fed87167f9974bf8542
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
since etcd3 3.5 dropped support for v3alpha and v3beta api, replacing
those with v3.

etcd3gw library supports passing api_path (v3alpha by default), but tooz
lacks such possibility and thus can not work with etcd3 3.5.

This patch adds handling of "api_version" in the options to
"ectd3+https" connection URLs (defaults to v3alpha as it is today and
corresponds to etcd3 version shipped in major LTS distros at the
moment).

Closes-Bug: #1983668
Depends-On: I49c480f573a4ba8294627a3ce730b816ded10aed
Change-Id: Ib30c1e003f261cd7e1ac6fed87167f9974bf8542
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Add TLS support for MySQL driver"</title>
<updated>2022-07-15T21:00:16+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2022-07-15T21:00:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/tooz.git/commit/?id=d145b503cadb9bb6e9938effb8170fdcd5680ec9'/>
<id>d145b503cadb9bb6e9938effb8170fdcd5680ec9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "[etcd3gw] create new lease if expired."</title>
<updated>2022-07-15T20:20:25+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2022-07-15T20:20:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/tooz.git/commit/?id=a10db5d089a45da013f2b2875680ceb44d2ac562'/>
<id>a10db5d089a45da013f2b2875680ceb44d2ac562</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix inappropriate logic in memcachedlock.release()</title>
<updated>2022-05-26T09:23:41+00:00</updated>
<author>
<name>zhen</name>
<email>zhen00fa@gmail.com</email>
</author>
<published>2022-05-20T07:57:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/tooz.git/commit/?id=6b2216ebcce5f699b51d7d10b4100eef2dcbd5d0'/>
<id>6b2216ebcce5f699b51d7d10b4100eef2dcbd5d0</id>
<content type='text'>
Whether 'was_deleted' was 'TRUE' or not, eventually we have to remove
self from '_acquired_locks'.
For example:
1. App #1 with coordinator 'A' wants to release lock "b"
2. 'self.coord.client.delete()' failed for some reason(.e.g,
BrokenPipeError,MemcacheUnexpectedCloseError)
3. According to the former logic,lock "b" will not remove
from "_acquired_locks", so "self.heartbeat()" will make it alive
forever until App #1 was down or lock "b" turned expired.
4. Now App #1 with coordinator 'A' wants to acquire lock "c", who
have the same lock-name with lock "b",It is clear that this will
fail and prevent the locked program from continuing to execute.

Change-Id: I6fc33b8e0a88510027bcfc30d1504489d2a91b4e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Whether 'was_deleted' was 'TRUE' or not, eventually we have to remove
self from '_acquired_locks'.
For example:
1. App #1 with coordinator 'A' wants to release lock "b"
2. 'self.coord.client.delete()' failed for some reason(.e.g,
BrokenPipeError,MemcacheUnexpectedCloseError)
3. According to the former logic,lock "b" will not remove
from "_acquired_locks", so "self.heartbeat()" will make it alive
forever until App #1 was down or lock "b" turned expired.
4. Now App #1 with coordinator 'A' wants to acquire lock "c", who
have the same lock-name with lock "b",It is clear that this will
fail and prevent the locked program from continuing to execute.

Change-Id: I6fc33b8e0a88510027bcfc30d1504489d2a91b4e
</pre>
</div>
</content>
</entry>
<entry>
<title>[etcd3gw] create new lease if expired.</title>
<updated>2022-05-25T17:21:42+00:00</updated>
<author>
<name>Mitya_Eremeev</name>
<email>mitossvyaz@mail.ru</email>
</author>
<published>2022-05-23T18:53:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/tooz.git/commit/?id=ae5adcf3874d3ab40a8f6c475b450e72a75f5d23'/>
<id>ae5adcf3874d3ab40a8f6c475b450e72a75f5d23</id>
<content type='text'>
It can happen membership lease can be expired
to the moment of lease refreshing.
In this case heartbeat will try to refresh
expired lease forever without success.
The patch checks if lease expired and create new one.

Closes-Bug: 1975524
Depends-On: https://review.opendev.org/c/openstack/etcd3gw/+/843003
Change-Id: I5017724fd0134f3f0a51f059640e641dd9853ff2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It can happen membership lease can be expired
to the moment of lease refreshing.
In this case heartbeat will try to refresh
expired lease forever without success.
The patch checks if lease expired and create new one.

Closes-Bug: 1975524
Depends-On: https://review.opendev.org/c/openstack/etcd3gw/+/843003
Change-Id: I5017724fd0134f3f0a51f059640e641dd9853ff2
</pre>
</div>
</content>
</entry>
<entry>
<title>Enable watch functionality for Etcd3Driver</title>
<updated>2022-04-11T14:17:22+00:00</updated>
<author>
<name>Ekaterina Chernova</name>
<email>efedorova@mirantis.com</email>
</author>
<published>2022-04-08T11:47:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/tooz.git/commit/?id=c0f6cc0fe5a0ebf43368aab3e8897a0eac0ab489'/>
<id>c0f6cc0fe5a0ebf43368aab3e8897a0eac0ab489</id>
<content type='text'>
Add run_watchers support to Etcd3Driver.

Raise NotImplemented during leader change watch methods
to let corresponding tests pass since only group
membership is supported

Closes-bug: #1968323
Change-Id: Ibd46a3697b59cd22f386e60d29649acc5c5cd88a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add run_watchers support to Etcd3Driver.

Raise NotImplemented during leader change watch methods
to let corresponding tests pass since only group
membership is supported

Closes-bug: #1968323
Change-Id: Ibd46a3697b59cd22f386e60d29649acc5c5cd88a
</pre>
</div>
</content>
</entry>
</feed>
