Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Divergence by concurrent Tree.Edit and Tree.RemoveStyle #884

Closed
hackerwins opened this issue Jun 3, 2024 · 0 comments
Closed

Divergence by concurrent Tree.Edit and Tree.RemoveStyle #884

hackerwins opened this issue Jun 3, 2024 · 0 comments
Labels
bug 🐞 Something isn't working sdk ⚒️

Comments

@hackerwins
Copy link
Member

What happened:

Divergence by concurrent Tree.Edit and Tree.RemoveStyle

Currently, when a node has an attribute with the same key as the RemoveStyle attribute is inserted simultaneously through Tree.Edit, the attribute of the inserted node gets deleted.

What you expected to happen:

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

  1. Perform a Tree.RemoveStyle operation that includes an attribute with a specific key.
  2. Simultaneously perform a Tree.Edit operation that inserts a node with an attribute having the same key as the attribute removed in Tree.RemoveStyle.

Anything else we need to know?:

Environment:

  • Operating system:
  • Browser and version:
  • Yorkie version (use yorkie version):
  • Yorkie JS SDK version:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working sdk ⚒️
Projects
No open projects
Status: Done
Development

No branches or pull requests

1 participant