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
F19895107: D13516.diff
Sat, Mar 28, 6:57 PM
F19888229: D13516.id32676.diff
Mon, Mar 23, 11:22 PM
F19827486: D13516.id32676.diff
Mon, Mar 9, 9:44 AM
F19802254: D13516.id32680.diff
Sun, Mar 1, 3:08 PM
F19775086: D13516.id32676.diff
Feb 21 2026, 8:37 PM
F19615121: D13516.diff
Feb 3 2026, 11:23 PM
F19542994: D13516.diff
Jan 22 2026, 2:30 PM
F19508685: D13516.id32676.diff
Jan 10 2026, 8:46 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.