[SERVER-16186] newCollectionsUsePowerOf2Sizes should warn users it no longer works Created: 17/Nov/14  Updated: 18/Dec/14  Resolved: 17/Dec/14

Status: Closed
Project: Core Server
Component/s: Admin, Storage
Affects Version/s: 2.8.0-rc0
Fix Version/s: 2.8.0-rc3

Type: Bug Priority: Major - P3
Reporter: Bruce Lucas (Inactive) Assignee: Mark Benvenuto
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-16195 createCollection shell helper should ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

In 2.6.0, we added the setParameter newCollectionsUsePowerOf2Sizes, which defaults to true.
As of 2.8.0 newCollectionsUsePowerOf2Sizes is now ignored by the server. If users are setting this value at startup or runtime, we should add a warning which points to a dochub link describing the change and describes the noPadding option required to get the old behavior with MMAPv1. See also: DOCS-4327.

We should also warn when users set the option usePowerOf2Sizes on a per collection basis from the shell.



 Comments   
Comment by Githook User [ 18/Dec/14 ]

Author:

{u'username': u'mpobrien', u'name': u"mike o'brien", u'email': u'mpobrien005@gmail.com'}

Message: SERVER-16186 tools repo test update to handle power of 2 sizes change

Former-commit-id: e6749d6447661c34560948f7478baac56f697743
Branch: master
https://github.com/mongodb/mongo-tools/commit/90fe0114e28b6ac698f02d8070a6a64b8cac6f8c

Comment by Githook User [ 16/Dec/14 ]

Author:

{u'username': u'mpobrien', u'name': u"mike o'brien", u'email': u'mpobrien005@gmail.com'}

Message: SERVER-16186 tools repo test update to handle power of 2 sizes change
Branch: master
https://github.com/mongodb/mongo-tools/commit/e6749d6447661c34560948f7478baac56f697743

Comment by Githook User [ 15/Dec/14 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-16186: newCollectionsUsePowerOf2Sizes should warn users it no longer works
Branch: master
https://github.com/mongodb/mongo/commit/c052295f3eb8081db74be4f1e4ff48f02085a9f8

Comment by Daniel Pasette (Inactive) [ 17/Nov/14 ]

Added SERVER-16195 to warn on setting usePowerOf2Sizes in the createCollection shell helper and add support for noPadding.

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