J-HowHuang commented on code in PR #19636:
URL: https://github.com/apache/pinot/pull/19636#discussion_r4078750400


##########
pinot-core/src/main/java/org/apache/pinot/core/data/manager/BaseTableDataManager.java:
##########
@@ -1095,11 +1095,14 @@ protected void reloadSegment(SegmentDataManager 
segmentDataManager, IndexLoading
     }
   }
 
+  /// Reloads a single segment. The passed in config is treated as read-only: 
this method pins the segment tier (and
+  /// the table data dir) on a private copy.
   @VisibleForTesting
-  public void reloadSegment(String segmentName, IndexLoadingConfig 
indexLoadingConfig, SegmentZKMetadata zkMetadata,
-      SegmentMetadata localMetadata, boolean forceDownload)
+  public void reloadSegment(String segmentName, IndexLoadingConfig 
tableIndexLoadingConfig,
+      SegmentZKMetadata zkMetadata, SegmentMetadata localMetadata, boolean 
forceDownload)
       throws Exception {
     String segmentTier = getSegmentCurrentTier(segmentName);

Review Comment:
   added a regression test



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