noahprince22 commented on a change in pull request #6250:
URL: https://github.com/apache/incubator-pinot/pull/6250#discussion_r520927343
##########
File path:
pinot-core/src/main/java/org/apache/pinot/core/data/manager/SegmentDataManager.java
##########
@@ -62,6 +62,14 @@ public synchronized boolean decreaseReferenceCount() {
}
}
+ /**
+ * Indicates whether this segment is physically in memory or downloaded to
disc.
+ * @return
+ */
+ public boolean hasLocalData() {
Review comment:
`false` indicates the segment is not downloaded to local disc
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]