sanpwc commented on code in PR #7128:
URL: https://github.com/apache/ignite-3/pull/7128#discussion_r2598084537
##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/disaster/ManualGroupRestartRequest.java:
##########
@@ -157,59 +155,53 @@ private boolean shouldProcessPartition(ReplicationGroupId
replicationGroupId, Ca
?
Arrays.stream(AssignmentUtil.partitionIds(zoneDescriptor.partitions())).boxed().collect(Collectors.toSet())
: partitionIds;
- if (replicationGroupId instanceof TablePartitionId) {
- TablePartitionId groupId = (TablePartitionId) replicationGroupId;
+ assert !(replicationGroupId instanceof TablePartitionId) :
Review Comment:
I'd left it as is for a while in order to ease the merge process.
--
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]