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
F15368610: D21447.id51081.diff
Wed, Mar 12, 3:08 AM
F15332688: D21447.diff
Fri, Mar 7, 7:12 PM
F15321398: D21447.id51081.diff
Thu, Mar 6, 10:56 PM
Unknown Object (File)
Thu, Feb 27, 11:57 PM
Unknown Object (File)
Tue, Feb 25, 10:15 AM
Unknown Object (File)
Feb 9 2025, 9:51 AM
Unknown Object (File)
Feb 9 2025, 9:50 AM
Unknown Object (File)
Feb 9 2025, 9:50 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.