sashapolo commented on code in PR #5113:
URL: https://github.com/apache/ignite-3/pull/5113#discussion_r1930671620
##########
modules/storage-api/src/main/java/org/apache/ignite/internal/storage/index/StorageHashIndexDescriptor.java:
##########
@@ -93,7 +94,7 @@ public String toString() {
* @param index Catalog index descriptor.
*/
public StorageHashIndexDescriptor(CatalogTableDescriptor table,
CatalogHashIndexDescriptor index) {
- this(index.id(), extractIndexColumnsConfiguration(table, index),
!index.isCreatedWithTable());
+ this(index.id(), extractIndexColumnsConfiguration(table, index),
index.status() == CatalogIndexStatus.REGISTERED);
Review Comment:
> we still will rebuild index locally just because it was created this way
on other nodes
No, the index will be built only during replication
--
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]