Version Vector
VersionVector
is a vector clock used to detect relationships between changes, determining whether they are causally related or concurrent. It is similar to vector clocks but synced with the Lamport timestamp of the change.
Functions
Link copied to clipboard
Returns true if vector[other.actorID.value]
is greater than or equal to the given ticket's Lamport.
Link copied to clipboard
Deep copy of this VersionVector
.
Link copied to clipboard
Returns a new VersionVector
consisting of entries filtered by the given VersionVector
.
Link copied to clipboard
Returns a new VersionVector
consisting of the maximum values of each vector.
Link copied to clipboard
Returns the maximum Lamport value from the vector.