yorkie-team / yorkie

Yorkie is a document store for collaborative applications.
https://yorkie.dev
Apache License 2.0
748 stars 134 forks source link

Tree inconsistency between Changes-generated and Snapshot-generated #889

Closed hackerwins closed 1 month ago

hackerwins commented 1 month ago

What happened:

There is an inconsistency between the Tree generated by Changes and the Tree generated by Snapshot. Although each Tree is supposed to maintain isomorphism, two discrepancies have been identified:

  1. size for index calculation in the XML representation of the Tree is different.
  2. attributes are different.

What you expected to happen:

It is necessary for the values of Trees generated in these two different ways to be the same.

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

hackerwins commented 1 month ago