Automatically clear cache when the data it contains changes
Bug #779833 reported by
Joey Stanford
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Summit |
Fix Released
|
Critical
|
Michael Hall |
Bug Description
When a track lead moves a session by hand the old room remains in the cache and appears on the by track view. This was especially confusing today when we move a session from Tuesday in Ond to Monday in Kond. Dave cleared the cache and it fixed the problem. Perhaps we need to expire the cache every hour and/or make a UI button in the admin interface to clear the cache.
Related branches
lp://staging/~mhall119/summit/fix-cache
- Nigel Babu (community): Approve
-
Diff: 114 lines (+91/-0)2 files modifiedsummit/schedule/models/__init__.py (+2/-0)
summit/schedule/tests.py (+89/-0)
Changed in summit: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
tags: | added: linaro |
summary: |
- summit cache shows old room in track view when session is moved by hand + Automatically clear cache when the data it contains changes |
Changed in summit: | |
status: | Confirmed → In Progress |
assignee: | nobody → Michael Hall (mhall119) |
Changed in summit: | |
status: | In Progress → Fix Committed |
Changed in summit: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The cache should auto-clear when changes are made if at all possible. That will avoid these issues without having to have an admin do something.