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

does repairDatabase overpack?

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • None
    • None
    • Storage
    • None
    • Storage Execution
    • ALL

    Description

      Normally we use a paddingFactor to determine how much padding to put at the end of records. This way there is not too much movement on small additions to a record, and the factor is adaptive.

      However I am wondering if during a repair (or any clone including initial sync of a replica slave) if it looks like all inserts, and thus the factor is too low. Everything gets packed in tightly which isn't correct.

      One way to fix is to use the old paddingfactor if it is reasonable as a hint.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            dwight@mongodb.com Dwight Merriman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: