apache / apache/druid

Better tracking of SeekableStreamSupervisor status after reset

Aperta
#8,317 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Area - Streaming Ingestion Improvement
Lingua principale
Java
Stelle
14.1k
Fork
3.8k
Merge medio
2g 58m
PR unite (30g)
233

Descrizione

[The `SeekableStreamSupervisor` throws an exception after it successfully resets the offset for a partition](https://github.com/apache/incubator-druid/blob/master/indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/supervisor/SeekableStreamSupervisor.java#L2520-L2524). This looks strange to me because it's not really an exceptional case. I think it's throwing an exception to show to druid operators that the reset happened using the API introduced in #7428 which seems not very useful though. It would be probably better to show the time when the most recent reset happened.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Iniziate da indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/supervisor/SeekableStreamSupervisor.java intorno alle righe 2520-2524, dove l’eccezione segue un reset riuscito dell’offset della partizione. Esaminate l’API di reset introdotta in #7428 e determinate come debba essere esposto agli operatori Druid l’orario dell’ultimo reset. Il lavoro è completato quando lo stato del reset viene tracciato con il suo orario più recente invece di essere segnalato come un caso eccezionale.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
backend
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.