-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 1.9.2
-
Component/s: Connectivity
-
None
-
Environment:Windows 8
Microsoft Windows Server 2008 R2 Standard
Every time the configuration is different than the previous call to replSetReconfig, RunCommand on the MongoDatabase object in the C# driver throws the following exception.
at MongoDB.Bson.IO.ByteBufferFactory.LoadFrom(Stream stream)
at MongoDB.Driver.Internal.MongoConnection.ReceiveMessage[TDocument](BsonBinaryReaderSettings readerSettings, IBsonSerializer serializer, IBsonSerializationOptions serializationOptions)
at MongoDB.Driver.Operations.CommandOperation`1.Execute(MongoConnection connection)
at MongoDB.Driver.MongoDatabase.RunCommandAs[TCommandResult](IMongoCommand command, IBsonSerializer resultSerializer, IBsonSerializationOptions resultSerializationOptions)
at MongoDB.Driver.MongoDatabase.RunCommandAs[TCommandResult](IMongoCommand command)
at MongoDB.Driver.MongoDatabase.RunCommand(IMongoCommand command)
at [MYCODE]
- backports
-
CSHARP-2146 System.IO.EndOfStreamException when iterating change stream cursor
- Closed