apache/pinot

Add API to update ZK metadata of a segment

Open

#10.458 aperta il 22 mar 2023

Vedi su GitHub
 (10 commenti) (1 reazione) (0 assegnatari)Java (1234 fork)batch import
enhancementgood first issuehelp wanted

Metriche repository

Star
 (4937 star)
Metriche merge PR
 (Merge medio 6g 7h) (186 PR mergiate in 30 g)

Descrizione

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.

Guida contributor