chesnokoff commented on code in PR #13263:
URL: https://github.com/apache/ignite/pull/13263#discussion_r3496544066
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheAffinitySharedManager.java:
##########
@@ -1955,16 +1955,27 @@ public IgniteInternalFuture<?> initCoordinatorCaches(
forAllRegisteredCacheGroups(new
IgniteInClosureX<CacheGroupDescriptor>() {
@Override public void applyx(CacheGroupDescriptor desc) throws
IgniteCheckedException {
+ int grpId = desc.groupId();
+
+ CacheGroupContext grp = cctx.cache().cacheGroup(grpId);
+
+ if (skipNotStartedDynamicGroup(fut, desc, grp, newAff)) {
+ if (log.isDebugEnabled()) {
+ log.debug("Skip coordinator affinity initialization
for cache group started after" +
+ " current exchange [grp=" +
desc.cacheOrGroupName() +
+ ", grpId=" + desc.groupId() + ", curTopVer=" +
topVer +
Review Comment:
```suggestion
", grpId=" + grpId + ", curTopVer=" + topVer +
```
desc.groupId() was already calculated at line
```java
int grpId = desc.groupId();
```
--
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]