jackjlli opened a new pull request #5628: URL: https://github.com/apache/incubator-pinot/pull/5628
This PR fixes race condition when updating existing segment. The race condition can happen when there are multiple request to update the same idealstate, and the last update wins. The method `updateIdealState` in HelixHelper will check the idealstate record version, and fail the request if it doesn't match. ---------------------------------------------------------------- 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. 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