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
F13084477: D21447.diff
Wed, Apr 24, 11:03 PM
Unknown Object (File)
Sat, Apr 20, 7:29 AM
Unknown Object (File)
Sun, Apr 7, 2:00 PM
Unknown Object (File)
Sun, Mar 31, 3:09 PM
Unknown Object (File)
Wed, Mar 27, 2:01 AM
Unknown Object (File)
Feb 20 2024, 2:02 AM
Unknown Object (File)
Feb 19 2024, 7:53 AM
Unknown Object (File)
Feb 8 2024, 11:44 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.