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

Correctly split head segment #350

Merged
merged 2 commits into from
Jul 10, 2024
Merged

Conversation

fzhinkin
Copy link
Collaborator

@fzhinkin fzhinkin commented Jul 1, 2024

Buffer's head/tail update after the split was incorrect (I'm not sure what I was thinking about when I changed it).
It does not matter how many segments a buffer has, the split affects only a head one, so tail reference remains valid no matter what; thus only a head needs to be updated.

@fzhinkin fzhinkin added the bug label Jul 1, 2024
@fzhinkin fzhinkin requested a review from shanshin July 1, 2024 10:25
@fzhinkin fzhinkin merged commit 3eb8117 into develop Jul 10, 2024
1 check passed
@fzhinkin fzhinkin deleted the correctly-split-head-segment branch July 10, 2024 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants