Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-2257

Incorrect deserialization of BinaryContext.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • ignite-1.4
    • 1.5.0.final
    • general, platforms
    • 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.

      Attachments

        Activity

          People

            vozerov Vladimir Ozerov
            vozerov Vladimir Ozerov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: