dbcommands.cpp::CmdDatasize misleading error message on early break

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.6.0-rc2
    • Component/s: Logging
    • None
    • Query
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Issue is:

      if (Runner::RUNNER_EOF != state) {
                      warning() << "Internal error while reading " << ns << endl;
                  }
      

      If you hit a maxSize while iterating, you'll break from the loop in state Runner::Advanced, which is normal but throws a worrying message. This happens during every DEBUG autosplit, and adds noise to the log.

      Fix should be pretty trivial.

            Assignee:
            Backlog - Query Team (Inactive)
            Reporter:
            Greg Studer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: