Repository navigation
Conversation
- Document the local Store partition detail route. - Explain the missing Raft group response. - Keep unavailable membership separate from basic details.
imbajin
left a comment
There was a problem hiding this comment.
Score: 6.5/10 · Confidence: high
Blocking: yes
Summary
The new partition response guarantees depend on a server change that has not landed in Apache HugeGraph.
Evidence
Current Apache master dereferences the missing partition engine and does not catch leadership loss while reading membership; the linked fork PR #391 is still open.
Validation notes
Source and discussion review only; no running Store cluster was tested.
| | GET | `/-/scan` | State of the running scan streams | | ||
| | GET | `/v1/partitions` | All Raft groups on this node with per-partition metrics. Add `?flags=accurate` for exact key counts, which is slower. | | ||
| | GET | `/v1/partition/{id}` | One Raft group by partition id, including role, leader, peers and committed index | | ||
| | GET | `/v1/partition/{id}` | One local Raft group, including role, leader and committed index. Returns HTTP 404 if the node has no such group. | |
There was a problem hiding this comment.
Current Apache HugeGraph PartitionAPI.getPartition() dereferences a missing engine and does not catch leadership loss during the membership reads, so a missing group or step-down can fail instead of returning the response described here and below. The linked server change is still open against the fork. Please defer these claims until the equivalent change ships in Apache, or clearly identify the version/dependency in both languages.
Purpose
The Chinese and English Store quickstarts now describe the response from a local
GET /v1/partition/{id}. A missing local Raft group returns HTTP 404. The response can still include basic details if membership is unavailable.Companion Server change
Verification
Compared the examples with response checks and ran the website link validation.