Hi Igniters! I think I found an illegal behavior in GridDhtPartitionsExchangeFuture#onDone, the following code is called here: ((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. Could someone confirm if it is wrong behavior and should be fixed? -- Best Regards, Vyacheslav D.