diff options
author | Tor Brede Vekterli <vekterli@yahooinc.com> | 2023-04-18 12:50:07 +0000 |
---|---|---|
committer | Tor Brede Vekterli <vekterli@yahooinc.com> | 2023-04-18 13:16:00 +0000 |
commit | 4c8c1fb53caf17b4e1d93a13be933d83cac42ca8 (patch) | |
tree | f676ad659c57815d5b00290960c9867a74494a5c /storage/src/tests/storageapi/mbusprot | |
parent | ee613a99dc15b6acaaf923c60d76fe9428c0aee8 (diff) |
Add backend support for distributed condition evaluation
Lets the "test" part of a test-and-set condition be evaluated
locally on individual content nodes. Piggybacks on top of metadata-only
Get operations, adding a new condition field to the request and a
boolean match result to the response.
Decouples the existing TaS utility code from being command-oriented,
allowing it to be used in other contexts as well.
Not yet wired through any protocols.
Diffstat (limited to 'storage/src/tests/storageapi/mbusprot')
-rw-r--r-- | storage/src/tests/storageapi/mbusprot/storageprotocoltest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/src/tests/storageapi/mbusprot/storageprotocoltest.cpp b/storage/src/tests/storageapi/mbusprot/storageprotocoltest.cpp index d3036a2fad3..6d8c3585726 100644 --- a/storage/src/tests/storageapi/mbusprot/storageprotocoltest.cpp +++ b/storage/src/tests/storageapi/mbusprot/storageprotocoltest.cpp @@ -848,7 +848,7 @@ TEST_P(StorageProtocolTest, track_memory_footprint_for_some_messages) { EXPECT_EQ(144u + sizeof(vespalib::string), sizeof(PutCommand)); EXPECT_EQ(144u + sizeof(vespalib::string), sizeof(UpdateCommand)); EXPECT_EQ(224u + sizeof(vespalib::string), sizeof(RemoveCommand)); - EXPECT_EQ(296u, sizeof(GetCommand)); + EXPECT_EQ(296u + sizeof(documentapi::TestAndSetCondition), sizeof(GetCommand)); } } // storage::api |