Page MenuHomePhabricator

Turn "bypassCache" into a no-op in "diffusion.querycommits"
ClosedPublic

Authored by epriestley on Aug 12 2020, 7:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 9, 9:51 AM
Unknown Object (File)
Sun, Feb 9, 9:50 AM
Unknown Object (File)
Sun, Feb 9, 9:50 AM
Unknown Object (File)
Sun, Feb 9, 9:50 AM
Unknown Object (File)
Tue, Jan 28, 4:51 PM
Unknown Object (File)
Sat, Jan 25, 8:38 AM
Unknown Object (File)
Sat, Jan 25, 8:38 AM
Unknown Object (File)
Sat, Jan 25, 8:38 AM
Subscribers
None

Details

Summary

Ref T13552. The internal caller for this now uses "internal.commit.search", which is always authority-reading. No legitimate external caller should rely on the behavior of "bypassCache"; no-op it to simplify behavior.

Test Plan

Called "diffusion.querycommits", saw the same data as before.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Sep 16 2020, 12:36 AM
This revision was automatically updated to reflect the committed changes.