Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

package org.apache.ignite.internal.processors.marshaller;

import java.io.Serializable;
import java.util.Objects;
import org.apache.ignite.internal.Order;
import org.apache.ignite.plugin.extensions.communication.Message;
Expand All @@ -26,7 +27,10 @@
* Used to exchange mapping information on new mapping added or missing mapping requested flows.
* See {@link GridMarshallerMappingProcessor} javadoc for more information.
*/
public final class MarshallerMappingItem implements Message {
public final class MarshallerMappingItem implements Message, Serializable {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The goal is to get rid of serialisable, not to add

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct, but now many places require Serializable, for example TcpDiscoveryNodeAddedMessage#msgs, TcpDiscoveryClientReconnectMessage#msgs. In these and some other java SerDer (called via U.marshal(jdkMarshaller)) requires Serializable.

I suggest removing Serializable when it becomes possible.

Copy link
Contributor

@Vladsz83 Vladsz83 Mar 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@anton-vinogradov , @NSAmelchev pls. note #12890 . Useful message. Should be removed in future but currently helps in development a lot.

/** */
private static final long serialVersionUID = 0L;

/** */
@Order(0)
byte platformId;
Expand Down
Loading