jtao15 opened a new pull request, #8639: URL: https://github.com/apache/pinot/pull/8639
This pr enhance current startReplaceSegment api to cover the following case: Initial state: ``` lineageEntry1: { segmentsFrom: [], segmentsTo: [s1, s2], status: IN_PROGRESS} ``` Restart the protocol with the same segmentsTo will go through and revert lineageEntry1: ``` lineageEntry1: { segmentsFrom: [], segmentsTo: [s1, s2], status: REVERTED} lineageEntry2: { segmentsFrom: [], segmentsTo: [s1, s2], status: IN_PROGRESS} ``` Note: The segment deletion in startReplaceSegment api is async, the client side should wait till the clean up is finished before uploading the new segments. -- 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