Currently they use cached values derived from solr. The cache is still fine, but should use mongo count not solr. This ticket should also include a review of the cache invalidation logic.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-07-06
Originally by: algorithms
status: open --> in-progress
assigned_to: Wayne Witzel III
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-07-13
Originally by: algorithms
status: in-progress --> code-review
assigned_to: Wayne Witzel III --> John Hoffmann ☠
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-07-13
Originally by: algorithms
Branch ww/2368 is where the code changes are located. A review of the cache invalidation logic was performed and it was deemed to be sane.
TESTING
Open a project
-- Add the Tracker to the project.
-- Create a ticket under a milestone, ensure count in sidebar is correct.
-- Create another ticket under a milestone, ensure count in sidebar is correct.
See also: [#2087], [#2376]
Related
Tickets:
#2087Tickets:
#2376Originally by: algorithms
Originally by: algorithms
Originally by: algorithms
Branch ww/2368 is where the code changes are located. A review of the cache invalidation logic was performed and it was deemed to be sane.
TESTING
-- Add the Tracker to the project.
-- Create a ticket under a milestone, ensure count in sidebar is correct.
-- Create another ticket under a milestone, ensure count in sidebar is correct.
[wwitzel] nosetests -xv forgetracker.tests.functional.test_root.TestFunctionalController.test_milestonecount
forgetracker.tests.functional.test_root.TestFunctionalController.test_milestone_count ...
Ran 1 test in 7.547s
OK
Looked good, merged to dev.