Skip to content

Conversation

@jrasell
Copy link
Member

@jrasell jrasell commented Nov 3, 2025

Nomad 1.11 introduced a new peer cache to store information about Serf peers in order to perform server version checking. This can be used to perform the autopilot functionality which reduces the need to parse Serf tags and iterate members.

Autopilot needs the existing Serf members tags, so these have been added to the peer parts object. While this takes up a little space, it reduces our time complexity. The autopilot code has also been simplified, as the Raft version identifier is already in the server parts.

Links

Builds upon #26985

Contributor Checklist

  • Changelog Entry If this PR changes user-facing behavior, please generate and add a
    changelog entry using the make cl command.
  • Testing Please add tests to cover any new functionality or to demonstrate bug fixes and
    ensure regressions will be caught.
  • Documentation If the change impacts user-facing functionality such as the CLI, API, UI,
    and job configuration, please update the Nomad website documentation to reflect this. Refer to
    the website README for docs guidelines. Please also consider whether the
    change requires notes within the upgrade guide.

Reviewer Checklist

  • Backport Labels Please add the correct backport labels as described by the internal
    backporting document.
  • Commit Type Ensure the correct merge method is selected which should be "squash and merge"
    in the majority of situations. The main exceptions are long-lived feature branches or merges where
    history should be preserved.
  • Enterprise PRs If this is an enterprise only PR, please add any required changelog entry
    within the public repository.

Nomad 1.11 introduced a new peer cache to store information about
Serf peers in order to perform server version checking. This can
be used to perform the autopilot functionality which reduces the
need to parse Serf tags and iterate members.

Autopilot needs the existing Serf members tags, so these have
been added to the peer parts object. While this takes up a little
space, it reduces our time complexity. The autopilot code has also
been simplified, as the Raft version identifier is already in the
server parts.
@jrasell jrasell added this to the 1.11.x milestone Nov 3, 2025
@jrasell jrasell self-assigned this Nov 3, 2025
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.

1 participant