GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Studio: peer add/remove controls in HA cluster panel · Issue #4145 · ArcadeData/arcadedb

Studio: peer add/remove controls in HA cluster panel #4145

New issue
Copy link
New issue
Copy link
Closed
Feature
Closed
Studio: peer add/remove controls in HA cluster panel#4145
Feature
Copy link
Assignees
lvca
Milestone
26.5.1

Description

@lvca
lvca
opened on May 9, 2026
Issue body actions

Summary

The Studio HA cluster panel (Management tab) shows the current cluster membership and replica health, but it does not yet expose UI controls to add or remove peers. The backend endpoints already exist:

  • POST /api/v1/cluster/peer (handled by PostAddPeerHandler)
  • DELETE /api/v1/cluster/peer/{peerId} (handled by DeletePeerHandler)

Both are registered in RaftHAPlugin.registerAPI(...) and covered by integration tests (RaftUserSeedOnPeerAdd3NodesIT, UserSeedOnPeerAddScenarioIT).

This issue tracks adding the corresponding Studio UI so an operator can manage cluster membership without dropping to curl.

Proposed UX

  • "Add Peer" button in the Cluster Membership card header. Visible only when the local node is the leader (Raft setConfiguration only applies on the leader, so showing it on followers would always 500).
  • Modal with: Peer ID, Raft Address (host:port), and an optional Friendly Name.
  • Per-peer trash button next to each follower in the membership list, also leader-only. The leader peer itself has no trash button - it must step down or leave the cluster first so the resulting Raft config is valid.
  • A small info hint on followers explaining that peer add/remove can only be performed on the leader.
  • After a successful add or remove, the panel auto-refreshes via updateCluster().

Files

  • studio/src/main/resources/static/cluster.html - Cluster Membership card header + hint.
  • studio/src/main/resources/static/js/studio-cluster.js - renderPeerManagement() toggles, plus new addPeerPrompt() and removePeer(peerId) functions.

Notes

  • Frontend only; the backend is already in place and tested.
  • Studio has no frontend test framework today (see studio/CLAUDE.md), so verification is a manual run against a live multi-node Raft cluster.

Activity

  1. lvca
    self-assigned this
    on May 9, 2026
  2. lvca
    added the
    Feature
    issue type on May 9, 2026
  3. lvca
    added this to the 26.5.1 milestone on May 9, 2026
  4. lvca
    added a commit that references this issue on May 9, 2026

    feat: [studio] add/remove peers

    4cc84e7
  5. lvca commented on May 9, 2026

    @lvca
    lvca
    on May 9, 2026
    MemberAuthor
    More actions

    Implemented.

  6. lvca
    closed this as completedon May 9, 2026
  7. tae898
    added a commit that references this issue on May 10, 2026

    feat: [studio] add/remove peers

    ff86bae
  8. robfrank
    added a commit that references this issue on May 12, 2026

    feat: [studio] add/remove peers

    71c5e24
  9. tae898
    added 2 commits that reference this issue on Jun 28, 2026

    chore(studio-deps-dev)(deps-dev): bump webpack-cli from 5.1.4 to 6.0.…

    61ae376

    feat: [studio] add/remove peers

    4504a06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @lvca
    lvca

Labels

No labels
No labels

Type

Feature

Projects

No projects

    Milestone

    • 26.5.1

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.