shishkovilja commented on code in PR #12467:
URL: https://github.com/apache/ignite/pull/12467#discussion_r2469283572
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/IgniteDhtPartitionHistorySuppliersMap.java:
##########
@@ -61,10 +62,10 @@ public synchronized List<UUID> getSupplier(int grpId, int
partId, long cntrSince
List<UUID> suppliers = new ArrayList<>();
- for (Map.Entry<UUID, Map<T2<Integer, Integer>, Long>> e :
map.entrySet()) {
+ for (Map.Entry<UUID, IgniteDhtPartitionReservationsMessage> e :
map.entrySet()) {
UUID supplierNode = e.getKey();
- Long historyCounter = e.getValue().get(new T2<>(grpId, partId));
+ Long historyCounter = e.getValue().map().get(new
GroupPartitionIdMessage(grpId, partId));
Review Comment:
Let's encapsulate it into partition reservations message.
--
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]