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

Do not clear the cached sharding filtering information on replication state changes

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.2, 3.7.1
    • Affects Version/s: 3.6.0
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • v3.6
    • Sharding 2017-12-18

      Prior to version 3.6, the shard secondaries did not support filtering based on the active chunk metadata and were required to not have any filtering metadata cached. Because of this on every replication state change we were clearing it "just in case" - step up / step down.

      With support for filtering in 3.6 this is no longer necessary and it also has negative performance impact due to the need to fetch the full metadata, so we should get rid of it.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: