cmdLine.journalCommitInterval checks are inconsistent

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • Storage Execution
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      db/db.cpp:744
      if( cmdLine.journalCommitInterval <= 1 || cmdLine.journalCommitInterval > 300 ) {
      out() << "--journalCommitInterval out of allowed range (0-300ms)" << endl;

      db/db_commands_generic.cpp:148
      int x = (int) cmdObj["journalCommitInterval"].Number();
      assert( x > 1 && x < 500 );
      cmdLine.journalCommitInterval = x;
      log() << "setParameter journalCommitInterval=" << x << endl;

              Assignee:
              [DO NOT USE] Backlog - Storage Execution Team
              Reporter:
              Scott Hernandez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: