Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rewrite: optimize the interval of
sync
when rewriting memtables.
In a cloud environment, refraining from unscheduling sync operations when rewriting memtables might result in an accumulation of unsynced bytes in the buffer. This accumulation has the potential to impede the foreground write progress during sync. This pull request introduces periodic sync operations when the amount of stashed unsynced bytes exceeds a predefined threshold. This optimization aims to address the issue and enhance performance. Signed-off-by: lucasliang <[email protected]>
- Loading branch information