somandal opened a new pull request, #16931: URL: https://github.com/apache/pinot/pull/16931
This PR adds support for processing SEGMENT_REFRESH messages asynchronously rather than holding up the Helix message thread while doing the processing. The main objective is to free up the Helix threads faster for handling SEGMENT_REFRESH messages. We have seen issues where processing a large number of refresh messages can take time and back-up and delay processing of other Helix messages if the Helix messages queue is very full. A config is required to enable this feature: `segment.refresh.asynchronous.handling`, and is disabled by default Testing done: - Added a refreshSegment API locally and ran QuickStart to verify that the refresh messages are added to the ExecutorService when this is enabled cc @Jackie-Jiang @krishan1390 -- 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]
