{"id":"bitcask-rebuild-sorts-ascending","text":"`_rebuild_index` sorts file IDs ascending before scanning so that newer records overwrite older ones in the keydir, enforcing last-write-wins semantics.","truth_value":"IN","source":"entries/2026/05/28/hash-index-storage-bitcask-_rebuild_index.md","source_url":"","source_hash":"","justifications":[],"dependents":["hash-index-survives-restart"],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"bitcask-rebuild-sorts-ascending","truth_value":"IN","reason":"premise"}]}}