无效的BSONObj大小:1651340622(0x4E756D62)第一个元素:rNegativePattern:?type = 101

时间:2016-07-27 06:52:54

标签: mongodb mongodb-query

当查询服务器时出现以下错误

,我收到服务器错误
   Error occurred from mongo operation: {0} MongoDB.Driver.MongoQueryException: QueryFailure flag was Invalid BSONObj size: 1651340622 (0x4E756D62) first element: rNegativePattern: ?type=101 (response was { "$err" : "Invalid BSONObj size: 1651340622 (0x4E756D62) first element: rNegativePattern: ?type=101", "code" : 10334 }).
at MongoDB.Driver.Internal.MongoReplyMessage`1.ReadHeaderFrom(BsonBuffer buffer)
   at MongoDB.Driver.Internal.MongoReplyMessage`1.ReadFrom(BsonBuffer buffer)
   at MongoDB.Driver.Internal.MongoConnection.ReceiveMessage[TDocument](BsonBinaryReaderSettings readerSettings, IBsonSerializer serializer, IBsonSerializationOptions serializationOptions)
   at MongoDB.Driver.Operations.QueryOperation`1.GetFirstBatch(IConnectionProvider connectionProvider)
   at MongoDB.Driver.Operations.QueryOperation`1.Execute(IConnectionProvider connectionProvider)
   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   at MongoDB.Driver.MongoCollection.FindOneAs[TDocument](FindOneArgs args)
Coming randomly .

Sever版本是2.2.0。

0 个答案:

没有答案