Page MenuHomePhabricator

When queueing search index tasks, include the "objectPHID" in the task metadata
ClosedPublic

Authored by epriestley on Jun 22 2018, 12:40 PM.
Tags
None
Referenced Files
F19535857: D19502.diff
Wed, Jan 21, 8:56 AM
F19304197: D19502.id46633.diff
Dec 24 2025, 7:53 AM
F19077037: D19502.id.diff
Dec 1 2025, 2:13 PM
F19067708: D19502.diff
Nov 30 2025, 9:41 AM
F18850089: D19502.id.diff
Oct 30 2025, 2:25 PM
F18845058: D19502.diff
Oct 29 2025, 9:25 AM
F18830113: D19502.diff
Oct 25 2025, 4:13 AM
F18790271: D19502.id46633.diff
Oct 15 2025, 1:22 PM
Subscribers
None

Details

Summary

Ref T13151. See PHI719. One minor hiccup in debugging the issue (which ended up being "revision has 100K comments") was that the SearchWorker did not show which object it was indexing.

Add 'objectPHID' to the queue call so you can see which object is affected from the web UI.

Test Plan
  • Stopped daemons.
  • Used bin/search index D123 --background to queue a search task.
  • Viewed task details in web UI from /daemon/.
    • Before change: no indication of which object was being indexed.
    • After change: page helpfully shows that the task is indexing D123.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable