diff options
| author | Olivier Dony <odo@odoo.com> | 2021-01-29 18:58:14 +0000 |
|---|---|---|
| committer | Olivier Dony <odo@odoo.com> | 2021-02-01 12:01:48 +0000 |
| commit | 3585c2c38955ece4292da77de7173fb31a6992ba (patch) | |
| tree | c29e108c1f059b5f87a8f889a166db81e0ca7cb3 /addons | |
| parent | 87aef4e3a36d92462454f51960abf7215c5ab7f1 (diff) | |
[FIX] registry: prevent inherited phantom cache clears
This patch complements the previous one by ensuring that any
`cache_invalidated=True` flag inherited from the master process
(pre-fork mode) cannot trigger a cache clear.
This could occur when the first request is served, because the flag was
never clear in the master process, which never server any request.
At the end of `check_signaling()`, the local cache has either been
cleared because a (real) increment of the cache sequence was detected,
or it is considered still valid. The final state of the
`cache_invalidated` flag should reflect this, by being `False`.
closes odoo/odoo#65303
Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Diffstat (limited to 'addons')
0 files changed, 0 insertions, 0 deletions
