Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize batch read and caching in compactor #3652

Merged
merged 1 commit into from
Jun 15, 2023

Commits on Jun 9, 2023

  1. Optimize batch read and caching in compactor

    Read cache does not cache checkpoint entries. This invalidates the
    use of checkpoint batch read in stream layer. This PR adds the extra
    parameter CHECKPOINT_READ_BATCH_SIZE to compactor_runner.py and set
    it to 1 for compactor.
    
    This PR also enables read cache for compactor to allow just one batch
    read of non-checkpoint entries to be cached. This optimizes the read
    efficiency of checkpointer.
    Lujie1996 committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    4b8593d View commit details
    Browse the repository at this point in the history