You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sk...@apache.org on 2022/02/02 12:56:35 UTC
[ignite] branch master updated: IGNITE-11662 Using proper classloader to unmarshal joining node data. Fixes #6431
This is an automated email from the ASF dual-hosted git repository.
sk0x50 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git
The following commit(s) were added to refs/heads/master by this push:
new 57a951f IGNITE-11662 Using proper classloader to unmarshal joining node data. Fixes #6431
57a951f is described below
commit 57a951f7f55e9da5318dd71601621d3640bad86f
Author: Oleksii Mogylin <leshkm>
AuthorDate: Wed Feb 2 15:55:37 2022 +0300
IGNITE-11662 Using proper classloader to unmarshal joining node data. Fixes #6431
Signed-off-by: Slava Koptilin <sl...@gmail.com>
---
.../ignite/internal/processors/cluster/GridClusterStateProcessor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/GridClusterStateProcessor.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/GridClusterStateProcessor.java
index 4ef20a7..caa7855 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/GridClusterStateProcessor.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/GridClusterStateProcessor.java
@@ -1258,7 +1258,7 @@ public class GridClusterStateProcessor extends GridProcessorAdapter implements I
DiscoveryDataClusterState joiningNodeState;
try {
- joiningNodeState = marsh.unmarshal((byte[])discoData.joiningNodeData(), Thread.currentThread().getContextClassLoader());
+ joiningNodeState = marsh.unmarshal((byte[])discoData.joiningNodeData(), U.resolveClassLoader(ctx.config()));
}
catch (IgniteCheckedException e) {
String msg = "Error on unmarshalling discovery data " +