Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-8478

Size and Count Accuracy after Unexpected Shutdown in WT

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • Affects Version/s: None
    • Component/s: manual
    • Labels:
      None
    • 1

      From DOCS-7979

      I reported some inaccurate information via DOCS-5682, saying that size and count is updated every 1000 document writes. As clarified in SERVER-24266, we update the in-memory cache every 1000 document writes, but the updates only become persistent when WiredTigerKVEngine::syncSizeInfo is called, most commonly every 60 seconds as part of WiredTigerKVEngine::haveDropsQueued.

      This means that number can drift much more in the event of an unclean shutdown (as much as 60 seconds worth of writes).

      Apply this correction to:

            Assignee:
            ravind.kumar Ravind Kumar (Inactive)
            Reporter:
            ravind.kumar Ravind Kumar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              7 years, 36 weeks, 3 days ago