sanpwc commented on code in PR #7071:
URL: https://github.com/apache/ignite-3/pull/7071#discussion_r2564921471
##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/statistic/StatisticAggregatorImpl.java:
##########
@@ -41,24 +41,30 @@
import org.apache.ignite.internal.network.InternalClusterNode;
import org.apache.ignite.internal.network.MessagingService;
import org.apache.ignite.internal.network.NetworkMessage;
-import org.apache.ignite.internal.replicator.TablePartitionId;
import org.apache.ignite.internal.table.InternalTable;
import
org.apache.ignite.internal.table.message.GetEstimatedSizeWithLastModifiedTsRequest;
import
org.apache.ignite.internal.table.message.GetEstimatedSizeWithLastModifiedTsResponse;
import
org.apache.ignite.internal.table.message.PartitionModificationInfoMessage;
import org.apache.ignite.internal.table.message.TableMessageGroup;
import org.apache.ignite.internal.table.message.TableMessagesFactory;
+import org.apache.ignite.internal.tostring.S;
import org.jetbrains.annotations.Nullable;
/** Statistic aggregator. */
public class StatisticAggregatorImpl implements
StatisticAggregator<Collection<InternalTable>,
CompletableFuture<Int2ObjectMap<PartitionModificationInfo>>> {
private static final IgniteLogger LOG =
Loggers.forClass(StatisticAggregatorImpl.class);
+
private final Supplier<Set<LogicalNode>> clusterNodes;
+
private final MessagingService messagingService;
+
private static final TableMessagesFactory TABLE_MESSAGES_FACTORY = new
TableMessagesFactory();
+
private static final long REQUEST_ESTIMATION_TIMEOUT_MILLIS =
TimeUnit.SECONDS.toMillis(5);
- private final AtomicReference<@Nullable Map<TablePartitionId,
CompletableFuture<Object>>> requestsCompletion = new AtomicReference<>();
+
+ private final AtomicReference<@Nullable Map<TablePartitionIdentifier,
CompletableFuture<Object>>> requestsCompletion =
Review Comment:
I didn't check it myself. It's sill should be TablePartitionIdentifier,
right?
--
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]