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

feat(slog): Remove slog related code #1759

Merged
merged 8 commits into from
Dec 14, 2023
Merged

Conversation

acelyc111
Copy link
Member

@acelyc111 acelyc111 commented Dec 7, 2023

Since Pegasus 2.4.0, there will be no new shared logs been created, since Pegasus 2.5.0, all shared logs will garbage collected, then there is no shared logs left. It's a time to remove all shared log related code.
This patch also ensure that there is slog left, otherwise, the server will crash when bootstrap.
This change should be mentioned as "behavior changes" in release notes.

@acelyc111 acelyc111 force-pushed the rm_slog branch 2 times, most recently from 5387758 to c092b62 Compare December 12, 2023 10:41
@acelyc111 acelyc111 marked this pull request as ready for review December 13, 2023 02:07
GehaFearless
GehaFearless previously approved these changes Dec 13, 2023
src/replica/replica_stub.cpp Outdated Show resolved Hide resolved
src/replica/replica_stub.cpp Outdated Show resolved Hide resolved
src/replica/mutation_log.cpp Outdated Show resolved Hide resolved
src/replica/mutation_log.cpp Outdated Show resolved Hide resolved
src/replica/mutation_log.cpp Outdated Show resolved Hide resolved
src/replica/mutation_log.cpp Outdated Show resolved Hide resolved
src/replica/mutation_log.cpp Outdated Show resolved Hide resolved
src/replica/mutation_log.cpp Outdated Show resolved Hide resolved
@acelyc111 acelyc111 merged commit 2b7d658 into apache:master Dec 14, 2023
73 checks passed
@acelyc111
Copy link
Member Author

To resolve #1693

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants