[SERVER-13180] upgradeCheck hits BSONObj limit when trying to check indexkey size Created: 12/Mar/14 Updated: 11/Jul/16 Resolved: 17/Mar/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | None |
| Fix Version/s: | 2.6.0-rc2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Matt Dannenberg | Assignee: | Matt Dannenberg |
| Resolution: | Done | Votes: | 0 |
| Labels: | 26qa | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| 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. |
| Comments |
| Comment by Matt Dannenberg [ 17/Mar/14 ] |
|
This was fixed by |