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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.6.0-rc2
    • Logging
    • None
    • Query
    • ALL

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-query Backlog - Query Team (Inactive)
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: