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

Add utc_jid option for generating jids based on utc #51126

Merged
merged 4 commits into from
Jan 10, 2019

Conversation

msteed
Copy link
Contributor

@msteed msteed commented Jan 9, 2019

What does this PR do?

Add the utc_jid config option (boolean) for generating jids based on UTC instead of local time.

This is useful in SSE deployments where masters are in different timezones, so that jobs across the infrastructure can easily be sorted chronologically. The workaround is to set each master's clock to UTC.

What issues does this PR fix or reference?

#33309

Previous Behavior

Previous behavior is still available and enabled by default.

New Behavior

If utc_jid is True, generate jids based on UTC instead of local time.

Tests written?

Yes

Commits signed with GPG?

Yes

@msteed msteed requested a review from a team as a code owner January 9, 2019 18:16
@garethgreenaway
Copy link
Contributor

Would it make sense to add a new test for this rather than adding code into the existing test? @saltstack/team-core thoughts?

@msteed
Copy link
Contributor Author

msteed commented Jan 10, 2019

@garethgreenaway : Do I need to do something about the codeclimate issue?

@garethgreenaway
Copy link
Contributor

@msteed That codeclimate issue isn't a barrier to the PR being merged.

@garethgreenaway garethgreenaway merged commit f1d0963 into saltstack:develop Jan 10, 2019
garethgreenaway added a commit to garethgreenaway/salt that referenced this pull request Sep 19, 2019
@dwoz dwoz mentioned this pull request Dec 7, 2019
@waynew waynew added the has master-port port to master has been created label Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has master-port port to master has been created
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants