Skip to content

fix: avoid reopening GC-deleted plog during duplication#2373

Merged
acelyc111 merged 11 commits intoapache:masterfrom
ruojieranyishen:fixplogconcurrentproblem
Mar 13, 2026
Merged

fix: avoid reopening GC-deleted plog during duplication#2373
acelyc111 merged 11 commits intoapache:masterfrom
ruojieranyishen:fixplogconcurrentproblem

Conversation

@ruojieranyishen
Copy link
Copy Markdown
Collaborator

Fix #2372.

Duplication replay may access private log files deleted by
concurrent GC. Track cleanable decree and stop scanning
plog files beyond GC boundary to prevent crash.

lupengfan1 added 2 commits February 12, 2026 20:22
Fix apache#2372.

Duplication replay may access private log files deleted by
concurrent GC. Track cleanable decree and stop scanning
plog files beyond GC boundary to prevent crash.
@github-actions github-actions Bot added the cpp label Feb 12, 2026
lupengfan1 added 5 commits February 12, 2026 20:46
Prevent unintended copying and moving of mutation_log_private instances by deleting the corresponding constructors and assignment operators. Additionally, update the method signature for find_log_file_to_start to improve clarity.
Comment thread src/replica/mutation_log.h Outdated
Comment thread src/replica/mutation_log.h Outdated
Comment thread src/replica/mutation_log.h Outdated
Comment thread src/replica/duplication/load_from_private_log.cpp Outdated
Comment thread src/replica/duplication/load_from_private_log.cpp Outdated
Comment thread src/replica/duplication/load_from_private_log.cpp Outdated
@acelyc111 acelyc111 merged commit db756dc into apache:master Mar 13, 2026
172 of 173 checks passed
@ruojieranyishen ruojieranyishen deleted the fixplogconcurrentproblem branch March 14, 2026 01:45
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.

bug: duplication may access deleted private log files during GC

3 participants