npawar commented on a change in pull request #7066:
URL: https://github.com/apache/pinot/pull/7066#discussion_r682961382



##########
File path: 
pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/realtime/PinotLLCRealtimeSegmentManager.java
##########
@@ -1184,7 +1187,8 @@ private String setupNewPartitionGroup(TableConfig 
tableConfig, PartitionLevelStr
 
     CommittingSegmentDescriptor committingSegmentDescriptor = new 
CommittingSegmentDescriptor(null, startOffset, 0);
     createNewSegmentZKMetadata(tableConfig, streamConfig, newLLCSegmentName, 
creationTimeMs,
-        committingSegmentDescriptor, null, instancePartitions, 
numPartitionGroups, numReplicas);
+        committingSegmentDescriptor, null, instancePartitions, 
numPartitionGroups, numReplicas,
+        Collections.singletonList(partitionGroupMetadata));

Review comment:
       this should pass the whole list right? if we send just the one, every 
partition will update threshold based on its own partition, and this will not 
be the same as using only 0th/lowest available partition.




-- 
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to