Tag counts remain unchanged when post is deleted

No matter the topic is created by admin or user, once deleted by admin, the tag counts in /tag still remain unchanged to both admin and user.

I searched in meta and found that it should be a solved bug long ago, but I encountered this bug just now.

Steps to reproduce:

  1. Create a new topic, and add tag(s) to it
  2. Check tag counts in /tag
  3. Admin delete the topic
  4. Check tag counts again

Discourse version: 2.5.0.beta3 (0e4db91870)

I believe these global counts are updated in a background task and cached heavily so it may take a day for them to appear.


Thank you. I will check again after a day or two.


Yes it’s definitely a cache problem, I can view the correct post count after a day.
Thank you so much.

1 Like