Open Bug 1541548 Opened 5 years ago Updated 1 year ago

Stop closing IDB databases on the QuotaManager IO thread just to reopen them on the specific IDB Connection thread, increasing spurious busy errors (NS_ERROR_STORAGE_BUSY) on open


(Core :: Storage: IndexedDB, defect, P3)





(Reporter: asuth, Unassigned)


(Blocks 1 open bug)


The IDB OpenDatabaseOp currently closes the connection[1] and then the Connection thread re-opens the connection because of a mozStorage bug 1121282 which enforces ownership constraints that should be relaxed. We should fix this as it's both inefficient/wasteful as well as generating a lot of NS_ERROR_STORAGE_BUSY errors that can be misleading.

See Also: → 1541550
Blocks: 1438998
Blocks: 1541370
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.