Closed (won't fix)
Project:
Voting API
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Sep 2011 at 08:50 UTC
Updated:
7 Dec 2017 at 08:38 UTC
Jump to comment: Most recent
Comments
Comment #1
mauritsl commentedThese tables are filled by the votingapi module. Rate does only do a call to votingapi_set_votes().
But I have seen such problems as well. It's often the case that you will not have the problem on another server as it might have to do with delays in MySQL's INSERT / UPDATE execution.
You may try to set the tallying settings of votingapi to tally the results in cron instead of directly. But that affects the rate widgets; they will not show the new ratings directly after voting.
This issue needs to be fixed in votingapi, probably using table locking.
What version of votingapi are you using?
Do you use other modules which affects rating or uses votingapi in some way?
Comment #2
Dandily commentedThank you! It seems that you're right completely. Afther vote updates switched to cron we see no duplicates. Also site load is lower now.
Comment #3
mauritsl commentedstill an issue
Comment #4
legolasboDrupal 6 is no longer supported. Closing old issues to clean up the issue queue.
Please reopen and update this issue if this is still an issue in the D7 or D8 version.