Skip to content

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

Open
ruojieranyishen wants to merge 8 commits intoapache:masterfrom
ruojieranyishen:fixplogconcurrentproblem
Open

fix: avoid reopening GC-deleted plog during duplication#2373
ruojieranyishen wants to merge 8 commits intoapache:masterfrom
ruojieranyishen:fixplogconcurrentproblem

Conversation

@ruojieranyishen
Copy link
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.
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

1 participant