hashicorp / hashicorp/nomad

Prefer-datacenter local servers

Open
#5,730 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

theme/client theme/discovery type/enhancement
Dominant language
Go
Stars
17k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
105

Description

For a long time Nomad clients have intended to prefer servers in the same datacenter. This is intended to improve reliability by avoiding more lossy/latent network segments.

Unfortunately this appears to have broken in Nomad 0.8.0.

Nomad clients should prefer servers in the same datacenter over servers in other datacenters.

Nomad version

Nomad 0.9

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by reproducing the behavior in Nomad 0.9 with clients and servers in different datacenters, then trace server selection. Done means clients prefer servers in their own datacenter while retaining cross-datacenter behavior when needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
distributed-systems, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.