Closed Bug 918124 Opened 11 years ago Closed 11 years ago

Collection curators API suffers from caching issues

Categories

(Marketplace Graveyard :: API, defect, P2)

x86
macOS
defect

Tracking

(Not tracked)

VERIFIED FIXED
2013-10-01

People

(Reporter: basta, Assigned: chuck)

References

Details

(Whiteboard: p=2)

Adding and removing curators returns a list that does not reflect the changes made by the request. I.e.: adding a curator returns a list of the collection's curators that does not include the most recently added curator.
how i this different from 917336?
(In reply to Allen Short [:ashort] from comment #2) > how i this different from 917336? This one is about collection curators, that one is about collections.
It seems that this is probably a caching issue. It doesn't seem to return an empty list anymore when you're adding the first curator, but the second curator you add has the issue. Also, the API-Pinned header is set to true.
Summary: Collection curators API suffers from pinning issues → Collection curators API suffers from caching issues
Assignee: nobody → charmston
Status: NEW → ASSIGNED
Priority: -- → P2
This one was a caching issue; cache-machine doesn't appear to invalidate caches when an M2M field is modified. https://github.com/mozilla/zamboni/compare/910ebd5bce02...bd274d3ca7b8 There are potential scale implications with this commit; since we're invalidating UserProfile objects, there are a large number of unrelated querysets that could also be invalidated as a result. [qa-] because the rocketfuel client team is in the best place to validate this.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [qa-] p=2
I'm still seeing the issue on -dev, for both adding as well as removing curators to a collection. All of the requests show `API-Pinned: true`
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Whiteboard: [qa-] p=2 → p=2
Potential fix to a theory that it wasn't working due to a latency/race condition kind of issue: https://github.com/mozilla/zamboni/compare/bd274d3ca7b8...ac80caca0bc9
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Seems to be good now!
Status: RESOLVED → VERIFIED
Target Milestone: --- → 2013-10-01
You need to log in before you can comment on or make changes to this bug.