mcvsubbu commented on a change in pull request #6346: URL: https://github.com/apache/incubator-pinot/pull/6346#discussion_r546176282
########## File path: pinot-core/src/main/java/org/apache/pinot/core/data/manager/SegmentDataManager.java ########## @@ -29,7 +29,7 @@ private int _referenceCount = 1; @VisibleForTesting - synchronized int getReferenceCount() { + public synchronized int getReferenceCount() { Review comment: I hope this API is still only for testing. The API does not make sense in production since the ref count could change any time after you get it. Please confirm. ---------------------------------------------------------------- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org