ankitsultana opened a new pull request, #10108: URL: https://github.com/apache/pinot/pull/10108
While we cache Mailbox for both InMemory and Grpc mailbox services, we never remove them. For InMemory mailbox this can lead to huge leaks since in some failure scenarios the queue might not have been drained completely, leading to leaks of entire TransferableBlocks. The cache has an `expireAfterAccess` of 5 minutes which means that if no thread tried to issue a `getReceivingMailbox` or `getSendingMailbox` for 5 minutes, then the cache entry would be dropped. cc: @walterddr @61yao -- 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: commits-unsubscr...@pinot.apache.org 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