You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexandr Shapkin (JIRA)" <ji...@apache.org> on 2019/04/05 13:33:00 UTC

[jira] [Created] (IGNITE-11690) .NET: Cache iteration hangs with enabled peerAssemblyLoading

Alexandr Shapkin created IGNITE-11690:
-----------------------------------------

             Summary: .NET: Cache iteration hangs with enabled peerAssemblyLoading
                 Key: IGNITE-11690
                 URL: https://issues.apache.org/jira/browse/IGNITE-11690
             Project: Ignite
          Issue Type: Bug
    Affects Versions: 2.7
            Reporter: Alexandr Shapkin
            Assignee: Alexandr Shapkin


Solution to reproduce: [https://www.dropbox.com/s/xsgqhwjyctyg3o3/Example%20solution.rar?dl=0]

Given:
 * 2 server .NET nodes with PeerAssembly = enabled
 * Simple custom type cache with a few records 
{code:java}
ignite.GetOrCreateCache<Guid, Hotel>(new CacheConfiguration(Hotel.Cache, new QueryEntity(typeof(Guid), typeof(Hotel))));
{code}

 * 1 Client node that spawn computation task and performs a simple iteration over cache

 

 
{code:java}
class HelloAction : IComputeAction
{
    [InstanceResource]
    private IIgnite _ignite;

    public void Invoke()
    {
        var hotels = _ignite.GetCache<Guid, Hotel>("SomeName").ToList()
     }
}
{code}
 

Problem:

 

One of the server nodes successfully performs the computation, but the other getting locked inside the 
{code:java}
AssemblyRequestResult ComputeApplySafe(ICompute compute, GetAssemblyFunc func,
AssemblyRequest req)
{code}
When I disable PeerAssembly then all is getting back to normal

 

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)