Closed
Bug 1880416
Opened 9 months ago
Closed 9 months ago
Problems with ingest in the Suggest Rust backend
Categories
(Firefox :: Address Bar, defect, P1)
Firefox
Address Bar
Tracking
()
RESOLVED
FIXED
124 Branch
Tracking | Status | |
---|---|---|
firefox124 | --- | fixed |
People
(Reporter: adw, Assigned: adw)
References
(Blocks 3 open bugs)
Details
(Whiteboard: [sng])
Attachments
(1 file)
I think there are a couple problems with ingest in the Rust backend:
- If multiple ingests happen one after the other, they can hit the Rust component at the same time. I think this might be the cause of bugs in tests like bug 1880388, where the component tries to create the
meta
table when it already exists. - Bug 1878444 caused
#ingestPromise
to be resolved before#ingest()
finishes. Probably not good.
I think these problems might be the cause of recent intermittent failures like bug 1880388, bug 1879226, bug 1832413, bug 1880406, bug 1808802, maybe others. I've definitely noticed new-ish failures on try recently.
Updated•9 months ago
|
Assignee | ||
Comment 1•9 months ago
|
||
Sorry, meant to file this in Address Bar.
Component: Suggest → Address Bar
Product: Application Services → Firefox
Assignee | ||
Comment 2•9 months ago
|
||
This makes sure only one ingest happens at a time. If a new ingest starts while
one is ongoing, it will await the ingest promise and then start. If many ingests
try to start at the same time, the last one will continue and the others will
bail due to #ingestInstance
.
Pushed by dwillcoxon@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5d725049e644
Fix problems with ingest in the Suggest Rust backend. r=daisuke
Comment 4•9 months ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
status-firefox124:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•