sajjad-moradi commented on issue #9310:
URL: https://github.com/apache/pinot/issues/9310#issuecomment-1234952012

   Yes, force commit helps with creating new consuming segments which pull the 
latest schema. The challenge, however, is to know which completed segments to 
reload. Since we don't know when all consuming segments finish committing after 
receiving force commit message, we don't know when to reload the completed 
segments.
   One way is to add a sync endpoint for forceCommit. In this endpoint we can 
first get the list of consuming segments. Then we send force commit messages to 
servers. Finally we periodically get the list of consuming segments and check 
if no old consuming segments is in the list. When the check is successful, we 
return 200.


-- 
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-unsubscr...@pinot.apache.org

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


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

Reply via email to