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

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

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

      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@mongodb.com Tommaso Tocci
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: