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

Concurrent case handling for Yorkie.tree (#611) #4

Merged
merged 1 commit into from
Aug 21, 2023

Conversation

banma1234
Copy link
Owner

Introduced a new logical timestamp for identifying the position in local/remote editing, and ensures commutative editing in concurrent cases.

This logical timestamp consists of {parentID, leftSiblingID}. This allows editing at the front of text nodes by using a reference to the parent, as well as getting rid of the local offset used to access an element node's children previously by using the leftSiblingID.


What this PR does / why we need it?

Any background context you want to provide?

What are the relevant tickets?

Fixes #

Checklist

  • Added relevant tests or not required
  • Didn't break anything

Introduced a new logical timestamp for identifying the position in
local/remote editing, and ensures commutative editing in concurrent
cases.

This logical timestamp consists of {parentID, leftSiblingID}. This
allows editing at the front of text nodes by using a reference to the
parent, as well as getting rid of the local offset used to access an
element node's children previously by using the leftSiblingID.

---------

Co-authored-by: JOOHOJANG <jayjangjoo@gmail.com>
Co-authored-by: Youngteac Hong <susukang98@gmail.com>
Co-authored-by: sejongk <sepaper@naver.com>
Co-authored-by: MoonGyu1 <s201801402@hufs-gsuite.kr>
@banma1234 banma1234 merged commit 31189ee into banma1234:main Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants