apache/pinot

Add API to update ZK metadata of a segment

オープン

#10,458 opened on 2023/03/22

 (11 件のコメント) (1 件のリアクション) (0 人の担当者)Java (1,234 件のフォーク)batch import
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (4,937 個のスター)
PR merge metrics
 (平均マージ 6d 7h) (30d で 186 merged PRs)

説明

Looking at BaseSingleSegmentConversionExecutor, I see that it always uploads the segment, even if the segment did not change but only the metadata (e.g., updating custom map for some minion task ran on the segment). The controller then checks that the segment did not change and only updates ZK.

The network transfer of the segment from minion task to controller seems wasteful in this case, since the minion task should already know that the segment did not change. If there is an API to simply update ZK metadata, then that will be more efficient.

コントリビューターガイド