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

Rebuild Rangers #1594

Merged
merged 3 commits into from
Mar 4, 2024
Merged

Rebuild Rangers #1594

merged 3 commits into from
Mar 4, 2024

Commits on Mar 4, 2024

  1. feat(rebuild): add rebuild rangers

    Adds a set of rebuild rangers which can be used by different rebuilds:
    1. full rebuild - walk the entire device range and copy every segment
       (current nexus full rebuild behaviour).
    2. partial rebuild - walk the allocated segments only and copy them.
    3. partial eq rebuild - walk the entire device range and copy only allocated
       segments (current nexus partial rebuild behaviour).
    
    Signed-off-by: Tiago Castro <tiagolobocastro@gmail.com>
    tiagolobocastro committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    3d0dc20 View commit details
    Browse the repository at this point in the history
  2. refactor(rebuild): use new rebuild rangers

    Make use of the rebuild rangers to configure rebuild types.
    This allows us to remove the setting of the rebuild map being done
    after the rebuild job is created for the nexus and removing it from
    the shared rebuild descriptor.
    
    The nexus still uses the partial but sequential rebuild to reduce
    the scope of changes.
    Once the fully partial rebuild is validated we can switch the nexus
    to it.
    
    Signed-off-by: Tiago Castro <tiagolobocastro@gmail.com>
    tiagolobocastro committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    c564a44 View commit details
    Browse the repository at this point in the history
  3. test(pytest/bdd): pin pytest to 7.4.4

    Pin pytest otherwise newer version seems to not play well with
    other packages - we might need to update others first.
    todo: update requirements file
    
    Signed-off-by: Tiago Castro <tiagolobocastro@gmail.com>
    tiagolobocastro committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    e493376 View commit details
    Browse the repository at this point in the history