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

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

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Sharding
    • Sprint:
      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

          Issue Links

            Activity

              People

              Assignee:
              tommaso.tocci Tommaso Tocci
              Reporter:
              tommaso.tocci Tommaso Tocci
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: