sapling/eden/mononoke/blobstore
Harvey Hunt 4629da9f0a mononoke: Fix potential race in blobstore write_order logging
Summary:
Currently, we have a gap between updating and subsequently reading the
value of `write_order`. If another blobstore's put operation completes before
we have called `record_put_stats` then we may have an incorrect `write_order`
value.

Whilst this is only a minor issue, let's fix it anyway. :-)

Reviewed By: krallin

Differential Revision: D21619669

fbshipit-source-id: 1b8bacbcb4c195e6765ebdfaa68425f286f88c06
2020-05-18 08:41:25 -07:00
..
blobstore_stats mononoke: Add logging blobstore 2020-05-15 10:28:31 -07:00
cacheblob Expose ctime from Blobstore::get() in mononoke 2020-05-06 00:55:07 -07:00
chaosblob Expose ctime from Blobstore::get() in mononoke 2020-05-06 00:55:07 -07:00
context_concurrency_blobstore mononoke/context_concurrency_blobstore: use rate limit instead of semaphore 2020-05-12 06:49:25 -07:00
delayblob Expose ctime from Blobstore::get() in mononoke 2020-05-06 00:55:07 -07:00
factory mononoke: Add logging blobstore 2020-05-15 10:28:31 -07:00
fileblob Expose ctime from Blobstore::get() in mononoke 2020-05-06 00:55:07 -07:00
if third-party/rust: Turn off async-trait/support_old_nightly 2020-04-02 17:01:24 -07:00
logblob mononoke: Add logging blobstore 2020-05-15 10:28:31 -07:00
memblob Expose ctime from Blobstore::get() in mononoke 2020-05-06 00:55:07 -07:00
multiplexedblob mononoke: Fix potential race in blobstore write_order logging 2020-05-18 08:41:25 -07:00
prefixblob Expose ctime from Blobstore::get() in mononoke 2020-05-06 00:55:07 -07:00
readonlyblob Expose ctime from Blobstore::get() in mononoke 2020-05-06 00:55:07 -07:00
redactedblobstore Expose ctime from Blobstore::get() in mononoke 2020-05-06 00:55:07 -07:00
samplingblob mononoke: make sampling blobstore handlers fallible 2020-05-11 12:00:59 -07:00
sqlblob Expose ctime from Blobstore::get() in mononoke 2020-05-06 00:55:07 -07:00
src Expose ctime from Blobstore::get() in mononoke 2020-05-06 00:55:07 -07:00
test Expose ctime from Blobstore::get() in mononoke 2020-05-06 00:55:07 -07:00
throttledblob mononoke/async_limiter: make AsyncLimiter::new async 2020-05-12 06:49:25 -07:00
Cargo.toml Expose ctime from Blobstore::get() in mononoke 2020-05-06 00:55:07 -07:00