-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
(copied to CRM)
-
Minor Change
Summary
Eventually the connectionId is overflow and the driver can't connect
Driver version: 2.17.1
Driver error
MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server. ---> System.ArgumentOutOfRangeException: Value is not greater than or equal to 0: -2147483648. (Parameter \\'serverValue\\') at MongoDB.Driver.Core.Misc.Ensure.IsGreaterThanOrEqualToZero(Int32 value, String paramName) at MongoDB.Driver.Core.Connections.ConnectionId..ctor(ServerId serverId, Int32 localValue, Int32 serverValue) at MongoDB.Driver.Core.Connections.ConnectionId.WithServerValue(Int32 serverValue)
Server response
Element: connectionId Type: Double (0x01) <<<<<<<<<<<<--------- DOUBLE Value: 3228943842
- is caused by
-
DRIVERS-2503 ConnectionId returned in heartbeats may be int64
- Implementing
- is related to
-
CSHARP-4483 ConnectionId returned in heartbeats may be int64
- Closed