apache / apache/druid

Better tracking of SeekableStreamSupervisor status after reset

オープン
#8,317 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
Area - Streaming Ingestion Improvement
主要言語
Java
スター
14.1k
フォーク
3.8k
平均マージ
1日 19時間
マージ済み PR(30日)
209

説明

[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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/supervisor/SeekableStreamSupervisor.java の2520-2524行付近から始めてください。ここでは、パーティションオフセットのリセットが成功した後に例外が発生しています。#7428 で導入された reset API を確認し、最新の reset 時刻を Druid オペレーターにどのように公開すべきかを判断してください。reset のステータスが例外的なケースとして報告されるのではなく、最新の時刻とともに追跡されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
backend
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。