[SERVER-14756] The YAML storage.quota.enforced option is not found Created: 31/Jul/14  Updated: 11/Jul/16  Resolved: 15/Aug/14

Status: Closed
Project: Core Server
Component/s: Usability
Affects Version/s: 2.6.3
Fix Version/s: 2.6.8, 2.7.5

Type: Bug Priority: Minor - P4
Reporter: Adam Comerford Assignee: Adam Midvidy
Resolution: Done Votes: 0
Labels: cap-ticket-needed, polish
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-16800 Conflict between documentation of sto... Closed
Related
is related to DOCS-3100 storage.quota.enforced Closed
Tested
Backwards Compatibility: Minor Change
Operating System: ALL
Backport Completed:
Steps To Reproduce:

Attempt to start a mongod with the YAML config options in the description

Sprint: Server 2.7.5
Participants:

 Description   

Using the following YAML config file (everything else left out, so set to defaults):

storage:
   quota:
      enforced: true

Results in this error message and mongod failing to start:

Unrecognized option: storage.quota.enforced

Tested on Windows 2.6.3 and Linux 2.6.3 builds with identical results, tried various values without success: true, false, 0, 1 and blank

Note that storage.quota.maxFilesPerDB works, no error



 Comments   
Comment by Githook User [ 14/Jan/15 ]

Author:

{u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}

Message: SERVER-14756 support storage.quota.enforced option in the YAML configuration

Closes #745

Signed-off-by: Benety Goh <benety@mongodb.com>
(cherry picked from commit f60c7f9003ec815c5e4c37decb6ae48a80bf84ec)
Branch: v2.6
https://github.com/mongodb/mongo/commit/66f65bbd4db75bd88ff20df5991b1698cfcd10bf

Comment by Githook User [ 14/Jan/15 ]

Author:

{u'username': u'ehershey', u'name': u'Ernie Hershey', u'email': u'ernie.hershey@10gen.com'}

Message: Revert "SERVER-14756 support storage.quota.enforced option in the YAML configuration"

This reverts commit 3e3b196f2353b6a0db8ec22f398dfa5327bd6cbd.
Branch: v2.6
https://github.com/mongodb/mongo/commit/e93388bddcd6ed5b4c2a29565e02bc2cfb907b34

Comment by Githook User [ 14/Jan/15 ]

Author:

{u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}

Message: SERVER-14756 support storage.quota.enforced option in the YAML configuration

Closes #745

Signed-off-by: Benety Goh <benety@mongodb.com>
(cherry picked from commit f60c7f9003ec815c5e4c37decb6ae48a80bf84ec)
Branch: v2.6
https://github.com/mongodb/mongo/commit/3e3b196f2353b6a0db8ec22f398dfa5327bd6cbd

Comment by Githook User [ 13/Jan/15 ]

Author:

{u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}

Message: Revert "SERVER-14756 support storage.quota.enforced option in the YAML configuration"

This reverts commit f5573139e64ada164711b2408dd913dce3e3dbe0.
Branch: v2.6
https://github.com/mongodb/mongo/commit/ec77ad006183c54154ecd30e14144577afbec3b8

Comment by Githook User [ 12/Jan/15 ]

Author:

{u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}

Message: SERVER-14756 support storage.quota.enforced option in the YAML configuration

Closes #745

Signed-off-by: Benety Goh <benety@mongodb.com>
(cherry picked from commit f60c7f9003ec815c5e4c37decb6ae48a80bf84ec)
Branch: v2.6
https://github.com/mongodb/mongo/commit/f5573139e64ada164711b2408dd913dce3e3dbe0

Comment by Githook User [ 14/Aug/14 ]

Author:

{u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}

Message: SERVER-14756 support storage.quota.enforced option in the YAML configuration

Closes #745

Signed-off-by: Benety Goh <benety@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/f60c7f9003ec815c5e4c37decb6ae48a80bf84ec

Comment by Githook User [ 14/Aug/14 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: Revert "SERVER-14756 The YAML storage.quota.enforced option is not found"

This reverts commit 2c56cc550c8f3894e8631fd9862220352b255ab5
Branch: master
https://github.com/mongodb/mongo/commit/256d9b8323080d84807b7f951134b61cb55169eb

Comment by Githook User [ 14/Aug/14 ]

Author:

{u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}

Message: SERVER-14756 The YAML storage.quota.enforced option is not found
Branch: master
https://github.com/mongodb/mongo/commit/2c56cc550c8f3894e8631fd9862220352b255ab5

Comment by Thomas Rueckstiess [ 31/Jul/14 ]

This line in mongod_options.cpp:198 makes this option unavailable for YAML config.

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