LogStateWithMetaData<TEntry>.WriteVector Property

Definition

Metadata that is used to avoid duplicate appends. Logically, this is a (string->bit) map, the keys being replica ids But this map is represented compactly as a simple string to reduce serialization/deserialization overhead Bits are read by GetBit(String) and flipped by FlipBit(String). Bits are toggled when writing, so that the retry logic can avoid appending an entry twice when retrying a failed append.

C#
public string WriteVector { get; set; }
C#
[Orleans.Id(1)]
public string WriteVector { get; set; }

Property Value

Attributes

Applies to

Tuote Versiot
.NET Orleans 1.5.10, 3.4.5, 3.6.0, 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0