tkalkirill commented on code in PR #2871:
URL: https://github.com/apache/ignite-3/pull/2871#discussion_r1406002728
##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/TableManager.java:
##########
@@ -2085,9 +2097,11 @@ private CompletableFuture<Void>
destroyPartitionStorages(TablePartitionId tableP
);
}
- private int[] collectTableIndexIds(int tableId, int catalogVersion) {
- return catalogService.indexes(catalogVersion, tableId).stream()
- .mapToInt(CatalogIndexDescriptor::id)
+ private int[] collectTableIndexIds(int tableId, int catalogVersion,
boolean onNodeRecovery) {
+ int catalogVersionFrom = onNodeRecovery ?
catalogService.latestCatalogVersion() : catalogVersion;
Review Comment:
I have a mistake here, thanks for noticing.
--
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]