-
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
Fix stop after cycle point inconsistency with other cycle point options #4709
Comments
So for "stop-after-point" the original DB value is used on restart regardless of attempts to override it? It seems to me we should a) always store both in the DB; and b) always use a new value - if given (command line or The only complication I've thought of is that changing the FCP alters the length of the graph and brings forward any parts of it defined relative to the FCP. So ideally we'd be careful with that, but it might be difficult to figure out the consequences. |
Yes unless you use
Store both? Why?
But the point of storing in the DB is to use the stored value on restart (unless overridden on CLI), so then what would be the point of storing in the DB at all? |
One defines the end of the graph, one says where to stop prior to that. Why would we not store both in the DB?
Ah, I'm not sure if I've missed the point, or if I should have been more explicit! At start-up, either item can be gotten from the config or from the CLI. At restart, the used value can be (attempted to be, at least) overridden on the CLI or via updating and reinstalling the config. Shouldn't we be keeping track of all of that, so we can figure it out even if the user changed the value in the config, after initially using the CLI? |
Oh I see, you mean store both the stopcp and the fcp (I thought you meant store both the config and cli values of stopcp) |
Actually I think this is simply a bug introduced in a195573 (although this is part of the PR that added The method cylc-flow/cylc/flow/workflow_db_mgr.py Lines 346 to 349 in 098a4fd
it gets put in the DB. However, the other cycle point settings in |
@MetRonnie - If you are happy to do so, please re-tag this as RC3. |
Have discussed this with Dave, we think the best course is probably to make |
This is no longer a question but I need to raise a follow-up issue before we close this one. |
Can I suggest that we change the name of the issue when it ceases to be a question? |
@MetRonnie can you change the issue title appropriately? (It's not entirely clear to me how the proposed solution relates to the original question, so not changing the title myself...) |
(Re-written)
The final cycle point is only stored in the DB if specified via command line option
--fcp
, whereas the stop after cycle point is stored in the DB regardless of whether it was specified via command line option or flow.cylc.This means changing the final cycle point in flow.cylc and reinstalling + restarting will use the new point, but doing the same for stop after cycle point will ignore the new point. Why should this be the case?
The text was updated successfully, but these errors were encountered: