Store activities in TRADITIONAL mode.
It will protect against storing truncated data.
-
Owner
@vpelletier, this change was done for slapos master by Luke long time ago and I'm cleaning up the changes from this "fork".
Do you think it is usefull to merge this change on ERP5 master branch or drop it?
/cc @jm
-
Owner
This is an interesting feature that I didn't know (remember ? luke probably mentioned this issue) of.
I believe it should be enabled for as many CMFActivity queries as possible (I know it cannot be enabled for UPDATE...LIMIT, especially when binlogs are enabled). But please wait for Julien's opinion.
-
Owner
Same opinion. We should go further by doing this for the whole connection instead of only this particular request, and that's actually what we already do in NEO. Note however that if we do this, there's at least one known place to fix: SQLBase_reactivate increments columns without explicitly capping them at the max possible value (something which happens for messages that are retried forever).