There's already a TODO for this in connection.d. Sharded clusters behind load balancers need loadBalanced: true in the handshake and different connection handling.
Needed for Atlas serverless and some managed sharded setups, but not something most people hit.
There's already a TODO for this in
connection.d. Sharded clusters behind load balancers needloadBalanced: truein the handshake and different connection handling.Needed for Atlas serverless and some managed sharded setups, but not something most people hit.