Remove cache clearing in cacheflush

This commit is contained in:
Diego Reis
2025-07-16 11:11:52 -03:00
parent 5dd571483f
commit b86674adbb

View File

@@ -805,10 +805,6 @@ impl Pager {
)?;
page.clear_dirty();
}
{
let mut cache = self.page_cache.write();
cache.clear().unwrap();
}
self.dirty_pages.borrow_mut().clear();
self.flush_info.borrow_mut().state = CacheFlushState::WaitAppendFrames;
return Ok(IOResult::IO);