kfaraz commented on PR #17653: URL: https://github.com/apache/druid/pull/17653#issuecomment-2640158580
> I was also hoping to understand the pros and cons of having pending segments and segments being accessed by the same ReadWriteLock in the cache. There are certain transactions that modify both pending segments and regular segments. To maintain consistency (and also for general simplicity), it is best to have a single lock that restricts access to the entire cache. The locks are only held at datasource level and the cache operations are expected to be fast enough so that this won't be a concern. -- 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]
