Jackie-Jiang opened a new pull request, #10198: URL: https://github.com/apache/pinot/pull/10198
Fix #10185 There is a potential deadlock in the check of all segments loaded for a table: - Server restarts and a segment gets OFFLINE -> CONSUMING state transition - This segment is committed and becomes ONLINE in IS - The check will block the state transition from OFFLINE -> CONSUMING, and the check will never pass because Helix won't send another state transition to bring the segment online when there is already a pending message The fix is to move the check out of the state transition handling, but add it into the consumption loop so that state transition is unblocked. Also improve the log to include the segments unloaded -- 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]
