Remove all usages of the default constructor of ScopedCollectionMetadata outside of MetadataManager

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.6.1, 3.7.1
    • Affects Version/s: 3.5.13
    • Component/s: Sharding
    • None
    • Fully Compatible
    • v3.6
    • Sharding 2017-12-04, Sharding 2017-12-18
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The ScopedCollectionMetadata object is supposed to only be created by the MetadataManager since only it knows definitively what the current metadata for the collection is. Currently there are call sites which create ScopedCollectionMetadata using the default constructor, which makes it difficult to ensure correctness in one place.

      Because of this we should remove all usages of the default constructor outside of MetadataManager.

            Assignee:
            Kaloian Manassiev
            Reporter:
            Esha Maharishi (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: