Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-3731

Use exclude list from SERVER-97963 to skip collections that must be excluded from dump/restore

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Tools and Replicator
    • 42

      Currently, we populate the logic ourselves: https://github.com/mongodb/mongo-tools/blob/685fd936346fb8a0c9eef493d6ab2e91b9ed1aea/mongodump/prepare.go#L137

      It would be better for dump/restore to use the API provided by SERVER-97963 in the server versions it exists, and for the versions it doesn't exist in, use the list of collections that must be excluded for those versions. The list of collections will either be created in SERVER-97963 or easily extrapolated from the server code.

            Assignee:
            Unassigned Unassigned
            Reporter:
            rohan.sharan@mongodb.com Rohan Sharan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: