Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-13160

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

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

      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-server-query Backlog - Query Team (Inactive)
            Reporter:
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: