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
Unknown Object (File)
Tue, Nov 19, 2:18 PM
Unknown Object (File)
Fri, Nov 8, 9:28 PM
Unknown Object (File)
Oct 22 2024, 2:00 AM
Unknown Object (File)
Oct 21 2024, 5:17 AM
Unknown Object (File)
Oct 18 2024, 1:24 AM
Unknown Object (File)
Oct 18 2024, 1:21 AM
Unknown Object (File)
Oct 18 2024, 1:20 AM
Unknown Object (File)
Oct 18 2024, 1:18 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
Branch
master
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 7099
Build 7250: [Placeholder Plan] Wait for 30 Seconds
Build 7249: arc lint + arc unit

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.