dragonflydb / dragonflydb/dragonfly

allow server resurrection after repltakeover

Open
#2,860 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
31.5k
Forks
1.3k
Avg merge
1d 10h
Merged PRs (30d)
137

Description

Today a dragonfly master shutdown upon successful repltkeover flow.

@ashotland suggests that instead dragonfly will stop accepting connections on the main port and will close all the existing connections.

It will still be possible to revert this operation via the admin port by allowing the connection to connect to the main port.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the repltakeover flow and the main and admin port connection handling described in the issue. Confirm the current shutdown behavior; done means the server stops accepting main-port connections, closes existing connections, and can be reverted through the admin port.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend, databases
Issue type
Feature
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.