This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author melwitt
Recipients gregory.p.smith, melwitt, vinay.sajip, vstinner
Date 2020-04-08.01:58:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586311123.56.0.95451660113.issue40091@roundup.psfhosted.org>
In-reply-to
Content
Thank you for explaining those details and pointing me in the right direction about the proper way to solve the problem in oslo.db.

We still have to support python 3.6, so for now we will still need to do something different (in nova) to handle this (clear our cache of oslo.db _TransactionContextManager during oslo.service start(), is what I have proposed).

For those running python 3.7 and newer, I will try to fix the situation more generally in oslo.db with os.register_at_fork() using the examples you gave.

Thank you again for your help, I have learned a lot.
History
Date User Action Args
2020-04-08 01:58:43melwittsetrecipients: + melwitt, gregory.p.smith, vinay.sajip, vstinner
2020-04-08 01:58:43melwittsetmessageid: <1586311123.56.0.95451660113.issue40091@roundup.psfhosted.org>
2020-04-08 01:58:43melwittlinkissue40091 messages
2020-04-08 01:58:43melwittcreate