chenboat commented on a change in pull request #4914: [POC] By-passing 
deep-store requirement for Realtime segment completion
URL: https://github.com/apache/incubator-pinot/pull/4914#discussion_r379693686
 
 

 ##########
 File path: 
pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/LLCSegmentCompletionHandlers.java
 ##########
 @@ -396,7 +398,7 @@ public String 
segmentCommitEndWithMetadata(@QueryParam(SegmentCompletionProtocol
     
requestParams.withInstanceId(instanceId).withSegmentName(segmentName).withOffset(offset)
         
.withSegmentLocation(segmentLocation).withSegmentSizeBytes(segmentSizeBytes)
         
.withBuildTimeMillis(buildTimeMillis).withWaitTimeMillis(waitTimeMillis).withNumRows(numRows)
-        .withMemoryUsedBytes(memoryUsedBytes);
+        
.withMemoryUsedBytes(memoryUsedBytes).withSegmentUploadToController(segmentUpload);
 
 Review comment:
   Updated the PR. Now in SegmentCompletionFSM.commitSegment(), a new variable 
segmentFinalLocation is added which can either vip based or the one reported by 
the server. This string value will then be saved in zk. 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to