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

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

      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
              Reporter:
              Rohan Sharan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: