Ticket #6935 (closed defect: invalid)

Opened 2 months ago

Last modified 3 weeks ago

Incorrect comment moderation count

Reported by: dougal Assigned to: anonymous
Priority: normal Milestone:
Component: Administration Version: 2.5.1
Severity: normal Keywords: comments, moderation, cache, caching, object cache
Cc: dougal, ryan

Description

Currently in my dashboard, I'm being told that I have 4 comments awaiting moderation. But I seem to actually have zero. If I click on the "Awaiting Moderation (4)" link, it then tells me "No comments awaiting moderation… yet."

So, how do I reset the counter?

And how did it get out of sync in the first place?

This is with branches/2.5 rev 7899. (2.5.2-alpha, updated 2008-05-07T15:08:00-0000)

Change History

05/08/08 15:43:29 changed by ryan

Are you using a caching backend like memcached, APC, or xcache? They likely need to be updated to mark the "counts" cache group as non-persistent.

05/11/08 18:33:20 changed by dougal

  • cc set to dougal, ryan.
  • keywords changed from comments, moderation to comments, moderation, cache, caching, object cache.

Yes, as a matter of fact, I did add xcache fairly recently. It's not immediately clear to me what I need to do in order to stop it from caching the comment counts.

But shouldn't the core code be updating the cached count as comment statuses change?

05/12/08 15:20:06 changed by ryan

The cache backend needs to change to not persistently cache certain groups. We're going to add API to make this cleaner. See #6740.

06/16/08 22:28:57 changed by ryan

  • status changed from new to closed.
  • resolution set to invalid.

06/17/08 23:51:58 changed by thee17

  • milestone deleted.