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

Persist sizeStorer information before opening up backup cursor

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.10
    • None
    • Storage
    • None
    • Fully Compatible
    • ALL
    • Storage NYC 2019-04-08
    • 0

    Description

      On normal clean shutdown, sizeStorer information will be persisted on disk. Therefore, the sizeStorer information will be accurate on restart. However, we didn't do that before opening up a backup cursor, so the sizeStorer information may be completely outdated. 

      Even if we persist the sizeStorer information right before opening up backup cursor, there is still a window when more writes could go to disk (in the form of journal) and the sizeStorer information is outdated. So this improvement can only make the sizeStorer information more accurate but cannot guarantee 100% accurate unless we can stop writes in that window.

      Attachments

        Activity

          People

            gregory.wlodarek@mongodb.com Gregory Wlodarek
            xiangyu.yao@mongodb.com Xiangyu Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: