rpuch commented on code in PR #5401:
URL: https://github.com/apache/ignite-3/pull/5401#discussion_r1993738872
##########
modules/client-handler/src/main/java/org/apache/ignite/client/handler/ClientPrimaryReplicaTracker.java:
##########
@@ -247,11 +253,26 @@ private PrimaryReplicasResult primaryReplicasNoWait(
return hasKnown ? new PrimaryReplicasResult(res, currentMaxStartTime)
: null;
}
+ private ReplicationGroupId replicationGroupId(int tableId, int partition,
HybridTimestamp timestamp) {
+ if (enabledColocation) {
+ CatalogZoneDescriptor zone = requiredZone(tableId, timestamp);
Review Comment:
Only on one of two code paths we get the zone descriptor, so I did it a bit
differently: extracted a method to be a table descriptor
--
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]