<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/taskflow.git/taskflow/persistence/backends/impl_sqlalchemy.py, branch 2.9.0</title>
<subtitle>opendev.org: openstack/taskflow.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/'/>
<entry>
<title>Replace retrying with tenacity</title>
<updated>2016-11-03T13:36:16+00:00</updated>
<author>
<name>Gevorg Davoian</name>
<email>gdavoian@mirantis.com</email>
</author>
<published>2016-10-24T21:22:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=1a2370ac917ed1f888ef98a45270912b08f27844'/>
<id>1a2370ac917ed1f888ef98a45270912b08f27844</id>
<content type='text'>
This patch replaces the legacy retrying library with the newer
and more convenient tenacity one, taking into account that:
1) retrying uses milliseconds for wait times, but tenacity uses seconds;
2) retrying has a lot of numeric arguments for specifying behaviour
of decorated functions, while tenacity has a few of them, which are
specialized objects, thus making the retry-decorator more flexible.

Change-Id: I4b165d37b2ecc210f2b94c103b73eaab51529261
Closes-Bug: #1635404
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch replaces the legacy retrying library with the newer
and more convenient tenacity one, taking into account that:
1) retrying uses milliseconds for wait times, but tenacity uses seconds;
2) retrying has a lot of numeric arguments for specifying behaviour
of decorated functions, while tenacity has a few of them, which are
specialized objects, thus making the retry-decorator more flexible.

Change-Id: I4b165d37b2ecc210f2b94c103b73eaab51529261
Closes-Bug: #1635404
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure upgrade for sqlalchemy is protected by a lock</title>
<updated>2016-03-20T23:23:03+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@gmail.com</email>
</author>
<published>2016-03-20T23:23:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=89e023b6ad4e4df257ec81a7bebc789301168d03'/>
<id>89e023b6ad4e4df257ec81a7bebc789301168d03</id>
<content type='text'>
Make sure that upgrade() is thread-safe (as it appears not
to be) by using a lock that all connections from the same
engine will use.

Change-Id: I2b2b1be9e797099c8412fc6819465e550b1b934a
Closes-Bug: #1559496
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make sure that upgrade() is thread-safe (as it appears not
to be) by using a lock that all connections from the same
engine will use.

Change-Id: I2b2b1be9e797099c8412fc6819465e550b1b934a
Closes-Bug: #1559496
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Use the retrying lib. to do basic sqlalchemy engine validation"</title>
<updated>2016-01-09T01:27:54+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2016-01-09T01:27:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=8bd70574db1233dcc612ec2c899b998060bb4a26'/>
<id>8bd70574db1233dcc612ec2c899b998060bb4a26</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use the retrying lib. to do basic sqlalchemy engine validation</title>
<updated>2016-01-06T06:34:43+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2015-12-22T23:13:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=25dca8eb593caf821b29a27f120bdcbd0e223024'/>
<id>25dca8eb593caf821b29a27f120bdcbd0e223024</id>
<content type='text'>
Instead of a custom loop and backoff just use the retrying
library to do this same code and delegate the loop complexity
to it instead.

Change-Id: Iaf02cc728d2a2cfc7077300e03d7ef25522717b7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of a custom loop and backoff just use the retrying
library to do this same code and delegate the loop complexity
to it instead.

