Issue 11563

Title
Stopped cache thread are found in Cache._listener preventing cache refreshes
Priority
bug
Status
resolved
Nosy list
nicoe, reviewbot, roundup-bot
Assigned to
nicoe
Keywords
review

Created on 2022-06-10.16:03:55 by nicoe, last changed 2 months ago by roundup-bot.

Messages

New changeset a87d1206c5cc by Nicolas Évrard in branch '6.4':
Catch get_connection errors in Cache listener
https://hg.tryton.org/trytond/rev/a87d1206c5cc

New changeset ae0476e33d82 by Nicolas Évrard in branch '6.2':
Catch get_connection errors in Cache listener
https://hg.tryton.org/trytond/rev/ae0476e33d82

New changeset ffac357d4312 by Nicolas Évrard in branch '6.0':
Catch get_connection errors in Cache listener
https://hg.tryton.org/trytond/rev/ffac357d4312
New changeset 59d883262042 by Nicolas Évrard in branch 'default':
Catch get_connection errors in Cache listener
https://hg.tryton.org/tryton-env/rev/59d883262042
New changeset 7123014d260c by Nicolas Évrard in branch 'default':
Catch get_connection errors in Cache listener
https://hg.tryton.org/trytond/rev/7123014d260c
Author: [hidden] (nicoe) Tryton committer
Date: 2022-06-10.16:03:55

In some cases get_connection could fail in the _listen call, this error is not catched and thus the Cache._listener dictionary keeps a reference to the now dead thread preventing any restart (and thus refresh) of the caches for this (pid, database)

History
Date User Action Args
2022-09-29 16:58:20roundup-botsetkeyword: - backport
messages: + msg78417
2022-09-17 19:01:02roundup-botsetmessages: + msg78198
2022-09-17 19:00:58roundup-botsetmessages: + msg78197
nosy: + roundup-bot
status: testing -> resolved
2022-07-18 22:39:54cedsetkeyword: + backport
2022-07-07 17:14:18reviewbotsetmessages: + msg77291
2022-06-10 16:32:24reviewbotsetmessages: + msg77045
nosy: + reviewbot
2022-06-10 16:26:11nicoesetkeyword: + review
reviews: 411271003
2022-06-10 16:03:55nicoecreate