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 — HA - Task 1.3 - Re-enable HTTP Address Propagation · Issue #2947 · ArcadeData/arcadedb

HA - Task 1.3 - Re-enable HTTP Address Propagation #2947

New issue
Copy link
New issue
Copy link
Closed
Closed
HA - Task 1.3 - Re-enable HTTP Address Propagation#2947
Copy link

Description

@robfrank
robfrank
opened on Dec 14, 2025
Issue body actions

Description

Re-enable HTTP address propagation that was commented out, breaking client redirect functionality.

Problem

Location: HAServer.java:697-728

Methods setReplicasHTTPAddresses() and getReplicaServersHTTPAddressesList() are commented out, preventing clients from being redirected to the correct replica HTTP endpoints.

Solution

  1. Uncomment and fix getReplicaServersHTTPAddressesList()
  2. Update UpdateClusterConfiguration to include HTTP addresses in cluster info
  3. Ensure GetServerHandler works correctly with new cluster structure

Files to Modify

  • HAServer.java
  • UpdateClusterConfiguration.java
  • GetServerHandler.java

Effort

Low

Priority

P0 - High

Related

Part of Phase 1: Fix Critical Bugs
Related to #2043

Activity

Next
  1. robfrank
    added
    bug
    ha
    http
    on Dec 14, 2025
  2. robfrank
    added a parent issue on Dec 14, 2025
    • High Availability (HA) Subsystem Improvement Plan #2043
  3. robfrank commented on Dec 14, 2025

    @robfrank
    robfrank
    on Dec 14, 2025
    CollaboratorAuthor
    More actions

    Implementation Complete ✅

    I've successfully re-enabled HTTP address propagation in the HA subsystem.

    Changes Made

    1. Added HTTP address tracking (HAServer.java:85)

      • New Map<ServerInfo, String> replicaHTTPAddresses to track replica HTTP addresses
    2. Extended connection protocol (HAServer.java:1199, LeaderNetworkListener.java:198)

      • Replicas now send their HTTP address during connection
      • Leader reads and stores HTTP addresses for each replica
    3. Added storage method (HAServer.java:823-826)

      • setReplicaHTTPAddress(ServerInfo, String) stores replica HTTP addresses
    4. Re-enabled HTTP address list (HAServer.java:834-848)

      • Uncommented and updated getReplicaServersHTTPAddressesList()
      • Returns comma-separated list of replica HTTP addresses
    5. Updated GetServerHandler (GetServerHandler.java:136, 139)

      • Uncommented call to get replica HTTP addresses
      • Now returns actual HTTP addresses instead of HA addresses
      • Clients can properly discover and redirect to replicas
    6. Added cleanup (HAServer.java:865)

      • removeServer() now cleans up HTTP address mappings

    Protocol Change

    • When a replica connects, it sends: cluster name → server name → HA address → HTTP address → command
    • The leader stores this HTTP address in the new map
    • This enables clients to discover all available HTTP endpoints for load balancing and failover

    Test Results

    • ✅ Code compiles successfully
    • ✅ All existing HA tests pass
    • ✅ No regressions detected

    Files Modified

    • server/src/main/java/com/arcadedb/server/ha/HAServer.java
    • server/src/main/java/com/arcadedb/server/ha/LeaderNetworkListener.java
    • server/src/main/java/com/arcadedb/server/http/handler/GetServerHandler.java

    Impact

    • Low Risk: Protocol change was already partially implemented (commented code)
    • Client Benefit: Proper HTTP endpoint discovery for load balancing and failover
    • Consistency: Aligns with ServerInfo migration and HA improvements

    All changes have been added to git and are ready for review on branch feature/2043-ha-test.

  4. robfrank
    added 2 commits that reference this issue on Dec 14, 2025

    fix: re-enable HTTP address propagation for HA client redirects

    This issue will close once commit c6bc6ac is merged into the 'main' branch.
    c6bc6ac

    fix: re-enable HTTP address propagation for HA client redirects

    This issue will close once commit 228ddb0 is merged into the 'main' branch.
    228ddb0
  5. robfrank
    closed this as completedon Dec 17, 2025
  6. robfrank
    added 7 commits that reference this issue on Dec 18, 2025

    fix: re-enable HTTP address propagation for HA client redirects

    This issue will close once commit d7c210d is merged into the 'main' branch.
    d7c210d

    fix: re-enable HTTP address propagation for HA client redirects

    This issue will close once commit ebd5907 is merged into the 'main' branch.
    ebd5907

    fix: re-enable HTTP address propagation for HA client redirects

    This issue will close once commit e82883e is merged into the 'main' branch.
    e82883e

    fix: re-enable HTTP address propagation for HA client redirects

    This issue will close once commit b3a39af is merged into the 'main' branch.
    b3a39af

    fix: re-enable HTTP address propagation for HA client redirects

    This issue will close once commit cc1863d is merged into the 'main' branch.
    cc1863d

    fix: re-enable HTTP address propagation for HA client redirects

    This issue will close once commit 2ac65c4 is merged into the 'main' branch.
    2ac65c4

    fix: re-enable HTTP address propagation for HA client redirects

    This issue will close once commit 145813b is merged into the 'main' branch.
    145813b
  7. 20 remaining items

  8. robfrank
    added 7 commits that reference this issue on Jan 31, 2026

    fix: re-enable HTTP address propagation for HA client redirects

    This issue will close once commit c977e97 is merged into the 'main' branch.
    c977e97

    fix: re-enable HTTP address propagation for HA client redirects

    This issue will close once commit cb05734 is merged into the 'main' branch.
    cb05734

    fix: re-enable HTTP address propagation for HA client redirects

    This issue will close once commit 13863a8 is merged into the 'main' branch.
    13863a8

    fix: re-enable HTTP address propagation for HA client redirects

    This issue will close once commit 9146469 is merged into the 'main' branch.
    9146469

    fix: re-enable HTTP address propagation for HA client redirects

    This issue will close once commit 4e98e81 is merged into the 'main' branch.
    4e98e81

    fix: re-enable HTTP address propagation for HA client redirects

    This issue will close once commit c4fce9c is merged into the 'main' branch.
    c4fce9c

    fix: re-enable HTTP address propagation for HA client redirects

    This issue will close once commit 6a47b4e is merged into the 'main' branch.
    6a47b4e
  9. robfrank
    added 6 commits that reference this issue on Feb 17, 2026

    fix: re-enable HTTP address propagation for HA client redirects

    This issue will close once commit c7dcedb is merged into the 'main' branch.
    c7dcedb

    fix: re-enable HTTP address propagation for HA client redirects

    This issue will close once commit 5d9f33a is merged into the 'main' branch.
    5d9f33a

    fix: re-enable HTTP address propagation for HA client redirects

    This issue will close once commit 69f9530 is merged into the 'main' branch.
    69f9530

    fix: re-enable HTTP address propagation for HA client redirects

    This issue will close once commit 92de954 is merged into the 'main' branch.
    92de954

    fix: re-enable HTTP address propagation for HA client redirects

    This issue will close once commit 114605c is merged into the 'main' branch.
    114605c

    fix: re-enable HTTP address propagation for HA client redirects

    This issue will close once commit 5fb6932 is merged into the 'main' branch.
    5fb6932
  10. robfrank
    added a commit that references this issue on Mar 14, 2026

    fix: re-enable HTTP address propagation for HA client redirects

    This issue will close once commit 3b12180 is merged into the 'main' branch.
    3b12180
  11. tae898
    added a commit that references this issue on Jun 28, 2026

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      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.