HarperFast / HarperFast/harper-pro

cluster_status on a removed node should clearly indicate removal and close sockets

Open
#217 1 comment 0 reactions 0 assignees View on GitHub
area:replication enhancement from-jira
Dominant language
JavaScript
Stars
3
Forks
0
Avg merge
1d 21h
Merged PRs (30d)
80

Description

## Problem

After a node is removed from a cluster, calling `cluster_status` on that node still shows `database_sockets` with `connected: false`, with no indication that the node is no longer an active cluster member. This is confusing — the sockets should be closed and the status should clearly state the node has been removed.

## Proposed

- Add a top-level field indicating the node is not part of any active cluster
- Close the stale socket entries on removal (currently they're only closed after a restart)

🤖 Filed by Claude on behalf of Kris.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.