scatter: no peer fallback after final isolation rejection
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
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- go
- Ambito
- distributed-systems
Direzione di ricerca
Start at the public admin scatter entry point and follow peer target selection through the final isolation check; the issue provides a runnable reproduction in the linked discussion on PR #11284. Reproduce with the listed placement rules and store labels, then check whether scatter tries store 8 after store 7 fails. Done means scatter can select the eligible target whose final layout passes isolation.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Bug Report
What did you do?
Enable Placement Rules. Configure two voter rules with counts 2 and 4, both with LocationLabels=[zone,host]. Only the second rule sets IsolationLevel=host.
| Store | Zone | Host |
|---|---|---|
| 1 | b | |
| 2 | b | |
| 3 | a | b |
| 4 | a | c |
| 5 | c | |
| 6 | a | c |
| 7 | a | b |
| 8 | d | e |
Place peers with IDs 1–6 on stores 1–6 and keep the leader on store 1. In a scatter group, favor moving the peer on store 3. Set the peer selection counts for stores 7 and 8 to 0 and 1, respectively, so scatter picks store 7 first. Call admin scatter twice for the Region. The source has a complete rule fit with an existing host isolation conflict.
What did you expect to see?
If every leader for the first peer layout fails the final isolation check, scatter can try another eligible peer target. In this case it can move the peer from store 3 to store 8, where the final layout passes the same check.
What did you see instead?
Both calls return ErrGetTargetStore without trying store 8. The final layout for store 7 correctly fails the isolation check after peer ID allocation. The selection counts stay unchanged, so the next call picks store 7 again. As a control, making store 8 the first choice produces an operator whose final layout passes the check.
What version of PD are you using (pd-server -V)?
Reproduced with the public scatter entry point on PD source 3cb011d6e, with joint consensus on and off. Runnable reproduction.
- Lingua principale
- Go
- Stelle
- 1.2k
- Fork
- 794
- Merge medio
- 5g 32m
- PR unite (30g)
- 81
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un 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 tikv/pd
-
needs-type
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
contribution type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
type/ci
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
affects-8.5 contribution needs-type
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
contribution type/enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
projectdiscovery/dnsx#1113 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement needs:triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
crossplane-contrib/provider-upjet-azure#1374 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
agent-in-progress
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
jordansmall/spindrift#7716 ·
I maintainer di solito rispondono entro 1 giorno
-
bug 🪲 needs-triage :mag:
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
Azure/azure-service-operator#5880 ·
I maintainer di solito rispondono entro 1 giorno