vvivekiyer commented on PR #15798: URL: https://github.com/apache/pinot/pull/15798#issuecomment-3046141145
> Couldn't apply a decorate pattern where PerQueryCPUMemAccountantFactory Discussed this with Rajat. Decided against decorate pattern because - Both query and workload accountants rely on the same underlying state. Managing this shared state across multiple decorator objects risks race conditions, duplicated storage and increases complexity unnecessarily. -- 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]
