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

Fix always-false if statement in CatalogCache

    • ALL
    • Sharding 2020-11-16, Sharding 2020-11-30, Sharding 2020-12-14, Sharding 2020-12-28, Sharding 2021-01-11, Sharding 2021-01-25, Sharding 2021-02-22, Sharding 2021-03-08, Sharding 2021-03-22, Sharding 2021-04-05, Sharding 2021-04-19, Sharding 2021-05-03, Sharding EMEA 2021-11-15, Sharding EMEA 2021-11-29

      We check if the existingRoutingInfo exists when attempting to reset stale shards. It will never exist, because we've std::moved the shared pointer into refreshCollectionRoutingInfo.

      We should figure out a way to achieve the desired behavior while maintaining the std::move semantics.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            blake.oler@mongodb.com Blake Oler
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: