-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
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:
- is related to
-
DOCS-7979 Size and count in collection stats are persisted during checkpoints in WiredTiger
- Closed