-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Implementation
-
None
When database::create_collection() is passed an options::create_collection object with the "no_padding" set to true, the driver adds the invalid option "{noPadding: true}" to the create command request. This value is ignored on older server versions, and rejected with an error on newer server versions (as of SERVER-25459).
The correct option to send to the server when "no_padding" is requested is "{flags: 0x10}", per the create command reference.