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

Compact command needs to update datasize

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.1.1
    • None
    • Storage
    • None
    • ALL

    Description

      Attached patch is one way to do this. Could also just keep track of total size and update at end. That would be less crash safe, but would ensure correctness if the field is currently off due to prior compacts.

      Attachments

        Activity

          People

            milkie@mongodb.com Eric Milkie
            mathias@mongodb.com Mathias Stearn
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: