Indexing stops intermittently
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- kafka, postgresql, rust
- Ambito
- backend, databases, distributed-systems
Direzione di ricerca
Esamina le impostazioni di connessione PostgreSQL di metastore e gli errori indexing-actor mostrati nello screenshot allegato. Traccia i riavvii di control-plane e gli eventi di disabilitazione/abilitazione delle tenant sources nelle indexing pipelines. Il lavoro è completato quando viene identificata una causa principale riproducibile dell’arresto dell’indicizzazione e viene confermata una correzione con il carico di lavoro del cluster riportato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hi everyone, I need some help in debugging Quickwit. We have been having intermittent issues with our Quickwit setup.
We have a cluster of 4 indexer nodes (each with 4 CPU minimum and up to 32, 8Gi RAM up to 48Gi) handling about 440 indexes (110 tenants X 4 indexes per tenant)
For each tenants the source config for all 4 indexes end up creating 16 indexing pipelines connected to Kafka (total of 1760 pipelines). All the tenants and the indexes don't have the same rate. for each tenant 1 index (main) is the one expected to receive most data. Also we have few heavy tenants (5), all the others send us less data.
With this setup, Indexing works most times but sometimes it just stops working and we have not been able to find the root cause.
The last occurrence of this issue appeared when we deployed a change to reconfigure the metastore postgres min_connection:8 and max_connection: 20, after this change we started seeing these errors related to the indexing actors failing (see screenshot).
We reverted the change and the errors stopped but the indexer were still not picking up. usually when we have indexing issue: Some tenants or all tenant not indexing, we restart the control-plane. This restart trigger a new indexing plan that stops the old pipelines and start new ones. This sometimes solve the issue but this time it did not work.
Another solution that worked previously, was the saviour this time. We selected few of our tenants, disabled their index source, thus stopping the indexing pipelines and enabled them again. We did this in batch and after two batch we had most tenants indexing except 4. we had to redo it for the remaining ones again before all tenants indexes started fully working.
My hypothesis:
- we probably are under provisioned and currently rely on the randomness of the indexing pipeline getting assigned to the correct node
- creating 4 to 8 pipelines as new indexes are created is fine but when a restart is triggered, starting all tenants pipelines seems to be problematic. but it's a small number of pipeline 440 indexing pipelines per node if we assume perfect balancing per node.Maybe spawning all these pipelines at the same time creates pressure on the metastore (PG connection)
- Lingua principale
- Rust
- Stelle
- 11.8k
- Fork
- 628
- Merge medio
- 2g 22h
- PR unite (30g)
- 50
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- 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 quickwit-oss/quickwit
-
area:otel documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
quickwit-oss/quickwit#6686 ·
I maintainer di solito rispondono entro 1 giorno
-
Add some examples of requests in the REST API reference docsForse già presa @Cunninger l’ha presa 88 giorni fa. Apertaenhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
quickwit-oss/quickwit#4266 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 65/100
quickwit-oss/quickwit#3872 ·
I maintainer di solito rispondono entro 1 giorno
-
Update docs on range queriesApertadocumentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 65/100
quickwit-oss/quickwit#3666 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
quickwit-oss/quickwit#2769 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di quickwit-oss/quickwit
Issue simili
-
p2 ready-mac
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
quickwit-oss/tantivy#3299 ·
I maintainer di solito rispondono entro 1 giorno
-
`stream enable` fails with "already enabled" on every fresh session since streaming became always-onAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
vercel-labs/agent-browser#2797 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
witchesofthehill/manabrew#1309 ·
I maintainer di solito rispondono entro 1 giorno
-
bug help wanted ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
userFRM/egui-charts#4494 ·
I maintainer di solito rispondono entro 1 giorno