itschrispeck commented on code in PR #13215: URL: https://github.com/apache/pinot/pull/13215#discussion_r1614150902
########## pinot-segment-local/src/main/java/org/apache/pinot/segment/local/io/writer/impl/MutableOffHeapByteArrayStore.java: ########## @@ -170,15 +170,20 @@ public void close() private final int _startSize; @VisibleForTesting - public int getStartSize() { - return _startSize; + public static int getStartSize(int numArrays, int avgArrayLen) { Review Comment: made static to avoid initializing huge buffers in unit tests -- 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: commits-unsubscr...@pinot.apache.org 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