On the behavior of the getLastModified() for the onlyNodeId argument. #5
Closed
JanezStupar
started this conversation in
General
Replies: 1 comment
-
The If a node id is unknown it makes sense that a zero HLC is returned since that's used for synchronization: new nodes will want to get the entire history rather than a subset. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Daniel,
I am contemplating the behavior of the
getLastModified
function, which seems unexpected at the moment whenever the CRDT receives an unknown nodeId for theonlyNodeId
argument.Assume the following test case:
It fails because
sql_crdt
returns a zero HLC from its host node.Arguably, the user can check whether the nodeId's match. But my intuition is that the zero ID should be for the requested nodeId.
Merry Christmas!
Beta Was this translation helpful? Give feedback.
All reactions