ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ilya Kasnacheev <ilya.kasnach...@gmail.com>
Subject Re: Deadlocked while Get/Set at the time ?
Date Fri, 15 Mar 2019 14:35:52 GMT
Hello!

It's a reasonable question that I have no answer to. You can raise this
issue on developers maillist if you like.

Regards,
-- 
Ilya Kasnacheev


пт, 15 мар. 2019 г. в 17:30, Tâm Nguyễn Mạnh <nguyenmanhtam123@gmail.com>:

> Hi,
>
> Thank you for your advise. I will try with SortedDictionary. But I am
> wondering it's only workaround. Should it be handle natively in Ignite
> Core, shouldn't it ?
> How do you thing ?
>
> On Fri, Mar 15, 2019 at 8:38 PM Ilya Kasnacheev <ilya.kasnacheev@gmail.com>
> wrote:
>
>> Hello!
>>
>> I imagine you can use a SortedDictionary.
>>
>> Regards,
>> --
>> Ilya Kasnacheev
>>
>>
>> пт, 15 мар. 2019 г. в 16:02, Tâm Nguyễn Mạnh <nguyenmanhtam123@gmail.com
>> >:
>>
>>> Hi,
>>>
>>> Yes im using .Net ThinClient putAll method. It requires
>>> IEnumerable<KeyValuePair<TK, TV>> as input. What should I do ?, please
>>> advise me
>>>
>>>
>>> https://ignite.apache.org/releases/latest/dotnetdoc/api/Apache.Ignite.Core.Client.Cache.ICacheClient-2.html#Apache_Ignite_Core_Client_Cache_ICacheClient_2_PutAll_System_Collections_Generic_IEnumerable_System_Collections_Generic_KeyValuePair__0__1___
>>>
>>>
>>> On Fri, Mar 15, 2019 at 5:55 PM Ilya Kasnacheev <
>>> ilya.kasnacheev@gmail.com> wrote:
>>>
>>>> Hello!
>>>>
>>>> Are you using putAll()? please make sure to always pass TreeMap (or
>>>> other sorted map) to putAll since it is possible to get a deadlock when
>>>> using HashMap (since keys are unordered).
>>>>
>>>> Regards,
>>>> --
>>>> Ilya Kasnacheev
>>>>
>>>>
>>>> пт, 15 мар. 2019 г. в 06:18, Tâm Nguyễn Mạnh <
>>>> nguyenmanhtam123@gmail.com>:
>>>>
>>>>> Hi Igniters,
>>>>>
>>>>> Today I run a loadtest for my system that use Ignite as a Cache
>>>>> Service but 1 of my nodes got crashed because of DeadLocked.
>>>>>
>>>>> Could you please help me to prevent this.
>>>>>
>>>>> --
>>>>> Thanks & Best Regards
>>>>>
>>>>> Tam, Nguyen Manh
>>>>>
>>>>>
>>>
>>> --
>>> Thanks & Best Regards
>>>
>>> Tam, Nguyen Manh
>>>
>>>
>
> --
> Thanks & Best Regards
>
> Tam, Nguyen Manh
>
>

Mime
View raw message