Where can I change index key limit with WiredTiger? Using mongodb version 3.0.4.
With version 2.6.7 we changed it at /db/structure/btree/btree.h from 1024 to 2048 and compiled the code to support larger index key.
Where can I change index key limit with WiredTiger? Using mongodb version 3.0.4.
With version 2.6.7 we changed it at /db/structure/btree/btree.h from 1024 to 2048 and compiled the code to support larger index key.
Looks like this has been pushed down to the storage engine although there may be other checks elsewhere in the code that you could run into issues with.
At this point, if SERVER-3372 makes it into the 3.2 release (update: now marked for 3.3 so did not make it to 3.2) this would become redundant, so I would just wait for that release and avoid having to update, support and compile your own version of MongoDB.