[SERVER-21528] Clean up core/capped6.js Created: 18/Nov/15  Updated: 18/Nov/16  Resolved: 26/Jan/16

Status: Closed
Project: Core Server
Component/s: JavaScript
Affects Version/s: 3.2.0-rc3
Fix Version/s: 3.2.3, 3.3.1

Type: Improvement Priority: Major - P3
Reporter: Robert Guo (Inactive) Assignee: Robert Guo (Inactive)
Resolution: Done Votes: 0
Labels: test-only
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-21388 Invariant Failure in CappedRecordStor... Closed
is depended on by SERVER-21440 jstestfuzz - run a mmapv1 task in eve... Closed
Backwards Compatibility: Fully Compatible
Backport Completed:
Sprint: TIG C (11/20/15), TIG D (12/11/15), TIG E (01/08/16), TIG F (01/29/16)
Participants:

 Description   

capped6.js uses many randomized parameters that makes it hard to reason about the different cases that need to be treated differently.

It'd be nice to rely less on random values and have the different cases listed explicitly.



 Comments   
Comment by Githook User [ 05/Feb/16 ]

Author:

{u'username': u'guoyr', u'name': u'Robert Guo', u'email': u'robert.guo@10gen.com'}

Message: Revert "SERVER-21528 clean up capped6.js"

This reverts commit e597d3a557d62ba621f3bf67e9eede52661384c2.
Branch: v3.0
https://github.com/mongodb/mongo/commit/184abda526230675f5bb67c5b03b343ca2ac5739

Comment by Githook User [ 29/Jan/16 ]

Author:

{u'username': u'guoyr', u'name': u'Robert Guo', u'email': u'robert.guo@10gen.com'}

Message: SERVER-21528 clean up capped6.js
Branch: v3.0
https://github.com/mongodb/mongo/commit/e597d3a557d62ba621f3bf67e9eede52661384c2

Comment by Githook User [ 27/Jan/16 ]

Author:

{u'username': u'guoyr', u'name': u'Robert Guo', u'email': u'robert.guo@10gen.com'}

Message: SERVER-21528 clean up capped6.js
Branch: v3.2
https://github.com/mongodb/mongo/commit/15e8b49669fdb4555acff2431fc9d5add48ca388

Comment by Githook User [ 26/Jan/16 ]

Author:

{u'username': u'guoyr', u'name': u'Robert Guo', u'email': u'robert.guo@10gen.com'}

Message: SERVER-21528 clean up capped6.js
Branch: master
https://github.com/mongodb/mongo/commit/c6354b87df3ea5526a2c21853de2c62bc3666a2c

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