oleg-vlsk commented on code in PR #12760:
URL: https://github.com/apache/ignite/pull/12760#discussion_r2836679181
##########
modules/core/src/main/java/org/apache/ignite/internal/managers/deployment/GridDeploymentManager.java:
##########
@@ -391,13 +391,16 @@ private GridDeployment checkDeployment(GridDeployment
deployment, String store)
String clsName = lambdaEnclosingClsName == null ? rsrcName :
lambdaEnclosingClsName;
+ ClassLoader ldr = Thread.currentThread().getContextClassLoader();
+
GridDeploymentMetadata meta = new GridDeploymentMetadata();
meta.record(true);
meta.deploymentMode(ctx.config().getDeploymentMode());
meta.alias(rsrcName);
meta.className(clsName);
meta.senderNodeId(ctx.localNodeId());
+ meta.classLoader(ldr);
Review Comment:
Moved the local app classloader check to
`GridDeploymentLocalStore#deployment` so that in the initial call the meta does
not contains classloader.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]