From 26ca931754c344e8a7c68dcc4cd3ac358f72f1cb Mon Sep 17 00:00:00 2001 From: HÃ¥vard Pettersen Date: Wed, 19 Apr 2023 14:29:38 +0000 Subject: wire document condition probing through protobuf protocol --- storage/src/vespa/storageapi/mbusprot/protobuf/feed.proto | 2 ++ 1 file changed, 2 insertions(+) (limited to 'storage/src/vespa/storageapi/mbusprot/protobuf/feed.proto') diff --git a/storage/src/vespa/storageapi/mbusprot/protobuf/feed.proto b/storage/src/vespa/storageapi/mbusprot/protobuf/feed.proto index 92c0fdc0b87..b02e1eab0aa 100644 --- a/storage/src/vespa/storageapi/mbusprot/protobuf/feed.proto +++ b/storage/src/vespa/storageapi/mbusprot/protobuf/feed.proto @@ -66,6 +66,7 @@ message GetRequest { Weak = 1; } InternalReadConsistency internal_read_consistency = 5; + TestAndSetCondition condition = 6; } message GetResponse { @@ -76,6 +77,7 @@ message GetResponse { // Note: last_modified_timestamp and tombstone_timestamp are mutually exclusive. // Tracked separately (rather than being a flag bool) to avoid issues during rolling upgrades. uint64 tombstone_timestamp = 5; + bool condition_matched = 6; } message RevertRequest { -- cgit v1.2.3