Tryton - Issues

 

Issue8019

Title Prevent older transaction to fill cache
Priority feature Status resolved
Superseder Nosy List ced, reviewbot, roundup-bot
Type feature request Components trytond
Assigned To ced Keywords review
Reviews 56541002
View: 56541002

Created on 2019-01-21.16:19:46 by ced, last changed by roundup-bot.

Messages
New changeset b07e96815eef by Cédric Krier in branch 'default':
Prevent filling cache with data from old transaction
https://hg.tryton.org/tryton-env/rev/b07e96815eef
New changeset caa9f914ee22 by Cédric Krier in branch 'default':
Prevent filling cache with data from old transaction
https://hg.tryton.org/trytond/rev/caa9f914ee22
review56541002 updated at https://codereview.tryton.org/56541002/#ps40001
review56541002 updated at https://codereview.tryton.org/56541002/#ps20001
New review56541002 at https://codereview.tryton.org/56541002/#ps1
msg46111 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2019-01-21.16:19:45
Following issue7975, there are other cases where the cache could be filled with old data.
If a transaction started before the one who clear the cache and it is not yet committed. The old transaction may still want to fill the cache but its data are not necessary up to date as the transaction started before the one who modified the data (DB transactions have repeatable read isolation level).
History
Date User Action Args
2019-03-02 23:11:39roundup-botsetmessages: + msg47312
2019-03-02 23:11:32roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg47311
2019-02-06 20:16:16reviewbotsetmessages: + msg46802
2019-02-06 20:06:33cedsetreviews: 8019, 56541002 -> 56541002
2019-01-22 15:47:59cedlinkissue8027 superseder
2019-01-22 01:10:11reviewbotsetmessages: + msg46136
2019-01-21 17:40:12reviewbotsetnosy: + reviewbot
messages: + msg46118
2019-01-21 17:40:11reviewbotsetreviews: 8019 -> 8019, 56541002
2019-01-21 17:27:20cedsetstatus: in-progress -> testing
reviews: 8019
keyword: + review
2019-01-21 16:19:46cedcreate