Page MenuHomePhabricator

Conpherence - fix bad query from D12222
ClosedPublic

Authored by btrahan on Mar 31 2015, 8:01 PM.
Tags
None
Referenced Files
F13237312: D12223.id29369.diff
Tue, May 21, 1:27 PM
F13230523: D12223.diff
Mon, May 20, 11:01 PM
F13210256: D12223.diff
Fri, May 17, 4:39 AM
F13195058: D12223.diff
Sun, May 12, 10:06 PM
Unknown Object (File)
Fri, May 3, 2:14 AM
Unknown Object (File)
Tue, Apr 30, 5:12 PM
Unknown Object (File)
Mon, Apr 29, 1:37 PM
Unknown Object (File)
Wed, Apr 24, 9:50 PM
Subscribers

Details

Reviewers
epriestley
chad
Commits
Restricted Diffusion Commit
rP3cb5cac018b2: Conpherence - fix bad query from D12222
Summary

D12222 did an evil thing. This correctly scopes this to just the threads you are participating in and not all threads which then get filtered from policy later, super slowly...

Test Plan

still 'works' and probably wont kill prod

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

btrahan retitled this revision from to Conpherence - fix bad query from D12222.
btrahan updated this object.
btrahan edited the test plan for this revision. (Show Details)
btrahan added reviewers: epriestley, chad.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Mar 31 2015, 8:01 PM

We could maybe just put this in ConpherenceThreadQuery, e.g. always have a "viewer is participant or type is room" clause in the WHERE.

This revision was automatically updated to reflect the committed changes.

ACK - will do that in a diff coming soon.