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

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • Sharding 2020-03-23, Sharding 2020-04-06

    Description

      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

      Attachments

        Activity

          People

            tommaso.tocci@mongodb.com Tommaso Tocci
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: