Page MenuHomePhabricator

Diviner atom document status inverted when searching
Closed, ResolvedPublic

Description

Reproduction steps:

Expected Result:

  • I see a list of open Diviner Atoms

Observed Result:

Version Information:

  • rP9c62a10989e0
  • rARC67a47acebd6b
  • rPHU58fb3b94464e

Just guessing, but it seems like it's caused by the ordering of the second and third expressions at DivinerLiveSymbolFulltextEngine.php$35-37 since the phabricator_diviner.diviner_livesymbol.graphHash is only nulled when the atom is deleted?

Revisions and Commits

Restricted Differential Revision

Event Timeline

epriestley added a revision: Restricted Differential Revision.Feb 13 2017, 9:07 PM
epriestley closed this task as Resolved by committing Restricted Diffusion Commit.Feb 13 2017, 9:12 PM
epriestley added a commit: Restricted Diffusion Commit.

I deployed D17346 and rebuilt the indexes on this install with bin/search index --type DivinerLiveSymbol and behavior now seems correct. Thanks for the report!

(Your diagnosis of the root cause was also correct.)

successkid

+1 for random grepping. Thanks for the fix!