apache/pinot

Add API to update ZK metadata of a segment

Open

#10 458 ouverte le 22 mars 2023

Voir sur GitHub
 (10 commentaires) (1 réaction) (0 assignés)Java (1 234 forks)batch import
enhancementgood first issuehelp wanted

Métriques du dépôt

Stars
 (4 937 stars)
Métriques de merge PR
 (Merge moyen 6j 7h) (186 PRs mergées en 30 j)

Description

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.

Guide contributeur