Offer the sharding setting when creating a Fabric cluster
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 58/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- backend-api-design, frontend
Direzione di ricerca
Start by reading Studio's create-cluster flow and configRestrictions.ts, then check how it submits cluster settings and displays errors from central-manager. Add an optional sharding section with the stated limits, compatibility checks, and read-only-after-creation behavior; keep replication restrictions unchanged. Done when the supported sharding settings validate before submission and central-manager scale-in errors appear unchanged.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
Central-manager accepts sharding: { shards, minOwners } on POST /Cluster (HarperFast/central-manager#527), for Harper 5.4 schema-defined sharding. Studio's create-cluster flow has no way to set it, so a sharded Fabric cluster can only be created through the API. Studio's configRestrictions.ts blocks editing replication except databases, which should stay as it is: shard settings are managed by Fabric, not by node config edits.
Proposed
An optional sharding section in the create-cluster flow:
- Shards: 2 to 256.
- Owners per shard (
minOwners): default 2; 1 allowed, with a warning that losing that one owner loses the shard's records for good. - Validate before submit as central-manager does: Harper 5.4.0-beta.3 or later, a hosted (not self-hosted) cluster with region plans, and at least
shards * minOwnersinstances across the chosen plans. Central-manager answers 400 with the reason otherwise. - After creation the setting is read-only. It cannot be changed or turned on later (HarperFast/central-manager#1158 covers enabling on an existing cluster, HarperFast/central-manager#1159 changing the shard count).
On scale-in, central-manager refuses a change that would leave a shard with fewer than minOwners running owners and names the shard. Studio should show that message as is.
Not in scope
Showing shard ownership on the cluster page is #2081 and is not part of this issue.
🤖 Generated by Anthropic Claude Code (Claude Opus); posted via @kriszyp.
- Lingua principale
- TypeScript
- Stelle
- 5
- Fork
- 4
- Merge medio
- 2g 13h
- PR unite (30g)
- 60
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di HarperFast/studio
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
HarperFast/studio#2111 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
HarperFast/studio#2109 ·
I maintainer di solito rispondono entro 1 giorno
-
rum
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
HarperFast/studio#2085 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
HarperFast/studio#2070 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
HarperFast/studio#2067 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di HarperFast/studio
Issue simili
-
bot:ai-assisted component:platform-js status:untriaged
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 74/100
midnightntwrk/platform-js#38 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ranxianglei/billion-context#7068 ·
I maintainer di solito rispondono entro 1 giorno
-
vendor: bump whisper.cpp past 6a8addd — the current pin aborts the app on a failed Metal initAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
mybigday/whisper.rn#348 ·
-
enhancement severity:low
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
Battle-Cattle/BCUK-Bot-4#1075 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
ilan-pinto/roaring-lions#1552 ·
I maintainer di solito rispondono entro 1 giorno