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

Investigate removing AutoGetCollections when calling filteringMetadata methods on the CSR

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-99928 removed some instances of Collection lock acquisitions in order to get the CollectionShardingRuntime.

      We should investigate whether the Collection locks we acquire in order to call filteringMetadata methods on the CSR are really needed.

      The methods to investigate are:

      • clearFilteringMetadata
      • clearFilteringMetadataForDroppedCollection
      • setFilteringMetadata

      25 non-test locations:
      https://github.com/search?q=repo%3A10gen%2Fmongo+-%3EclearFilteringMetadata++NOT+path%3A**%2F*test*&type=code
      https://github.com/search?q=repo%3A10gen%2Fmongo+-%3EsetFilteringMetadata++NOT+path%3A**%2F*test*&type=code

            Assignee:
            Unassigned Unassigned
            Reporter:
            daniel.gomezferro@mongodb.com Daniel Gomez Ferro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None