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)
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
Unknown Object (File)
Feb 8 2024, 9:36 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
Branch
cref6
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 24861
Build 34296: Run Core Tests
Build 34295: arc lint + arc unit

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.