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

Divide by zero error when moving extremely small chunks

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3 Required
    • Component/s: Sharding
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Sharding 2019-10-21
    • Linked BF Score:
      59

      Description

      In this line it's possible for avgRecSize to be 0 if the number of bytes returned by dataSize is less than the number of records in the collection, which can cause a floating point exception/crash.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: