imply-cheddar opened a new pull request, #12646:
URL: https://github.com/apache/druid/pull/12646

   There are various resource leaks from test setup as well as some
   corners in query processing.  We poison the StupidPool to start failing
   tests when the leaks come and fix any issues uncovered from that so
   that we can start from a clean baseline.
   
   Unfortunately, because of how poisoning works,
   we can only fail future checkouts from the same pool,
   which means that there is a natural race between a
   leak happening -> GC occurs -> leak detected -> pool poisoned.
   
   This race means that, depending on interleaving of tests,
   if the very last time that an object is checked out
   from the pool leaks, then it won't get caught.
   At some point in the future, something will catch it,
    however and from that point on it will be deterministic.
   
   
   This PR has:
   - [x] been self-reviewed.
   - [x] added unit tests or modified existing tests to cover new code paths, 
ensuring the threshold for [code 
coverage](https://github.com/apache/druid/blob/master/dev/code-review/code-coverage.md)
 is met.
   


-- 
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]

Reply via email to