Page MenuHomePhabricator

Don't put objects into the query workspace by default
ClosedPublic

Authored by epriestley on Jul 1 2015, 6:10 PM.
Tags
None
Referenced Files
F15564407: D13516.id32680.diff
Wed, Apr 30, 12:05 PM
F15561775: D13516.id32676.diff
Tue, Apr 29, 10:25 PM
F15560603: D13516.id.diff
Tue, Apr 29, 3:32 PM
F15558020: D13516.id32680.diff
Tue, Apr 29, 12:34 AM
F15557230: D13516.diff
Mon, Apr 28, 8:35 PM
F15546534: D13516.id32680.diff
Sat, Apr 26, 4:03 PM
F15534971: D13516.diff
Thu, Apr 24, 2:51 AM
F15502810: D13516.diff
Mon, Apr 14, 4:35 AM
Subscribers

Details

Summary

Ref T8731. I think the issue is that some ProjectQuery (without needImages()) populates the query workspace, then the "real" one hits the workspace.

Instead, only populate the workspace from ObjectQuery, so we know that objects in the workspace always have whatever ObjectQuery attaches to them.

Test Plan

Verified this didn't destroy the cache hitrate, but I can't repro the original issue locally per se.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Don't put objects into the query workspace by default.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
This revision is now accepted and ready to land.Jul 1 2015, 7:58 PM
This revision was automatically updated to reflect the committed changes.