Page MenuHomePhabricator

Refine error behavior of `bin/search index`
ClosedPublic

Authored by epriestley on Sep 27 2015, 5:50 PM.
Tags
None
Referenced Files
F19149346: D14174.id34246.diff
Wed, Dec 10, 7:45 PM
F19148740: D14174.id34246.diff
Wed, Dec 10, 6:45 PM
F19078802: D14174.id34244.diff
Mon, Dec 1, 7:27 PM
F19059213: D14174.id34244.diff
Sat, Nov 29, 4:50 AM
F18851415: D14174.id.diff
Oct 31 2025, 12:55 AM
F18809482: D14174.diff
Oct 19 2025, 2:23 PM
F18798812: D14174.id.diff
Oct 17 2025, 8:56 AM
F18793067: D14174.diff
Oct 16 2025, 8:41 PM
Subscribers
None

Details

Summary

Fixes T5991. If all requested documents failed to index, consider this a catastrophic failure and exit with an error code.

Test Plan
  • Ran bin/search index --type TASK, observed successful exit despite a small number of un-indexable documents.
  • Ran bin/search index PHID-TASK-xxx for an invalid task, observed exception on exit after complete failure.
  • Ran normal indexing through daemons.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Refine error behavior of `bin/search index`.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Sep 27 2015, 6:52 PM
This revision was automatically updated to reflect the committed changes.