Analyzing class Piwik\Plugins\CoreAdminHome\Commands\FixDuplicateLogActions
Finds duplicate actions rows in log_action and removes them. Fixes references to duplicate actions in the log_link_visit_action table, log_conversion table, and log_conversion_item table.
Prior to version 2.11, there was a race condition in the tracker where it was possible for two or more actions with the same name and type to be inserted simultaneously. This resulted in inaccurate data. A Piwik database with this problem can be fixed using this class.
With version 2.11 and above, it is still possible for duplicate actions to be inserted, but ONLY if the tracker's PHP process fails suddenly right after inserting an action. This is very rare, and even if it does happen, report data will not be affected, but the extra actions can be deleted w/ this class.
piwik/piwik 15477.x-dev 15414.x-dev 15307.x-dev 6265.x-dev 15534.x-dev 14944.x-dev 14939.x-dev 14054.x-dev 13835.x-dev 15176.x-dev 14744.x-dev 14612.x-dev 14428.x-dev 14395.x-dev 14223.x-dev 14188.x-dev 13989.x-dev 13383.x-dev 13325.x-dev 13272.x-dev 13070.x-dev 11942.x-dev 10801.x-dev 7105.x-dev 5711.x-dev 539.x-dev 11058.x-dev 13246.x-dev 16501.x-dev 16481.x-dev