Page MenuHomePhabricator

Queue search indexing tasks at a new PRIORITY_INDEX, not PRIORITY_IMPORT
ClosedPublic

Authored by epriestley on Feb 15 2019, 1:09 PM.
Tags
None
Referenced Files
F12851093: D20177.id48172.diff
Fri, Mar 29, 6:15 AM
Unknown Object (File)
Jan 16 2024, 10:00 PM
Unknown Object (File)
Dec 22 2023, 11:06 PM
Unknown Object (File)
Dec 19 2023, 5:43 AM
Unknown Object (File)
Dec 14 2023, 3:32 PM
Unknown Object (File)
Dec 8 2023, 12:43 PM
Unknown Object (File)
Dec 5 2023, 6:49 PM
Unknown Object (File)
Nov 30 2023, 3:39 AM
Subscribers
None

Details

Summary

Depends on D20175. Ref T12425. Ref T13253. Currently, importing commits can stall search index rebuilds, since index rebuilds use an older priority from before T11677 and weren't really updated for D16585.

In general, we'd like to complete all indexing tasks before continuing repository imports. A possible exception is if you rebuild an entire index with bin/search index --rebuild-the-world, but we could queue those at a separate lower priority if issues arise.

Test Plan

Ran some search indexing through the queue.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable