Create systemUuids parameter for magic restore

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 8.0.0-rc9
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Fully Compatible
    • v8.0
    • Repl 2024-04-15, Repl 2024-04-29, Repl 2024-05-13
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      During a magic restore, we'll sometimes need to create system collections. For example, we'll create the `admin.system.users` and `admin.system.roles` collections when we upsert automation agent credentials to the cluster, if the collections did not exist previously. These collections are typically replicated across a replica set, and therefore will contain the same collection UUIDs. If we create them independently on each cluster, they'll all have different UUIDs.

      To get around this, we'll introduce a '--seedForUuids' parameter to the restore configuration. This parameter will include an ObjectId that we can use to seed the UUID generation, so that any restore passed the same seed value will generate the same collection UUIDs.

            Assignee:
            Ali Mir
            Reporter:
            Ali Mir
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: