Hi,

I don't think there is a network issue, since at that moment other clients
are able to access the data from the Ignite cluster. But some times the
inserting thread is hung for 15 mins, after that it has proceeded further.

If the thread is hung which is inserting, we are canceling the thread
explicitly by the below code.
That's why you can see IgniteInterruptedException in the logs.
But why the thread is becoming hung while inserting the data[ max 10
records].
                             if(futureReturn.size() > 0){
                                        for(Future<Boolean> future : 
futureReturn){
                                                try{
                                                        Boolean result = 
future.get(20, TimeUnit.MINUTES);                                              
                                                        if(!result){            
                                                
                                                                dataSyncSucces 
= false;
                                                                break;
                                                        }
                                                }catch(Exception e){
                                                        future.cancel(true);    
                                                
                                                        dataSyncSucces = false;
                                                }                               
                
                                        }
                                } 

Even the same issue i observed in local services also but at different piece
of code.

Thanks,
Praveen



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

Reply via email to