Skip to content

Commit 77e5abf

Browse files
generatedunixname226714639793621meta-codesync[bot]
authored andcommitted
fbcode/cachelib/
Reviewed By: aristidisp Differential Revision: D88800554 fbshipit-source-id: 30c7d5dab8c1e5cd182608739151bf6a87baa14c
1 parent 0e61ddc commit 77e5abf

File tree

13 files changed

+60
-0
lines changed

13 files changed

+60
-0
lines changed

cachelib/allocator/datastruct/serialize/objects.thrift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
* limitations under the License.
1515
*/
1616

17+
include "thrift/annotation/thrift.thrift"
18+
19+
@thrift.AllowLegacyMissingUris
20+
package;
21+
1722
namespace cpp2 facebook.cachelib.serialization
1823

1924
// Adding a new "required" field will cause the cache to be dropped

cachelib/allocator/datastruct/tests/test_objects.thrift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
* limitations under the License.
1515
*/
1616

17+
include "thrift/annotation/thrift.thrift"
18+
19+
@thrift.AllowLegacyMissingUris
20+
package;
21+
1722
namespace cpp2 facebook.cachelib.test_serialization
1823

1924
// An older version of SListObject with no 'compressedTail'. Only used for

cachelib/allocator/memory/serialize/objects.thrift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
namespace cpp2 facebook.cachelib.serialization
1818

1919
include "cachelib/allocator/datastruct/serialize/objects.thrift"
20+
include "thrift/annotation/thrift.thrift"
21+
22+
@thrift.AllowLegacyMissingUris
23+
package;
2024

2125
// Adding a new "required" field will cause the cache to be dropped
2226
// in the next release for our users. If the field needs to be required,

cachelib/allocator/serialize/objects.thrift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
namespace cpp2 facebook.cachelib.serialization
1818

1919
include "cachelib/allocator/datastruct/serialize/objects.thrift"
20+
include "thrift/annotation/thrift.thrift"
21+
22+
@thrift.AllowLegacyMissingUris
23+
package;
2024

2125
// Adding a new "required" field will cause the cache to be dropped
2226
// in the next release for our users. If the field needs to be required,

cachelib/benchmarks/DataTypeBench.thrift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
namespace cpp2 facebook.cachelib.datatypebench
1818

1919
include "thrift/annotation/cpp.thrift"
20+
include "thrift/annotation/thrift.thrift"
21+
22+
@thrift.AllowLegacyMissingUris
23+
package;
2024

2125
struct StdMap {
2226
1: required map<i32, string> m;

cachelib/common/BloomFilter.thrift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
* limitations under the License.
1515
*/
1616

17+
include "thrift/annotation/thrift.thrift"
18+
19+
@thrift.AllowLegacyMissingUris
20+
package;
21+
1722
namespace cpp2 facebook.cachelib.serialization
1823

1924
// metadata corresponding to the configuration for

cachelib/experimental/deprecated_objcache/ObjectCachePersistence.thrift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
* limitations under the License.
1515
*/
1616

17+
include "thrift/annotation/thrift.thrift"
18+
19+
@thrift.AllowLegacyMissingUris
20+
package;
21+
1722
namespace cpp2 facebook.cachelib.objcache.serialization
1823

1924
struct Item {

cachelib/experimental/deprecated_objcache/tests/ThriftCustomAllocator.thrift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ cpp_include "cachelib/experimental/deprecated_objcache/tests/Common.h"
2121
include "thrift/annotation/cpp.thrift"
2222
include "thrift/annotation/thrift.thrift"
2323

24+
@thrift.AllowLegacyMissingUris
25+
package;
26+
2427
@thrift.DeprecatedUnvalidatedAnnotations{
2528
items = {
2629
"cpp.allocator": "facebook::cachelib::objcache::test::ScopedTestAllocator",

cachelib/navy/serialization/objects.thrift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
* limitations under the License.
1515
*/
1616

17+
include "thrift/annotation/thrift.thrift"
18+
19+
@thrift.AllowLegacyMissingUris
20+
package;
21+
1722
namespace cpp2 facebook.cachelib.navy.serialization
1823

1924
struct IndexEntry {

cachelib/object_cache/persistence/persistent_data.thrift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
* limitations under the License.
1515
*/
1616

17+
include "thrift/annotation/thrift.thrift"
18+
19+
@thrift.AllowLegacyMissingUris
20+
package;
21+
1722
namespace cpp2 facebook.cachelib.objcache2.persistence
1823

1924
struct Item {

0 commit comments

Comments
 (0)