xiangfu0 commented on code in PR #20424:
URL: https://github.com/apache/pinot/pull/20424#discussion_r4795751331
##########
pinot-common/src/main/java/org/apache/pinot/common/utils/TarCompressionUtils.java:
##########
@@ -221,6 +234,9 @@ public static List<File> untarWithRateLimiter(InputStream
inputStream, File outp
ArchiveEntry entry;
while ((entry = tarIn.getNextEntry()) != null) {
String entryName = entry.getName();
+ if (pathBudget != null) {
+ pathBudget.charge(entryName);
Review Comment:
Fixed in 8925f2c1de. The path budget now checks GNU and PAX header sizes
before their payloads are parsed. The two controller paths now also return HTTP
413 for a path limit, consistent with #20458. All 27 utility and controller
resource tests passed locally.
--
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]