Race conditions in Attachments.more()
|Reported by:||koopersmith||Owned by:||ryan|
When a collection of attachments fires off a request for more attachments, it will pass the request along to its mirrored query and return the resulting request. The query caches its own request, but the main attachments group doesn't check to see if that same query is still being mirrored when the request resolves. This results in a race condition where we quickly switch mirrored queries and can fire off several requests within a short time span.
A good way to test this is to go to the media library and type into the search box quickly — you'll end up seeing duplicate views. The patch should result in one consistent view.
Change History (8)
- Owner set to ryan
- Resolution set to fixed
- Status changed from new to closed