Created on 2021-08-04.10:03:26 by ced, last changed 1 month ago by roundup-bot.
New changeset 5fa140d63759 by Cédric Krier in branch 'default': Add estimation count to ModelStorage https://hg.tryton.org/tryton-env/rev/5fa140d63759
New changeset 6bbc19a57553 by Cédric Krier in branch 'default': Add estimation count to ModelStorage https://hg.tryton.org/trytond/rev/6bbc19a57553 New changeset e82d64fcd8f0 by Cédric Krier in branch 'default': Restore threshold between rebuild and update MPTT https://hg.tryton.org/trytond/rev/e82d64fcd8f0
issue5399 changed from
len(ids) < count / 4 to
len(ids) < 2. But it seems there is a flaw in the reasoning because we count "2 write on average ½ all nodes" but new nodes are mainly added at the end of its branch. For example when adding new main records, their update will update only themselves. It is difficult to get a good average of the number of nodes updated.
So I'm wondering if the previous threshold was not better if we add cache to the counting (as we only need an approximation).
|2021-09-04 19:41:55||roundup-bot||set||messages: + msg69882|
nosy: + roundup-bot
status: testing -> resolved
nosy: + reviewbot
|2021-08-19 12:24:13||ced||set||assignedto: ced|
keyword: + review
status: unread -> testing
Showing 10 items. Show all history (warning: this could be VERY long)