-
Type: Bug
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Sharding
-
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.
- related to
-
SERVER-49800 add use-after-move rule to clang-tidy evergreen builder
- Closed