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

shardConnPoolStats can return a document larger than 16MB

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.2.16
    • Component/s: Networking
    • Labels:
      None
    • ALL

      The shardConnPoolStats command can return a document that is larger than 16MB for especially large clusters. This causes the command to fail.

      mongos> db.runCommand({ shardConnPoolStats: 1 })
      {
      	"ok" : 0,
      	"errmsg" : "BSONObj size: 19285201 (0x12644D1) is invalid. Size must be between 0 and 16793600(16MB) First element: totalInUse: 1247",
      	"code" : 10334
      }
      

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            andrew.young Andrew Young
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: