[DOCS-8478] Size and Count Accuracy after Unexpected Shutdown in WT Created: 02/Aug/16  Updated: 30/Oct/23  Resolved: 16/Aug/16

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Task Priority: Major - P3
Reporter: Ravind Kumar (Inactive) Assignee: Ravind Kumar (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to DOCS-7979 Size and count in collection stats ar... Closed
Participants:
Days since reply: 7 years, 25 weeks, 1 day ago
Story Points: 1

 Description   

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:



 Comments   
Comment by Githook User [ 23/Aug/16 ]

Author:

{u'username': u'rkumar-mongo', u'name': u'ravind', u'email': u'ravind.kumar@10gen.com'}

Message: DOCS-8478: Size and Count accuracy in WT after unexpected shutdown

Extension of DOCS-7979, applied to count dbcommand, dbstats and helper methods

Signed-off-by: kay <kay.kim@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/850e312d54243be5c4d154cd1ce46319fe9953b4

Comment by Ravind Kumar (Inactive) [ 17/Aug/16 ]

https://github.com/mongodb/docs/pull/2712

Generated at Thu Feb 08 07:56:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.