HarperFast / HarperFast/harper-pro

Replicated read_log hangs when a cluster node is down (Studio times out)

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

Description

A replicated `read_log` request hangs (and the Studio times out) when any node in the cluster is down. The expected behavior is to return logs from the reachable nodes and either omit or annotate the unreachable ones.

## Reproduction

With one Fabric central manager stopped, the Studio's `read_log` call hangs:

```json
{
"operation": "read_log",
"start": 0,
"replicated": true,
"limit": 100,
"order": "desc"
}
```

## Ask

- The replicated `read_log` fan-out should treat a node-down as a normal partial response, not a hang.
- Per-node response should include either the log entries or an error/timeout marker.
- A bounded per-node timeout so a slow/unreachable node can't stall the aggregate response.

## Acceptance criteria

- With one node down, `read_log replicated=true` returns within a bounded time with logs from the reachable nodes and a clear indicator that the down node didn't respond.
- Studio renders the partial result rather than timing out the whole request.

---

Tracked in Jira: [CORE-2960](https://harperdb.atlassian.net/browse/CORE-2960)

🤖 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.