klsince commented on pull request #7249:
URL: https://github.com/apache/pinot/pull/7249#issuecomment-892994820


   > what's the motivation for adding a forceDownload flag, instead of 
downloading only when crc is different?
   
   Thanks for the question. Just a quick sum of our offline discussion for 
other's reference: currently, refreshing is part of segment uploading API. This 
RP decouples both. One major use case to refresh segment with forceDownload 
being set to true is to ask severs to clean up existing segment and build a new 
one according to new table config (potentially updated to remove some indices). 
This effectively cleans up obsolete indices. As comparison, current reload API 
can adds new index but doesn't remove obsolete indices, which can be improved 
later).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to