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

Speed up AOF rewrite test case #1093

Merged
merged 1 commit into from
Sep 30, 2024

Commits on Sep 30, 2024

  1. Speed up AOF rewrite test case

    These two test cases run in a loop:
    
    * AOF rewrite during write load: RDB preamble=yes
    * AOF rewrite during write load: RDB preamble=no
    
    Both of the test cases build up a lot of data (3-4 million keys
    when I run locally) so we should empty the data before the second
    test case. Otherwise, the second test cases adds keys on top of
    the keys added in the first test case, resulting in the double
    number of keys and takes more time.
    
    Before this commit:
    
    [ok]: AOF rewrite during write load: RDB preamble=yes (18225 ms)
    [ok]: AOF rewrite during write load: RDB preamble=no (37249 ms)
    
    After:
    
    [ok]: AOF rewrite during write load: RDB preamble=yes (18777 ms)
    [ok]: AOF rewrite during write load: RDB preamble=no (19940 ms)
    
    Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
    zuiderkwast committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    1296c5f View commit details
    Browse the repository at this point in the history