Move internal CollectionMetadata checks in MigrationSourceManager to CollectionMetadata

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Gone away
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      MigrationSourceManager checks that CollectionMetadata is set properly – collVersion, keyPattern. https://github.com/mongodb/mongo/blob/cdc7af4c6d453b8c1ce2319d0cd3b50074609d87/src/mongo/db/s/migration_source_manager.cpp#L145-L149 This should be something that CollectionMetadata assures, rather than specifically checked by CollectionMetadata users.

            Assignee:
            Dianna Hohensee (Inactive)
            Reporter:
            Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: