-
-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add minLamport for proper GC of deactivated clients (#1060)
This change improves GC handling when nodes from deactivated clients remain in the document. Previously, GC failed for such nodes because the min version vector lacked information about deactivated clients. The solution: - Introduces minLamport concept for version vector comparison - When actor info is missing in min version vector, uses minimum value instead - Removes nodes if minimum value exceeds node's Lamport timestamp - Ensures safe deletion by confirming all active users received the change This approach ensures proper cleanup of orphaned nodes while maintaining data consistency across the system.
- Loading branch information
Showing
2 changed files
with
84 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters