Created attachment 111573 [details]
The deadlock was introduced by some deadlock fix.
Both the WhiteListLookup and DelegatingLookupImpl are evil as they call third party code under private lock.
So I am going to resolve the problem in the WhiteListLookup by weak consistency in idempotent call. The same should be probably done in DelegatingLookupImpl.
Fixed jet-main 3c49cd0977fb
Integrated into 'main-golden'
User: Tomas Zezula <email@example.com>
Log: #203187:Deadlock in whitelist lookup