Incorrect behavior in internal_doc.changeID.versionVector
size when attaching a new document
#925
Labels
bug 🐞
Something isn't working
What happened:
When attaching a new document, it seems that the size of
internal_doc.changeID.versionVector
does not decrease as expected and only appends new entries. In the logic that clears the Lamport of a detached client, there appears to be an issue with using the minimum version vector to accurately relay active client information. This causes an incorrect state during the detaching and deactivating process.What you expected to happen:
The
internal_doc.changeID.versionVector
should properly reflect the current state, with the size decreasing when necessary, ensuring that active client information is accurately maintained during deactivation and detachment.How to reproduce it (as minimally and precisely as possible):
doc.changeID.versionVector
after the attachment.doc.changeID.versionVector
after the attachment.Anything else we need to know?:
Environment:
yorkie version
): 0.5.4The text was updated successfully, but these errors were encountered: