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

rbd: VolumeGroupReplicationContent controller to regenerate the OMAP data #4750

Open
wants to merge 3 commits into
base: devel
Choose a base branch
from

Commits on Nov 6, 2024

  1. journal: pass groupUUID to be used for omap name reserve

    This commit adds groupUUID param for `ReserveName` to be used for
    OMAP name reserve instead of auto-generating.
    This is useful for mirroring and metro-DR ensuring that mirrored
    resources have consistent OMAP names across mirrored clusters.
    
    Signed-off-by: Praveen M <m.praveen@ibm.com>
    iPraveenParihar committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    1a1630d View commit details
    Browse the repository at this point in the history
  2. rbd: add RegenerateVolumeGroupJournal method for Manager interface

    This commit adds `RegenerateVolumeGroupJournal` to Manager
    interface. RegenerateVolumeGroupJournal regenerate the omap
    data for the volume group.
    
    This performs the following operations:
      - extracts clusterID and Mons from the cluster mapping
      - Retrieves pool and journalPool parameters from the VolumeGroupReplicationClass
      - Reserves omap data
      - Add volumeIDs mapping to the reserved volume group omap object
      - Generate new volume group handle
    
    Returns the generated volume group handler.
    
    Signed-off-by: Praveen M <m.praveen@ibm.com>
    iPraveenParihar committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    6e1c55c View commit details
    Browse the repository at this point in the history
  3. rbd: controller to regenerate volume group omap data

    This commit adds new controller that watches for the
    VolumeGroupReplicationContent and regenerates the OMAP data if
    it doesn't exists.
    
    Signed-off-by: Praveen M <m.praveen@ibm.com>
    iPraveenParihar committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    0927a48 View commit details
    Browse the repository at this point in the history