You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by wangsan wang <wq...@gmail.com> on 2018/08/28 12:34:36 UTC

ignite multi thread stop bug

In my test case:see the attachment.I can reproduce the bug

   1.

   testStartServer

   2.

   testMultiClient

   3.

   close testMultiClient

   4.

   then testStartServer will Failed to wait for partition map exchang



I need update cache in DiscoveryEvent. how to fix this?

Re: ignite multi thread stop bug

Posted by ezhuravlev <e....@gmail.com>.
Hi, 

it's a really bad idea to do cache operations in Discovery thread. If you
want to add something to the cache, you can start a new thread and do this
operation inside the new thread.

Evgenii



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/