Make callers of keyBelongsToMe() to not go through collection metadata

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Sharding 2020-03-23, Sharding 2020-04-06
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      keyBelongsToMe() functionality should now be accessed only through the new ScopedCollectionFilter class.

      Thus it needs to be removed from the CollectionMetadata interface.

      Probably we need also to migrate some of the CollectionMetadata unittest that make use of this functionality, such as src/mongo/db/s/collection_metadata_test.cpp

            Assignee:
            Tommaso Tocci
            Reporter:
            Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: