sapling/eden/mononoke/blobstore
Alex Hornby 55db650e37 mononoke: add pack handling to packblob
Summary:
Add pack and unpack logic to packblob.

Loading a packed form is possible from a regular get(), as the store may contain packed data.

Storing a packed form is only possible from a new put_packed() method,  intended for use from the packer (and tests).

NB As noted in the TODO in get, this does not yet handle prefix removal on get,  will address that in a separate diff.

Reviewed By: StanislavGlebik

Differential Revision: D21980498

fbshipit-source-id: f534b0e754aa29c42bf00bb7e764f93f1446c14c
2020-06-17 02:35:03 -07:00
..
blobstore_stats mononoke: Add logging blobstore 2020-05-15 10:28:31 -07:00
cacheblob rust: clean up some warnings 2020-06-15 16:50:40 -07:00
chaosblob autocargo: regenerate 2020-05-19 16:08:40 -07:00
context_concurrency_blobstore autocargo: regenerate 2020-05-19 16:08:40 -07:00
delayblob Expose ctime from Blobstore::get() in mononoke 2020-05-06 00:55:07 -07:00
factory mononoke: add packblob to blobstore_factory 2020-06-16 04:11:43 -07:00
fileblob mononoke: add blobstore link trait 2020-06-17 02:35:03 -07:00
if cargo_from_buck: Hide generated code from rustfmt 2020-06-10 19:29:49 -07:00
logblob autocargo: regenerate 2020-05-19 16:08:40 -07:00
memblob mononoke: add blobstore link trait 2020-06-17 02:35:03 -07:00
multiplexedblob rust: clean up some warnings 2020-06-15 16:50:40 -07:00
packblob mononoke: add pack handling to packblob 2020-06-17 02:35:03 -07:00
prefixblob Expose ctime from Blobstore::get() in mononoke 2020-05-06 00:55:07 -07:00
readonlyblob autocargo: regenerate 2020-05-19 16:08:40 -07:00
redactedblobstore rust: clean up some warnings 2020-06-15 16:50:40 -07:00
samplingblob autocargo: regenerate 2020-05-19 16:08:40 -07:00
sqlblob Use per-shard MyAdmin measured delays 2020-06-16 02:56:48 -07:00
src mononoke: add blobstore link trait 2020-06-17 02:35:03 -07:00
test mononoke: add blobstore link trait 2020-06-17 02:35:03 -07:00
throttledblob mononoke/async_limiter: make AsyncLimiter::new async 2020-05-12 06:49:25 -07:00
Cargo.toml mononoke: switch blobstore imports to use futures_old naming 2020-06-16 04:11:44 -07:00