fix: Correct checkpoint progress and add delta DST coverage (#158)
This commit is contained in:
parent
e42075cdd9
commit
f59a90bc97
1 changed files with 1829 additions and 163 deletions
|
|
@ -195,8 +195,11 @@ extension CrdtMergeRecorderExtension on CrdtMutationRecorder {
|
|||
in maxIncomingHlcByNode.entries) {
|
||||
final remoteNode = remoteNodes.spaceNodesByUuid[nodeId];
|
||||
if (remoteNode == null) continue;
|
||||
final previous = remoteNode.lastReceivedHlc;
|
||||
final updatedSpaceNode = remoteNode.copyWith(
|
||||
lastReceivedHlc: incomingHlc.maxBetween(remoteNode.lastReceivedHlc),
|
||||
lastReceivedHlc: incomingHlc.maxBetween(
|
||||
previous?.nodeId == nodeId ? previous : null,
|
||||
),
|
||||
);
|
||||
if (updatedSpaceNode.lastReceivedHlc == remoteNode.lastReceivedHlc) {
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Reference in a new issue