-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unmoderated-queue count wrong #4134
Comments
Hi there, unfortunately this is a known issue with Coral, counts sometimes get out of sync over time if simultaneous or conflicting requests modify the count data. In the long term we're looking into solutions to address this, in the meantime we do sometimes manually update the database to correct counts on stories we know have incorrect counts. |
Hi, Thanks & BR |
It would be great if there was some sort of management script that resets the counts. |
https://github.com/coralproject/coral-counts |
Hi, @tessalt just wanted to ask if there is any update on this for a fix or if you could guide me with an example update statement for the DB meanwhile. Thx & BR |
Hi there, just to update, we're still aware of this, however it's not a high priority as the general functionality isn't altered, so we don't have a fix planned soon |
Hi,
my Coral installation has some kind of bug with counting how many unmoderated comments there are currently, in the Admin Dashboard.
In the beginning the calculation was correct, but as longer as we are using Coral, the more in the negative numbers it gets.
It is slowly counting down and I have no idea why.
Currently it's at -16 when we have no new comments waiting to be moderated and the number should be actually 0.
I tried to reverse engineer it, but the only thing I found out was, that in the MongoDB it is already stored wrong.
This is a snippet of the only stored site in the mongo db
sites
collection:I did not find any related issues so I opened this ticket now.
Expected behavior:
Count for unmoderated comments is correctly calculated and displayed.
Actual behavior:
Count for unmoderated comments is negative.
Related Issues:
/
Versions:
The text was updated successfully, but these errors were encountered: