[SERVER-36041] Increase the size of changelog and actionlog Created: 10/Jul/18  Updated: 29/Oct/23  Resolved: 12/Jul/18

Status: Closed
Project: Core Server
Component/s: Diagnostics, Sharding
Affects Version/s: None
Fix Version/s: 3.6.7, 4.0.1, 4.1.1

Type: Improvement Priority: Minor - P4
Reporter: Josef Ahmad Assignee: Sarah Zhou
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0, v3.6
Sprint: Sharding 2018-07-16
Participants:
Linked BF Score: 0

 Description   

The (uncompressed) changelog and actionlog size is currently 10MB and 2MB respectively.

On busy clusters (many concurrent chunk migrations and splits), I have seen the changelog window shrink to ~2 hours.

For diagnostic purposes it would be useful to increase the changelog and actionlog size to hold a longer time window.

Suggested sizes:

  • changelog: 200 MB (20x)
  • actionlog: 20 MB (10x, as it tends to be less subject to writes in a busy cluster)


 Comments   
Comment by Ramon Fernandez Marina [ 12/Jul/18 ]

I was not aware we did not document the current sizes, but I also found DOCS-5071 to document config.actionlog. Let's hear from kay.kim on whether not documenting the sizes is expected as this is an internal collection; no further action item on your end sarah.zhou.

Comment by Githook User [ 12/Jul/18 ]

Author:

{'name': 'Sarah Zhou', 'email': 'sarah.zhou@10gen.com'}

Message: SERVER-36041 Increase size of changelog and actionlog in sharding_catalog_client_test

(cherry picked from commit 7bff26918103cb58d3e01f52a61e1286f2f1c4a4)
Branch: v3.6
https://github.com/mongodb/mongo/commit/232fb87145ebdd0fb43a342c54884f65fb34d43b

Comment by Githook User [ 12/Jul/18 ]

Author:

{'name': 'Sarah Zhou', 'email': 'sarah.zhou@10gen.com'}

Message: SERVER-36041 Increase the size of changelog and actionlog

(cherry picked from commit a7f2cf99a1ab6548eff63d3eddafab1134fe6b84)
Branch: v3.6
https://github.com/mongodb/mongo/commit/17aebb0ae1265b70ba35c89e85ae911640d35d78

Comment by Githook User [ 11/Jul/18 ]

Author:

{'name': 'Sarah Zhou', 'email': 'sarah.zhou@10gen.com'}

Message: SERVER-36041 Increase the size of changelog and actionlog

(cherry picked from commit a7f2cf99a1ab6548eff63d3eddafab1134fe6b84)
Branch: v4.0
https://github.com/mongodb/mongo/commit/c6554668d9a4b6a7bdc107bd96c916f5b04bc307

Comment by Githook User [ 11/Jul/18 ]

Author:

{'name': 'Sarah Zhou', 'email': 'sarah.zhou@10gen.com'}

Message: SERVER-36041 Increase size of changelog and actionlog in sharding_catalog_client_test

(cherry picked from commit 7bff26918103cb58d3e01f52a61e1286f2f1c4a4)
Branch: v4.0
https://github.com/mongodb/mongo/commit/13942929a54621c15afe6b9f5d6aff26882bb681

Comment by Githook User [ 10/Jul/18 ]

Author:

{'name': 'Sarah Zhou', 'email': 'sarah.zhou@10gen.com'}

Message: SERVER-36041 Increase size of changelog and actionlog in sharding_catalog_client_test
Branch: master
https://github.com/mongodb/mongo/commit/7bff26918103cb58d3e01f52a61e1286f2f1c4a4

Comment by Githook User [ 10/Jul/18 ]

Author:

{'name': 'Sarah Zhou', 'email': 'sarah.zhou@10gen.com'}

Message: SERVER-36041 Increase the size of changelog and actionlog
Branch: master
https://github.com/mongodb/mongo/commit/a7f2cf99a1ab6548eff63d3eddafab1134fe6b84

Comment by Kaloian Manassiev [ 10/Jul/18 ]

I see no issue with increasing the side of the change and action logs and the proposed sizes seem reasonable to me. It is a matter of just changing these constants.

Generated at Thu Feb 08 04:41:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.