[SERVER-3655] don't allow both --journal and --nojournal at the same time Created: 19/Aug/11 Updated: 11/Jul/16 Resolved: 26/Sep/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Usability |
| Affects Version/s: | None |
| Fix Version/s: | 2.1.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mathias Stearn | Assignee: | Mathias Stearn |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
Current behavior just turns on journaling and doesn't warn Should also consider legacy --dur and --nodur. |
| Comments |
| Comment by Guanqun Lu [ 27/Sep/11 ] |
|
how about this pull request https://github.com/mongodb/mongo/pull/93 to check the similar thing (--auth and --noauth coexist)? |
| Comment by Guanqun Lu [ 27/Sep/11 ] |
|
OK. No problem. Maybe I should find some hard problems to solve instead of these trivial fixes... |
| Comment by Mathias Stearn [ 26/Sep/11 ] |
|
@Gaunqun Thanks for your pull request, but I think this was a better way to handle it. We should fail to start up in this case rather than risking someone ignoring their logfile. |
| Comment by auto [ 26/Sep/11 ] |
|
Author: {u'login': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}Message: Don't allow both --journal and --nojournal at same time |
| Comment by Guanqun Lu [ 14/Sep/11 ] |
|
Hi, This improvement is simple, I've done a fix. Please check the pull request on github: Thanks! |