- 
    Type:
Bug
 - 
    Resolution: Fixed
 - 
    Priority:
Major - P3
 - 
    Affects Version/s: None
 - 
    Component/s: Sharding
 
- 
        Fully Compatible
 - 
        ALL
 - 
        v5.0
 - 
        
 - 
        Sharding EMEA 2021-05-31
 - 
        151
 - 
        None
 
- 
        None
 - 
        None
 - 
        None
 - 
        None
 - 
        None
 - 
        None
 
The _finalize function is declared as noexcept, however it might throw when trying to get a shard from the shard registry, this might cause the server to crash.
- is related to
 - 
                    
SERVER-96871 Add static analysis checks for throwing in noexcept boundaries
-         
 - Closed
 
 -