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

asim: enable random zone config event generation #110967

Merged
merged 1 commit into from
Sep 25, 2023

Commits on Sep 25, 2023

  1. asim: enable random zone config event generation

    Previously, zone config event generation used hardcoded span configurations.
    This limits our ability to test the allocator more thoroughly.
    
    To improve this, this patch enables random span configs to be generated and
    applied as part of the simulation. These configurations are generated by
    randomly selecting the primary region, region V.S. zone survival goal, and
    leaseholder preference.
    
    ```
    The following command is now supported:
    "rand_events" [cycle_via_random_survival_goals]
    ```
    
    Part of: cockroachdb#106192
    Release Note: none
    Epic: none
    wenyihu6 authored and kvoli committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    91adebd View commit details
    Browse the repository at this point in the history