-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correctly store stop_point, etc for restart #3184
Conversation
8ae76a2
to
57cd958
Compare
Rebased. Doc change moved to cylc/cylc-doc#21. |
Didn't review it, only quickly looked at what was changing, and spotted one or two minor things 👍 |
@kinow Thanks for spotting the issues. I have fixed them in the latest commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two comments, but no blockers. +1 from me 😬
43b6d10
to
f11b4f1
Compare
Test setting stop point on suite start up and via cylc stop command. Test restart with stop point. Test stop with stop point consumed and restart. Test reload with stop point after restart.
Test restart with stop task and stop clock time, before and after the settings are consumed. Test restart with auto shutdown disabled via command line. Test restart with auto shutdown enabled via command line (overriding suite.rc). Test restart with auto shutdown enabled via command line (overriding DB). Test ignore stop cycle point on restart. Test ignore final cycle point on restart.
Added tests to prove that both
We'll definitely recommend users against downgrade on restart - like we do now. |
It was restart which was causing the problem i.e: $ cylc run <suite> now
$ sleep 10
$ cylc stop <suite>
$ cylc restart <suite> # me-thinks that `now` gets re-evaluated on restart?
|
(And `--icp=previous(...)` and `--icp=next(...)`.)
I've run through most of the restart scenarios now, looks OK. The run mode isn't preserved in a restart on this branch (though that is also the case in 7.8.x), I think we had a discussion about this once, can't remember what we decided. |
A bit more job time for `tests/execution-time-limit/04`. A bit more event driven for `tests/hold-release/15`.
I've now included run mode command line option in the suite_params table. However, if the option is changed in the configuration file at restart, it will not know. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't really done a proper in-depth review of this, but approving it on the basis that I did look closely the 7.8.x version before approving that, and this is obviously very similar. @matthewrmshin you can hit merge if you're comfortable with that, else request review again and it'll have to wait till I get time (note I have only two days at work next week - school holidays).
3 approvals! |
Fix #2799. Fix #3019. (With consideration of #3161). Forward port of #3147.
Requirements check-list
CONTRIBUTING.md
and added my name as a Code Contributor.CHANGES.md
.