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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.22
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Minor Change
    • Sprint:
      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

              Assignee:
              max.hirschhorn Max Hirschhorn
              Reporter:
              max.hirschhorn Max Hirschhorn
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: