Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions proto/mls/database/intents.proto
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ message UpdateMetadataData {
message V1 {
string field_name = 1;
string field_value = 2;
// Compare-and-swap guard. When set, the publisher must abandon this
// intent unless the field's currently committed value equals this,
// rather than overwriting whatever landed in the meantime. Absent
// means last-writer-wins, which is the historical behavior.
optional string expected_field_value = 3;
}

oneof version {
Expand Down
Loading