mcvsubbu commented on a change in pull request #7969:
URL: https://github.com/apache/pinot/pull/7969#discussion_r778443585
##########
File path:
pinot-server/src/main/java/org/apache/pinot/server/starter/helix/HelixInstanceDataManager.java
##########
@@ -307,6 +306,32 @@ private void reloadSegment(String tableNameWithType,
SegmentMetadata segmentMeta
}
}
+ /**
+ * Try to reload a segment without a local index directory. The segment can
be a consuming
+ * segment from a REALTIME table, or an immutable segment on remote tier
backend.
+ * @return true if the segment is loaded.
+ */
+ @VisibleForTesting
+ boolean reloadSegmentWithNullIndexDir(String tableNameWithType, String
segmentName,
Review comment:
You can make it generic when you implement the functionality to do more.
--
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]