Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
ignite-1.4
-
None
Description
1) Initially BinaryContext was deserialized using grid name. This is incorrect, because on the other side grid name might be different.
IgniteKernal g = IgnitionEx.gridx(gridName);
2) Now it is deserialized using TLS grid name which depends on IgniteThread. This is incorrect either because deserialization code might be invoked in user thread.
IgniteKernal g = IgnitionEx.localIgnite();
Proposed fix: set TLS BinaryContext inside GridBinaryMarshaller when deserialzation starts, and reset it afterwards.