sapling/common/rust
Thomas Orozco a6004ae016 mononoke: caching_ext: elide DB calls for no data
Summary:
We don't control whatever `get_from_db` will do when asked to fetch no data. We can hope it'll do the smart thing and not hit the DB nor increment any monitoring counters.

This can be problematic, because it can result in confusing data in ODS. See T45198435 for a recent example of this.

Reviewed By: StanislavGlebik

Differential Revision: D15620424

fbshipit-source-id: 629c2eaad00d4977b0598c26e1f2a2ca64a1d66e
2019-06-04 05:16:52 -07:00
..
caching_ext/src mononoke: caching_ext: elide DB calls for no data 2019-06-04 05:16:52 -07:00
slog_ext/src slog_ext: add SimpleFormatWithError to improve client side logging readability 2019-02-20 08:52:09 -08:00
sql_ext/src Convert scm/mononoke/common/rust/sql_ext to Rust 2018 2019-05-28 15:19:49 -07:00