ibessonov commented on code in PR #1016:
URL: https://github.com/apache/ignite-3/pull/1016#discussion_r957239916
##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/TableManager.java:
##########
@@ -801,6 +929,12 @@ private void dropTableLocally(long causalityToken, String
name, UUID tblId, List
}
}
+ private List<ClusterNode> calculateAssignments(TableConfiguration
tableCfg, int partNum) {
+ Integer partitions = tableCfg.partitions().value();
Review Comment:
Quick note, it's better when you use "tableCfg.value()" and then access its
properties. It's faster and it doesn't involve boxing.
--
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]