tkalkirill commented on code in PR #2030:
URL: https://github.com/apache/ignite-3/pull/2030#discussion_r1187264555
##########
modules/index/src/main/java/org/apache/ignite/internal/index/IndexBuilder.java:
##########
@@ -100,10 +111,14 @@ void stop() {
*/
void startIndexBuild(TableIndexView tableIndexView, TableImpl table) {
for (int partitionId = 0; partitionId <
table.internalTable().partitions(); partitionId++) {
+ // Let's check if there is a node in the assignments for the
partition.
+ if (!replicaManager.startedGroups().contains(new
TablePartitionId(table.tableId(), partitionId))) {
Review Comment:
I used replicas on the advice of @sanpwc.
--
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]