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

Get rid of ScopedCollectionMetadata's operator bool

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.3, 4.1.1
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Sharding 2018-07-16

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: