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

does repairDatabase overpack?

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Storage Execution
    • ALL

      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.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            dwight@mongodb.com Dwight Merriman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: