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

Update sizeStorer data when collection validate is called

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.8.0-rc5
    • None
    • Storage
    • None
    • Fully Compatible

    Description

      Because storageSize and count can become inaccurate after an unclean shutdown, we should provide a way to update these values.

      As collection validate already walks all the indexes and the collection records, we should verify that the sizeStorer record matches and update it to the real value (with a message) in the case that it validates successfully.

      Attachments

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: