Skip to content

Commit

Permalink
rewrite: optimize the interval of sync when rewriting memtables. (t…
Browse files Browse the repository at this point in the history
…ikv#347)

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
LykxSassinator committed Dec 3, 2024
1 parent e505d63 commit bb54b05
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit bb54b05

Please sign in to comment.