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

Persist sizeStorer information before opening up backup cursor

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.10
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Storage NYC 2019-04-08
    • 0

      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.

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

              Created:
              Updated:
              Resolved: