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

make version checks specific to region (1.4.x) #14912

Merged
merged 3 commits into from
Oct 17, 2022

Conversation

tgross
Copy link
Member

@tgross tgross commented Oct 17, 2022

  • One-time tokens are not replicated between regions, so we don't want to enforce
    that the version check across all of serf, just members in the same region.
  • Scheduler: Disconnected clients handling is specific to a single region, so we
    don't want to enforce that the version check across all of serf, just members in
    the same region.
  • Variables: enforce version check in Apply RPC
  • Cleans up a bunch of legacy checks.

This changeset is specific to 1.4.x and the changes for previous versions of
Nomad will be manually backported in separate PRs.

@tgross tgross added backport/1.4.x backport to 1.4.x release line type/bug theme/variables Variables feature labels Oct 17, 2022
@tgross tgross force-pushed the b-region-filter-server-version-check-1.4 branch from cc44f00 to 48ea153 Compare October 17, 2022 18:07
@tgross tgross force-pushed the b-region-filter-server-version-check-1.4 branch from 48ea153 to 8d580e9 Compare October 17, 2022 19:04
@tgross tgross added this to the 1.4.2 milestone Oct 17, 2022
@tgross tgross marked this pull request as draft October 17, 2022 19:33
@tgross tgross force-pushed the b-region-filter-server-version-check-1.4 branch from 8d580e9 to bd94871 Compare October 17, 2022 19:44
@tgross tgross changed the title variables: enforce version check in Apply RPC make version checks specific to region (1.4.x) Oct 17, 2022
@tgross tgross requested a review from shoenig October 17, 2022 19:44
@tgross tgross removed the theme/variables Variables feature label Oct 17, 2022
* One-time tokens are not replicated between regions, so we don't want to enforce
  that the version check across all of serf, just members in the same region.
* Scheduler: Disconnected clients handling is specific to a single region, so we
  don't want to enforce that the version check across all of serf, just members in
  the same region.
* Variables: enforce version check in Apply RPC
* Cleans up a bunch of legacy checks.

This changeset is specific to 1.4.x and the changes for previous versions of
Nomad will be manually backported in a separate PR.
Copy link
Contributor

@angrycub angrycub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe some copypasta, but looks good overall

nomad/acl_endpoint.go Outdated Show resolved Hide resolved
nomad/acl_endpoint.go Outdated Show resolved Hide resolved
nomad/acl_endpoint.go Outdated Show resolved Hide resolved
nomad/variables_endpoint.go Outdated Show resolved Hide resolved
@tgross tgross merged commit 1b43418 into main Oct 17, 2022
@tgross tgross deleted the b-region-filter-server-version-check-1.4 branch October 17, 2022 20:23
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport/1.4.x backport to 1.4.x release line type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants