Ivan Bessonov created IGNITE-12119:
--------------------------------------

             Summary: Peer Class Loading has no retries
                 Key: IGNITE-12119
                 URL: https://issues.apache.org/jira/browse/IGNITE-12119
             Project: Ignite
          Issue Type: Bug
            Reporter: Ivan Bessonov
            Assignee: Ivan Bessonov
             Fix For: 2.8


That's it. Peer Class Loading has short timeout and no retries, and if it 
fails, loading of class will not be reattempted.

I believe this is in part because GridDeploymentClassLoader is a class loader. 
If it throws ClassNotFoundException when asked to load class, JVM will take 
notice and not reattempt to load this class, even if error was transient.

Proposed amendments:
 * Increase timeouts, introduce immediate retries.

 * See if we can report transient class loading issue to JVM.

 * If all failed, we need to mark class loader as invalid when timeout occurs, 
phase out its usage and create a new class loader which will reattempt to load 
this class later.

Please note that extended waiting in class loader is not recommended because it 
can cause grid to stall.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to