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

[v3.6] Omit "versions" from {shardingState: 1} command when not running as a --shardsvr

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.22
    • Sharding
    • None
    • Minor Change
    • Sharding 2020-12-14

    Description

      This behavior was already changed on the 4.0 and later branches with https://github.com/mongodb/mongo/commit/24e411d5cd7f64c5b4da25a351529cd1873284b8#diff-35082d6dcfe629e5c519b3883801b8cd2d7d2fa57db997ad1566e0e35c93dc99 from SERVER-29908. We'd like to do the same on the 3.6 branch to avoid having the {shardingState: 1} command response exceed the maximum BSONObj size (16MB) when sharding isn't even enabled.

      Attachments

        Issue Links

          Activity

            People

              max.hirschhorn@mongodb.com Max Hirschhorn
              max.hirschhorn@mongodb.com Max Hirschhorn
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: