ignite-issues mailing list archives

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

     [ https://issues.apache.org/jira/browse/IGNITE-11690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexandr Shapkin updated IGNITE-11690:
--------------------------------------
    Description: 
Original reproducer: [https://www.dropbox.com/s/xsgqhwjyctyg3o3/Example%20solution.rar?dl=0] With
two server nodes, and a client that spawn a computation with a simple cache iteration for
custom class value

Problem:

If peer assembly loading enabled and no assembly exist for the nodes, then there is an endless
loop: nodes are requesting the assembly from each other and no one is able to locate it.

As an example of missing dll there could be a "System.Configuration.Configuration" for the
.NET Core app [https://github.com/dotnet/standard/issues/506]

 

 

 

  was:
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

 

 

 


> .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
>            Priority: Major
>
> Original reproducer: [https://www.dropbox.com/s/xsgqhwjyctyg3o3/Example%20solution.rar?dl=0] With
two server nodes, and a client that spawn a computation with a simple cache iteration for
custom class value
> Problem:
> If peer assembly loading enabled and no assembly exist for the nodes, then there is an
endless loop: nodes are requesting the assembly from each other and no one is able to locate
it.
> As an example of missing dll there could be a "System.Configuration.Configuration" for
the .NET Core app [https://github.com/dotnet/standard/issues/506]
>  
>  
>  



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

Mime
View raw message