apple / apple/foundationdb

Connecting to a cluster with just a single coordinator address

Open
#3,039 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
16.7k
Forks
1.6k
Avg merge
1d 20h
Merged PRs (30d)
126

Description

We've made some changes in recent versions of FDB to allow clients to connect to a database by going through a single coordinator. We still require that clients have all of the coordinator IPs and the latest generation IDs in the cluster file. I think it would make things easier on clients if they could connect with just the database name and a coordinator DNS names. That would allow us to store the coordinator addresses under a single DNS name, and remove the need to send cluster file updates to clients when the coordinators change. Is this a viable strategy?

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the recent FoundationDB changes that let clients connect through a single coordinator, then examine the cluster file's coordinator IPs and generation IDs. Determine whether a database name plus coordinator DNS name is a viable client connection strategy; the issue provides no file or test entry point, so completion would require a documented design decision.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
databases, distributed-systems, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.