gortiz commented on PR #20458: URL: https://github.com/apache/pinot/pull/20458#issuecomment-7416915627
A few comments: 1. `ControllerConf.java:450`: `SegmentPushUtils.sendSegmentsUriAndMetadata` sends every segment of a push job in one batch archive and never splits it. `metadata.properties` grows with the column count. My rough estimate, not measured, is 0.5-1 MB per segment for a 500-column table, so jobs with a few hundred segments could start getting 413 after the upgrade. Could we measure on a wide table and either raise the 256 MiB default or split batches client-side? An upgrade note would help either way. 2. `TarCompressionUtils.java:242`: `if (maxEntries > 0)` gates both the entry check and the byte accounting. It works today because `untarWithLimits` requires both to be positive, but a later caller that sets only a byte limit would silently skip the size accounting. I'd check each limit on its own, or use a single `limits != null` flag. 3. `TarCompressionUtils.java:311`: `BoundedInputStream` triggers `onMaxCount` when a read is attempted at the limit, so an archive whose expanded size is exactly the limit fails on the trailing EOF read. Bounding at `max + 1`, or documenting the limit as exclusive, would fix that. -- 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]
