Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-14314

writeConcern complains about too large an object returned

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • Write Ops
    • None
    • ALL

    Description

      Here is an error that was returned to application - a multi update with giant array of $in values to update:

      com.mongodb.WriteConcernException: { 
          "serverUsed" : "big-cache-1.Socialite-Stage.6519.mongodbdns.com:27017" , 
          "ok" : 1 , 
          "n" : 0 , 
         "updatedExisting" : true , 
         "err" : "multiple errors for op : BSONObj size: 17599963 (0x10C8DDB) is invalid. Size must be between 0 and 16793600(16MB) :: and :: BSONObj size: 17599963 (0x10C8DDB) is invalid. Size must be between 0 and 16793600(16MB) :: and :: BSONObj size: 17599963 (0x10C8DDB) is invalid. Size must be between 0 and 16793600(16MB)" , "code" : 65 , 
         "causedBy" : [ 
              { "index" : 0 , "code" : 10334 , "errmsg" : "BSONObj size: 17599963 (0x10C8DDB) is invalid. Size must be between 0 and 16793600(16MB)"} , { "index" : 0 , "code" : 10334 , "errmsg" : "BSONObj size: 17599963 (0x10C8DDB) is invalid. Size must be between 0 and 16793600(16MB)"} , 
              { "index" : 0 , "code" : 10334 , "errmsg" : "BSONObj size: 17599963 (0x10C8DDB) is invalid. Size must be between 0 and 16793600(16MB)"}
           ]
      }

      It might just be mongos aggregating together shard results and the shards were impacted by SERVER-14123?

      Attachments

        Issue Links

          Activity

            People

              ramon.fernandez@mongodb.com Ramon Fernandez Marina
              asya.kamsky@mongodb.com Asya Kamsky
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: