Skip to content
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

Use run ID instead of date prefix for resource naming. #26

Merged
merged 1 commit into from
Sep 25, 2018

Conversation

zerebubuth
Copy link
Member

Previously, all runs had been identified by the planet date they're generated from. This leads to problems when we want to run two concurrent, different runs off the same planet. To make sure resources are unique to the run rather than the planet file, this PR changes to name resources using the run ID instead. The previous behaviour should be (almost) emulated by specifying the run ID as YYMMDD.

There are a few things, notably PostgreSQL database names, which used a YYYY-MM-DD format instead, and these will be incompatible. However, I think the gain is worth the hassle of having to manually go back and correct any of those which might still be running.

Possibly helps towards #16.

Previously, all runs had been identified by the planet date they're generated from. This leads to problems when we want to run two concurrent, different runs off the same planet. To make sure resources are unique to the run rather than the planet file, this PR changes to name resources using the run ID instead. The previous behaviour should be (almost) emulated by specifying the run ID as `YYMMDD`.

There are a few things, notably PostgreSQL database names, which used a `YYYY-MM-DD` format instead, and these will be incompatible. However, I think the gain is worth the hassle of having to manually go back and correct any of those which might still be running.
@zerebubuth zerebubuth merged commit b7d62be into master Sep 25, 2018
@zerebubuth zerebubuth deleted the zerebubuth/undate-prefix branch September 25, 2018 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants