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

refactor(storage): do not write a commit context for each commit #204

Merged
merged 1 commit into from
Nov 22, 2022

Conversation

ijsong
Copy link
Member

@ijsong ijsong commented Oct 28, 2022

What this PR does

Previously, the log stream wrote a commit context for each commit. However, to
fix #125, we no longer need to persist in a sequence of commit contexts. So
this patch removes lines that keep all commit context.

Which issue(s) this PR resolves

Updates #125

@ijsong ijsong self-assigned this Oct 28, 2022
@ijsong ijsong changed the title cleanup old commit context codes refactor(storage): do not write a commit context for each commit Oct 28, 2022
@ijsong ijsong force-pushed the cleanup-old-commit-context-codes branch from cba0658 to 5f981fc Compare November 4, 2022 00:30
@ijsong ijsong marked this pull request as ready for review November 4, 2022 01:27
@ijsong ijsong requested a review from hungryjang as a code owner November 4, 2022 01:27
@ijsong ijsong force-pushed the cleanup-old-commit-context-codes branch 3 times, most recently from 35317c5 to bcea30c Compare November 8, 2022 03:34
Previously, the log stream wrote a commit context for each commit. However, to fix kakao#125, we no
longer need to persist in a sequence of commit contexts. So this patch removes lines that keep all
commit context.

Updates kakao#125
@ijsong ijsong force-pushed the cleanup-old-commit-context-codes branch from bcea30c to e71a83b Compare November 22, 2022 11:20
@ijsong ijsong merged commit 850b512 into kakao:main Nov 22, 2022
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.

Too slow recovering log streams while startup storage node
2 participants