tkalkirill commented on code in PR #3311:
URL: https://github.com/apache/ignite-3/pull/3311#discussion_r1507063165
##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/raft/snapshot/FullStateTransferIndexChooser.java:
##########
@@ -317,4 +337,23 @@ private long findStoppingActivationTsBusy(int indexId, int
toCatalogVersionInclu
private Set<Integer> tableIds(int catalogVersion) {
return
catalogService.tables(catalogVersion).stream().map(CatalogObjectDescriptor::id).collect(toSet());
}
+
+ private int tableVersionBusy(CatalogIndexDescriptor index, int
catalogVersion) {
+ CatalogTableDescriptor table = catalogService.table(index.tableId(),
catalogVersion);
+
+ assert table != null : "indexId=" + index.id() + ", tableId=" +
index.tableId() + ", catalogVersion=" + catalogVersion;
+
+ return table.tableVersion();
+ }
+
+ private List<IndexIdAndTableVersion>
toIndexIdAndTableVersionList(List<Integer> indexIds) {
Review Comment:
why not
--
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]