sanpwc commented on code in PR #3548:
URL: https://github.com/apache/ignite-3/pull/3548#discussion_r1559333919
##########
modules/index/src/test/java/org/apache/ignite/internal/index/IndexBuildControllerTest.java:
##########
@@ -301,8 +302,8 @@ private int indexId(String indexName) {
return getIndexIdStrict(catalogManager, indexName, clock.nowLong());
}
- private TablePartitionId replicaId(int partitionId) {
- return new TablePartitionId(tableId(), partitionId);
+ private ZonePartitionId replicaId(int partitionId) {
+ return new ZonePartitionId(0, partitionId, tableId());
Review Comment:
Same as above, not valid to use 0 here as zoneId, please retrieve the
identifier from catalog descriptor like `tableId()` does.
--
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]