yorkie-team/yorkie

Tree inconsistency between Changes-generated and Snapshot-generated

Closed this issue · 1 comments

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:

  • Operating system:
  • Browser and version:
  • Yorkie version (use yorkie version):
  • Yorkie JS SDK version: