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)
Tue, May 7, 5:42 AM
Unknown Object (File)
Sat, May 4, 2:41 PM
Unknown Object (File)
Sat, May 4, 3:07 AM
Unknown Object (File)
Fri, May 3, 3:29 AM
Unknown Object (File)
Mon, Apr 29, 3:17 PM
Unknown Object (File)
Wed, Apr 24, 11:03 PM
Unknown Object (File)
Sat, Apr 20, 7:29 AM
Unknown Object (File)
Apr 7 2024, 2:00 PM
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.