ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandr Shapkin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-11690) .NET: Cache iteration hangs with enabled peerAssemblyLoading
Date Fri, 05 Apr 2019 13:33:00 GMT
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)

Mime
View raw message