-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Sharding NYC
-
Fully Compatible
-
Sharding NYC 2023-07-24, Sharding NYC 2023-08-07
-
2
The server_selector uses a const_cast to update the passed in criteria in `sdamServerSelector::_getCandidateServers`. const_cast is not great to use because it is modifying a const reference that should not be modified. Right now this does not cause a bug, and is more of a code cleanup ticket.