|
----------------------------
Original Description
In the documentation here we have the following example:
convertShardKeyToHashed( { _id: ObjectId("5b2be413c06d924ab26ff9ca") } )
|
That is incorrect and will produce a different hash value from the one that gets produced by the server for a hashed index.
As pointed out by kevin.pulo on SERVER-32889, the correct usage would be:
convertShardKeyToHashed( ObjectId("5b2be413c06d924ab26ff9ca") )
|
----------------------------
Description
Scope of changes (files that need work and how much)
Impact to other docs outside of this product
MVP (work and date?)
Resources (e.g. Scope Docs, Invision)
|