Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Don't attempt to use max-txn-log-size on upgrades #7410
Conversation
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
jujubot
merged commit eb6888c
into
juju:develop
May 29, 2017
1 check failed
github-check-merge-juju
Built PR, ran unit tests, and tested LXD deploy. Use !!.*!! to request another build. IE, !!build!!, !!retry!!
Details
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
wallyworld commentedMay 28, 2017
Description of change
Upgrading Juju paniced because when state was opened for the upgrade, the max-txn-log-size attribute was missing. This value would have been filled in by the upgrade steps, so it's a catch 22 thing. But the thing is, the max-txn-log-size is only useful when bootstrapping, because capped collections cannot be resized yet (https://jira.mongodb.org/browse/SERVER-1864). So now we only use the max-txn-log-size when initialising state on bootstrap, not on subsequent opens.
QA steps
bootstrap older juju
upgrade
Bug reference
https://bugs.launchpad.net/bugs/1694116