upgradeCheck hits BSONObj limit when trying to check indexkey size

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.6.0-rc2
    • Affects Version/s: None
    • Component/s: Shell
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Matt Dannenberg (Inactive)
              Reporter:
              Matt Dannenberg (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: