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

Floating point exception in mongoimportjson

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.1.2
    • Affects Version/s: 1.1.1
    • Component/s: Tools
    • None
    • Environment:
      Reproducable on Ubuntu, but probably not platform specific

      When importing long list of small documents, mongoimportjson can crash with a Floating point exception. This is due to the progress rate calculation : when the document are small, the import can be fast to enough to get 10000 written under the second, resulting in a a division by zero.

      Provided patch to skip progress rate calculation when time difference is zero.

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            kali Mathieu Poumeyrol
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: