calcite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Hyde <jh...@apache.org>
Subject Re: Seeming test deadlock between JdbcTest and JdbcFrontLinqBackTest
Date Tue, 12 Jan 2016 21:34:20 GMT
I fixed a deadlock issue a few months back (CALCITE-874) but it's
entirely possible I missed something, and I do see intermittent hangs
in Travis-CI. Josh, can you please log a JIRA case with the stack?
It's not critical for this release.

On Tue, Jan 12, 2016 at 11:05 AM, Josh Elser <josh.elser@gmail.com> wrote:
> Thanks for the pointer, Vladimir. I haven't dug into this corner of the code
> yet, so I wasn't really sure what the guarantees on concurrency were meant
> to be.
>
> I plan to focus on the other issues from yesterday, but will try to swing
> around to this after. Anyone else who has cycles/motivation should feel free
> to look :)
>
>
> Vladimir Sitnikov wrote:
>>
>> As far as I can see, the problem is "non-properly-synchronized"
>> HashMap in ReflectiveRelMetadataProvider.
>>
>> The fix would probably be to using ConcurrentHashMap there, however it
>> is better to doublecheck if there are more high-level data races
>> there.
>>
>> Vladimir

Mime
View raw message