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)

defect

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:

  1. 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.
  2. 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.

Sorry, meant to file this in Address Bar.

Component: Suggest → Address Bar
Product: Application Services → Firefox

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
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
Blocks: 1880388
Blocks: 1879226
Blocks: 1832413
Blocks: 1880406
Blocks: 1808802
No longer blocks: 1808802
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: