NSAmelchev commented on code in PR #12895:
URL: https://github.com/apache/ignite/pull/12895#discussion_r3001629246
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/service/ServiceChangeBatchRequest.java:
##########
@@ -19,38 +19,47 @@
import java.util.Collection;
import java.util.Collections;
+import org.apache.ignite.internal.Order;
import org.apache.ignite.internal.managers.discovery.DiscoveryCustomMessage;
import org.apache.ignite.internal.util.tostring.GridToStringExclude;
import org.apache.ignite.internal.util.tostring.GridToStringInclude;
import org.apache.ignite.internal.util.typedef.F;
import org.apache.ignite.internal.util.typedef.internal.S;
import org.apache.ignite.lang.IgniteUuid;
+import org.apache.ignite.plugin.extensions.communication.Message;
import org.jetbrains.annotations.Nullable;
/**
* Service change batch request discovery message.
*/
-public class ServiceChangeBatchRequest implements DiscoveryCustomMessage {
+public class ServiceChangeBatchRequest implements DiscoveryCustomMessage,
Message {
/** */
private static final long serialVersionUID = 0L;
/** Unique custom message ID. */
- private final IgniteUuid id = IgniteUuid.randomUuid();
+ @Order(0)
+ IgniteUuid id;
/** Change requests. */
@GridToStringInclude
- private final Collection<ServiceChangeAbstractRequest> reqs;
+ @Order(1)
+ Collection<ServiceChangeAbstractRequest> reqs;
/** Services deployment actions to be processed on services deployment
process. */
@GridToStringExclude
- @Nullable private transient ServiceDeploymentActions
serviceDeploymentActions;
+ @Nullable private ServiceDeploymentActions serviceDeploymentActions;
+
+ /** No-op */
Review Comment:
```suggestion
/** Default constructor for {@link MessageFactory}. */
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]