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

Address bug spotted by RepositionLastSplitPointsTest

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.2.0, 5.1.0-rc1
    • None
    • None
    • Fully Compatible
    • ALL
    • v5.1
    • 164

    Description

      The RepositionLastSplitPointsTest test is very "sensible" as it expect the auto splitter behaviour to be very precise.

      It helped spotting the following bug that needs to be solved in order to avoid future failures: this strict gt comparison needs to be replaced by a >=, otherwise the generated chunks will always contain one key more than the expected size.

      Moreover, the size of the string inserted in the generated documents should be changed to 1024^2 - 24 in order to obtain documents of exactly 1MB (contrary to the calculation done under SERVER-60463, that was done by relying on a wrong estimated data size).

      Attachments

        Activity

          People

            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: