Closed Bug 660044 Opened 13 years ago Closed 12 years ago

Use a read-only storage connection for read queries

Categories

(Firefox :: Sync, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 612766

People

(Reporter: philikon, Unassigned)

Details

Attachments

(1 file)

Should help with lock contention.
Attached patch WIP. v1Splinter Review
This refactors some shared code out of BookmarksStore and HistoryStore into PlacesStore, and adds an indirection for connection fetching. This allows us to maintain a single read-only clone of the main Places DBConnection.

One test failure in test_history_store.js. Haven't investigated.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: