Refine cursor preloading to avoid unnecessary cache invalidations
Categories
(Core :: Storage: IndexedDB, enhancement, P2)
Tracking
()
People
(Reporter: sg, Unassigned)
References
Details
(Whiteboard: [storage-jv])
Attachments
(1 file)
In order to preserve the ordering of requests, in the original implementation of preloading cursors, several operations invalidate cached results. These results would in fact still be valid. The invalidation is done to enforce that the cursor requests are sent to the parent, which implicitly serializes the processing of requests and thus of their responses.
To remove these invalidations, the child must ensure that responses are emitted in the correct order by tracking the serial numbers of requests.
See also https://bugzilla.mozilla.org/show_bug.cgi?id=1168606#c69
Reporter | ||
Comment 1•5 years ago
|
||
Updated•5 years ago
|
Reporter | ||
Comment 2•4 years ago
|
||
Unassigning myself from this for now.
The attached patch https://phabricator.services.mozilla.com/D45543 is incomplete and cannot be landed as is, but might be used as a starting point by whoever picks this up.
Updated•3 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Description
•