[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:
Related
related to SERVER-13013 write command overhead too large for ... Closed
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 SERVER-13013 (with the condition that the index spec is less than 16KB, which was concluded to be a reasonable assumption)

Generated at Thu Feb 08 03:30:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.