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

Illegal change of DiscoveryCustomEvent in GridDhtPartitionsExchangeFuture#onDone

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.6
    • None
    • None

    Description

      The following code is called in GridDhtPartitionsExchangeFuture#onDone:

      ((DiscoveryCustomEvent)firstDiscoEvt).customMessage(null);
      

      That means a global instance of 'DiscoveryCustomEvent' is being
      mutated outside discovery-spi infrastructure. It also means that
      discovery listeners receive 'DiscoveryCustomEvent' with 'null' field
      instead of 'CustomMessage' which they may rely on.

      Attachments

        Activity

          People

            daradurvs Vyacheslav Daradur
            daradurvs Vyacheslav Daradur
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: