Closed Bug 1539483 Opened 5 years ago Closed 5 years ago

Bookmarks keyword search query is slow and non-cancellable

Categories

(Firefox for iOS :: Data Storage, enhancement, P1)

Other
iOS
enhancement

Tracking

()

RESOLVED FIXED
Tracking Status
fxios 16.0 ---

People

(Reporter: justindarc, Assigned: justindarc)

Details

When you enter a search term in the awesomebar with a space in it, we run a query to determine if there is a bookmark matching a keyword search term such as:

"imdb godfather"

There are several problems with this:
1.) This query does full table scans since keyword is not indexed
2.) This query is not cancellable (i.e., if it hangs and the user taps on a search suggestion instead of waiting, the browser will then navigate the user away from the page they're on after this query finally resolves)
3.) This query runs on the read-write DB connection so it may be blocked waiting for another write operation to complete

We should address all three of these things.

Assignee: nobody → jdarcangelo
Status: NEW → ASSIGNED
Priority: -- → P1
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.