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

upgradeCheck hits BSONObj limit when trying to check indexkey size

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.0-rc2
    • Component/s: Shell
    • Labels:
    • Operating System:
      ALL

      Description

      This happens because of how the javascript hooks into c++. By the current method, we can only pass in a single BSONObj, so we put both the object and the index spec into a single BSONObj which can end up being oversize.

      Instead, the code should allow us to pass the two BSONObjs directly, avoiding the oversized BSONObj error.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                matt.dannenberg Matt Dannenberg
                Reporter:
                matt.dannenberg Matt Dannenberg
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: