[SERVER-19052] Remove sizeStorer recalculations at startup with WiredTiger Created: 19/Jun/15  Updated: 17/Jan/17  Resolved: 19/Jun/15

Status: Closed
Project: Core Server
Component/s: WiredTiger
Affects Version/s: 3.0.0
Fix Version/s: 3.0.5, 3.1.5

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

Issue Links:
Documented
is documented by DOCS-5682 Document that the size and count in c... Closed
Duplicate
is duplicated by SERVER-18887 WiredTiger instances taking 2 hours t... Closed
Related
related to SERVER-19472 count() incorrect after recovery with... Closed
related to SERVER-27706 use itcount() instead of count in rep... Closed
Backwards Compatibility: Minor Change
Backport Completed:
Sprint: Quint Iteration 5
Participants:

 Description   

When the WiredTiger record store is initialized, it scans every collection and recalculates the total record size and count if the number of documents is less than 10,000. This extra check is not necessary and can very negatively impact startup time.

The documentation should be updated to reflect that the count and size stats may not be 100% accurate in the face of unclean shutdowns. It is possible to reset the sizeStorer by running the validate command.



 Comments   
Comment by Githook User [ 22/Jul/15 ]

Author:

{u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}

Message: SERVER-19052 use itcount() instead of count() in master/slave tests
Branch: v3.0
https://github.com/mongodb/mongo/commit/324fce90a53403a2559af5de3c6a22a1b6304877

Comment by Githook User [ 22/Jul/15 ]

Author:

{u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}

Message: SERVER-19052 warm the cache before perf test
Branch: v3.0
https://github.com/mongodb/mongo/commit/f6c529d817ad98fe64854cbd8771b0b097cd985d

Comment by Githook User [ 22/Jul/15 ]

Author:

{u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}

Message: SERVER-19052 fix compile
Branch: v3.0
https://github.com/mongodb/mongo/commit/03baf82ed2068d3d03d399443867fd446068dcd8

Comment by Githook User [ 22/Jul/15 ]

Author:

{u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}

Message: SERVER-19052 use itcount() instead of count() in repl tests

(cherry picked from commit 1e786585ae83e55e13016a6761a121b502c887f8)
Branch: v3.0
https://github.com/mongodb/mongo/commit/e46b0bd8b8d96d48b712234c8cc5c2a998494d50

Comment by Githook User [ 22/Jul/15 ]

Author:

{u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}

Message: SERVER-19052 cleanup unreachable if statement from removal of sizeStorer calcs

(Manual backport of 586a9787b792036cd33684faee82969c5dcf5e50)
Branch: v3.0
https://github.com/mongodb/mongo/commit/64b4fff5e0e1aa7cca7555864bfe0cac01cc76a7

Comment by Githook User [ 22/Jul/15 ]

Author:

{u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}

Message: SERVER-19052 Remove sizeStorer recalculations at startup with WiredTiger

(Manual backport of 299b2c1d833c6ca537e300b5bc49384a7a81e5cd)
Branch: v3.0
https://github.com/mongodb/mongo/commit/e86cec60a08b188fb55a5eb6f56517366ce3e16b

Comment by Githook User [ 24/Jun/15 ]

Author:

{u'username': u'martinbligh', u'name': u'Martin Bligh', u'email': u'mbligh@mongodb.com'}

Message: SERVER-19052 cleanup unreachable if statement from removal of sizeStorer calcs
Branch: master
https://github.com/mongodb/mongo/commit/586a9787b792036cd33684faee82969c5dcf5e50

Comment by Githook User [ 22/Jun/15 ]

Author:

{u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}

Message: SERVER-19052 use itcount() instead of count() in repl tests
Branch: master
https://github.com/mongodb/mongo/commit/1e786585ae83e55e13016a6761a121b502c887f8

Comment by Daniel Pasette (Inactive) [ 19/Jun/15 ]

Linked docs ticket: DOCS-5682

Comment by Githook User [ 19/Jun/15 ]

Author:

{u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}

Message: SERVER-19052 Remove sizeStorer recalculations at startup with WiredTiger
Branch: master
https://github.com/mongodb/mongo/commit/299b2c1d833c6ca537e300b5bc49384a7a81e5cd

Generated at Thu Feb 08 03:49:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.