Skip to content

Commit a3c939e

Browse files
committed
Fix tiered memory race conditions and corruption issues
Key changes: - Remove mprotect from CLOCK algorithm (was incorrectly protecting hot segments) - Update SIGSEGV handler to allow promotion to proceed without aborting - Add unprotect before promotion copy to prevent SIGSEGV during data copy - Add segment locking to combine cleaner to prevent eviction during combine - Add promotion check in update_cell_by for old segment access - Disable page_fault_tracking by default to avoid signal handler overhead This fixes the race condition where code could read garbage from cold segments and the SIGSEGV crashes during promotion.
1 parent 9ce2804 commit a3c939e

2 files changed

Lines changed: 200 additions & 5 deletions

File tree

0 commit comments

Comments
 (0)