Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-36054

Get rid of ScopedCollectionMetadata's operator bool

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

      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@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: