You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2021/08/04 21:43:50 UTC

[GitHub] [pinot] klsince commented on pull request #7249: add rest API to refresh table with option to force download segment

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: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org