johnsolomonj commented on code in PR #18185:
URL: https://github.com/apache/pinot/pull/18185#discussion_r3388322672


##########
pinot-segment-local/src/main/java/org/apache/pinot/segment/local/io/writer/impl/BaseChunkForwardIndexWriter.java:
##########
@@ -69,6 +69,8 @@ public abstract class BaseChunkForwardIndexWriter implements 
Closeable {
 
   protected int _chunkSize;
   protected long _dataOffset;
+  protected long _uncompressedSize;
+  protected boolean _trackUncompressedSize = true;

Review Comment:
   The default of `true` was effectively overridden by 
`setTrackUncompressedSize(false)` via `ForwardIndexCreatorFactory` before any 
writes happened, so it wasn't causing incorrect behavior. But `false` is the 
right default for clarity and safety. Fixed.



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