Open Bug 1541548 Opened 6 years ago Updated 2 years 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

Categories

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

defect

Tracking

()

People

(Reporter: asuth, Unassigned)

References

(Blocks 1 open bug)

Details

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.

https://searchfox.org/mozilla-central/rev/201450283cddc9e409cec707acb65ba6cf6037b1/dom/indexedDB/ActorsParent.cpp#19920

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.