Get rid of ScopedCollectionMetadata's operator bool

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.0.3, 4.1.1
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2018-07-16
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Since for the purposes of SERVER-32198 we are going in the direction of all collections (both sharded and unsharded) having a CollectionMetadata associated with them, the bool operator on ScopedCollectionMetadata is no longer necessary. Instead we should have a property on CollectionMetadata to indicate whether the collection is sharded or not and that should be the canonical way.

            Assignee:
            Kaloian Manassiev
            Reporter:
            Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: