shishkovilja commented on code in PR #12508:
URL: https://github.com/apache/ignite/pull/12508#discussion_r2540953439
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionsFullMessage.java:
##########
@@ -62,58 +58,73 @@ public class GridDhtPartitionsFullMessage extends
GridDhtPartitionsAbstractMessa
/** grpId -> FullMap */
@GridToStringInclude
- @GridDirectTransient
private Map<Integer, GridDhtPartitionFullMap> parts;
- /** */
- @GridDirectMap(keyType = Integer.class, valueType = Integer.class)
- private Map<Integer, Integer> dupPartsData;
+ /**
+ * Serialized local partitions.
+ * <p>
+ * TODO Remove this field after completing task IGNITE-26976.
+ */
+ @Order(value = 6, method = "partitionBytes")
+ private byte[] partsBytes;
/** */
- private byte[] partsBytes;
+ @Order(value = 7, method = "duplicatedPartitionsData")
+ private Map<Integer, Integer> dupPartsData;
/** Partitions update counters. */
+ @Order(value = 8, method = "partitionCounters")
@GridToStringInclude
private IgniteDhtPartitionCountersMap partCntrs;
/** Partitions history suppliers. */
+ @Order(value = 9, method = "partitionHistorySuppliers")
@GridToStringInclude
private IgniteDhtPartitionHistorySuppliersMap partHistSuppliers;
/** Partitions that must be cleared and re-loaded. */
+ @Order(value = 10, method = "partitionsToReload")
@GridToStringInclude
private IgniteDhtPartitionsToReloadMap partsToReload;
/** Partition sizes. */
+ @Order(value = 11, method = "partitionSizes")
private Map<Integer, PartitionSizesMap> partsSizes;
/** Topology version. */
+ @Order(value = 12, method = "topologyVersion")
private AffinityTopologyVersion topVer;
/** Exceptions. */
@GridToStringInclude
- @GridDirectTransient
- private Map<UUID, Exception> errs;
+ private Map<UUID, Throwable> errs;
- /** */
- private byte[] errsBytes;
+ /**
+ * Used as a stub for serialization {@link #errs}.
Review Comment:
```suggestion
* Used as a stub for serialization of {@link #errs}.
```
--
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]