sapling/eden/mononoke/blobstore
Thomas Orozco 24560ded2e thrift: call hooks from Rust codegen
Summary:
This updates Thrift codegen for Rust to call hooks on a context stack in a
similar fashion as the C++ codegen.

There is still a bit of room for improvement here. Notably, we don't know how
much data we actually read or sent to the client, so for now those are
hard-coded to zero in the codegen. That's better than not calling those hooks
at all (which is what happens right now), but it could stand to be improved.

Reviewed By: jsgf

Differential Revision: D24445298

fbshipit-source-id: 470daf03057424dc300b6a193668be835ae28452
2020-10-22 17:01:47 -07:00
..
blobstore_stats mononoke/{multiplexedblob,logblob}: capture operation perf counters 2020-10-16 08:57:13 -07:00
cacheblob mononoke: update Memblob::new callsites to ::default() 2020-10-07 12:11:10 -07:00
chaosblob mononoke: delegate chaosblob put to put_impl 2020-10-13 06:25:58 -07:00
delayblob mononoke: remove assert_present from Blobstore trait 2020-10-01 01:23:52 -07:00
factory mononoke: make multiplex blobstore a BlobstorePutOps 2020-10-13 03:09:38 -07:00
fileblob mononoke/manifoldblob: log retries, delay and conflicts to perf counters 2020-10-16 08:57:13 -07:00
if thrift: call hooks from Rust codegen 2020-10-22 17:01:47 -07:00
logblob mononoke/{multiplexedblob,logblob}: capture operation perf counters 2020-10-16 08:57:13 -07:00
memblob mononoke: remove BlobstorePutOps::put_behaviour 2020-10-13 03:09:38 -07:00
multiplexedblob mononoke/{multiplexedblob,logblob}: capture operation perf counters 2020-10-16 08:57:13 -07:00
packblob thrift: call hooks from Rust codegen 2020-10-22 17:01:47 -07:00
prefixblob mononoke: remove BlobstorePutOps::put_behaviour 2020-10-13 03:09:38 -07:00
readonlyblob mononoke: remove BlobstorePutOps::put_behaviour 2020-10-13 03:09:38 -07:00
redactedblobstore mononoke: update Memblob::new callsites to ::default() 2020-10-07 12:11:10 -07:00
samplingblob mononoke: update Memblob::new callsites to ::default() 2020-10-07 12:11:10 -07:00
sqlblob mononoke: remove BlobstorePutOps::put_behaviour 2020-10-13 03:09:38 -07:00
src mononoke/manifoldblob: log retries, delay and conflicts to perf counters 2020-10-16 08:57:13 -07:00
test mononoke: add sqlblob to the common blobstore tests 2020-10-12 07:12:10 -07:00
throttledblob mononoke: factor out common code in throttledblob 2020-10-13 03:09:38 -07:00
virtually_sharded_blobstore Update formatter to rustfmt 2.0 2020-09-09 07:52:33 -07:00
Cargo.toml mononoke: add sqlblob to the common blobstore tests 2020-10-12 07:12:10 -07:00