Change-Id: Iaf02cc728d2a2cfc7077300e03d7ef25522717b7
</pre>
</div>
</content>
</entry>
<entry>
<title>Move all internal blather usage/calls to trace usage/calls</title>
<updated>2015-12-18T06:39:14+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@gmail.com</email>
</author>
<published>2015-12-18T06:38:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=522ea984891b4cf1cac304bebb0d4c1f38a6b0ea'/>
<id>522ea984891b4cf1cac304bebb0d4c1f38a6b0ea</id>
<content type='text'>
Change-Id: I415a81d3b6b15b17a9a91cc2a0681c159172a4e1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I415a81d3b6b15b17a9a91cc2a0681c159172a4e1
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Address concurrent mutation of sqlalchemy backend"</title>
<updated>2015-07-17T18:25:33+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2015-07-17T18:25:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=3db3b86f021ae46e2914ddeb44053069bce0e7fc'/>
<id>3db3b86f021ae46e2914ddeb44053069bce0e7fc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename logbook module -&gt; models module</title>
<updated>2015-07-09T00:04:35+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2015-06-10T01:19:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=1e3dc09453e7e179fba613b61317ebad1556b77b'/>
<id>1e3dc09453e7e179fba613b61317ebad1556b77b</id>
<content type='text'>
Since this module contains more than the logbook
class and really is a our generic models that are used
to hold the runtime structure it is more appropriate to
place it under a models module and deprecate the usage
of the old module by placing a warning there (so that
when it is imported that warning is triggered).

Change-Id: I79def5ee08f560d38f2c9dcefd0b33becc2a4d36
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since this module contains more than the logbook
class and really is a our generic models that are used
to hold the runtime structure it is more appropriate to
place it under a models module and deprecate the usage
of the old module by placing a warning there (so that
when it is imported that warning is triggered).

Change-Id: I79def5ee08f560d38f2c9dcefd0b33becc2a4d36
</pre>
</div>
</content>
</entry>
<entry>
<title>Make it possible to see the queries executed (in BLATHER mode)</title>
<updated>2015-06-20T16:06:55+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2015-06-11T22:38:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=9604703c5996063354c665af8b71c2d413faa41e'/>
<id>9604703c5996063354c665af8b71c2d413faa41e</id>
<content type='text'>
Part of blueprint make-things-speedy

Change-Id: I3ac092e98a492d3a70c7780efb4647d593fa70d1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Part of blueprint make-things-speedy

Change-Id: I3ac092e98a492d3a70c7780efb4647d593fa70d1
</pre>
</div>
</content>
</entry>
<entry>
<title>Address concurrent mutation of sqlalchemy backend</title>
<updated>2015-06-15T22:14:02+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2015-03-31T01:22:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=1f3752cb108d85c850113904d6b1308fbc1a53c1'/>
<id>1f3752cb108d85c850113904d6b1308fbc1a53c1</id>
<content type='text'>
In order to prevent a thread from closing a backend
while another thread is getting a connection (which
can result in an engine being created) stop this kind
of concurrent mutation by creating a engine (if it
was not user provided) in the constructor.

In the close the engine dispose is called (which will
according to the docs just create a new pool anyway)
so there is no need to recreate the full engine object
from its same configuration again.

Change-Id: Id1fa3001b3ebbe76bbcdb08ed4add6a9e16ea96b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to prevent a thread from closing a backend
while another thread is getting a connection (which
can result in an engine being created) stop this kind
of concurrent mutation by creating a engine (if it
was not user provided) in the constructor.

In the close the engine dispose is called (which will
according to the docs just create a new pool anyway)
so there is no need to recreate the full engine object
from its same configuration again.

Change-Id: Id1fa3001b3ebbe76bbcdb08ed4add6a9e16ea96b
</pre>
</div>
</content>
</entry>
<entry>
<title>Move implementations into there own sub-sections</title>
<updated>2015-05-02T00:53:41+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2015-05-02T00:05:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/taskflow.git/commit/?id=46d30eeb29599f698ef95ddc343776d1ebb6b989'/>
<id>46d30eeb29599f698ef95ddc343776d1ebb6b989</id>
<content type='text'>
Also fixes up some inline-code/examples docs to
correctly display in the generated docs (and
tweaks some URI capitalization).

Change-Id: I001ef2460eb5e9a884ca6db6e8d6f72864191fe7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also fixes up some inline-code/examples docs to
correctly display in the generated docs (and
tweaks some URI capitalization).

Change-Id: I001ef2460eb5e9a884ca6db6e8d6f72864191fe7
</pre>
</div>
</content>
</entry>
</feed>
