hashicorp / hashicorp/consul

Consul agent should fail fast when creating session in remote DC with no node

Open
#1,459 0 comments 0 reactions 0 assignees View on GitHub
theme/api type/enhancement
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
1d 18h
Merged PRs (30d)
39

Description

If the user is creating a session in another DC and doesn't supply a node, then we should probably fail right away rather than try to stuff the local node in there and then forward the request on. We can create a better UX than having a "no node" message from the remote server, and if it works it's probably an accident just because node names match up.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Consul agent path that creates sessions and handles remote data-center requests; the issue names no file or test. Done means a remote-DC session request without a node fails locally before forwarding, while requests that provide a node continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, distributed-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.