sapling/blobstore/if/memcache_lock.thrift
Simon Farnsworth f62f032e2e Implement a "cache mutex" to avoid multiple writes through memcache
Summary:
Manifold can complain when we expect it to succeed if we write the
same thing twice. As this is inefficient, use memcache to avoid writing to the
backing blobstore if we know the object is already present

Reviewed By: StanislavGlebik

Differential Revision: D8424296

fbshipit-source-id: 3b97683b80a1ea5245998d8446c8f540975343df
2018-06-19 13:07:13 -07:00

11 lines
280 B
Thrift

// Copyright (c) 2018-present, Facebook, Inc.
// All Rights Reserved.
//
// This software may be used and distributed according to the terms of the
// GNU General Public License version 2 or any later version.
union LockState {
1: string locked_by,
2: string uploaded_key,
}