apache/pinot

Add API to update ZK metadata of a segment

Open

#10,458 建立於 2023年3月22日

在 GitHub 查看
 (10 留言) (1 反應) (0 負責人)Java (1,234 fork)batch import
enhancementgood first issuehelp wanted

倉庫指標

Star
 (4,937 star)
PR 合併指標
 (平均合併 6天 7小時) (30 天內合併 186 個 PR)

描述

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.

貢獻者指南