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

Compact command needs to update datasize

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.1.1
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • ALL

      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.

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

              Created:
              Updated:
              Resolved: