The ChunkManager::findIntersectingChunk method currently sometimes returns StatusWith and sometimes throws, while reaching directly in the CatalogCache.
It should be changed to return the specific chunk if one chunk can be found or to always throw if it a single chunk cannot be found due to collation or lack of shard key.
- is depended on by
-
SERVER-20854 Don't refresh database and collection information from config server while holding a mutex
- Closed