Bug 102568

Summary: IndexedDB: implement priority queue for pending opens
Product: WebKit Reporter: David Grogan <dgrogan>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: alecflett, jsbell, sihui_liu
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

David Grogan
Reported 2012-11-16 16:01:10 PST
From 4.1.3 Note2: if two databases with the same name and origin, but with different versions, are being opened at the same time, the one with the highest version will attempt to be opened first. The current implementation does not do this.
Attachments
Sihui Liu
Comment 1 2022-02-01 14:09:47 PST
This is an old bug and the description is not true for current implementation: open requests are handled in the order the are created. E.g. For database with same name on the same origin, if request with version 0 is created earlier than request with version 1, the version 0 one will be handled first.
Note You need to log in before you can comment on or make changes to this bug.