BugZero found this defect 23 days ago.
Data sources
All data on this page is proprietary to BugZero® or gathered from public sources
4/26/2024
MongoDB Server
No affected releases provided.
No fixed releases provided.
The direct shard connection checks are present in both AutoGetDB and AutoGetCollection. SERVER-86796 added the direct shard connection places in such a way that these checks may be repeated multiple times for certain operations (for example, the checks are present in both AutoGetDB and AutoGetCollection). This is to prevent a situation where the checks pass, then a second shard is added to the cluster and a collection is moved, and then the locks are acquired. When these checks throw errors, this is fine because the first failure will throw an error. For warnings, however, this means we can end up emitting multiple warnings for the same operation.