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

incusd/storage/drivers/ceph: Rework parseParent #1181

Merged
merged 4 commits into from
Sep 4, 2024
Merged

Commits on Sep 4, 2024

  1. incusd/storage/drivers: Add isDeleted flag

    Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
    stgraber committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    ff90218 View commit details
    Browse the repository at this point in the history
  2. incusd/storage/drivers/ceph: Rework parseClone

    Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
    stgraber committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    a4a7a20 View commit details
    Browse the repository at this point in the history
  3. incusd/storage/drivers/ceph: Rework parseParent

    The regexp logic was very hard to follow and also wasn't properly
    handling volume names that make use of special characters.
    
    The new logic may be slower but is a lot easier to follow and reason
    about as well as being a lot easier to tweak in the future to handle
    more edge cases.
    
    Also reworks the test to output something that's easier to check.
    
    Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
    Sponsored-by: ActivePort (https://www.activeport.com.au)
    stgraber committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    05963ff View commit details
    Browse the repository at this point in the history
  4. incusd/storage/drivers/ceph: Make use of isDeleted flag

    Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
    stgraber committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    6415b35 View commit details
    Browse the repository at this point in the history