RajaVinoth96 commented on PR #20263:
URL: https://github.com/apache/pinot/pull/20263#issuecomment-6920702245

   The earlier CI failures weren't caused by the review fixes. They came from a 
merge interaction between #19577 and #19946 (fast LZ4 for `.tar.lz4`), which 
landed on master after #19577's CI ran:
   
   - #19946 wraps the extracted file in `try (OutputStream bufferedOut = new 
BufferedOutputStream(out)) { ... }`. Closing the wrapper also closes `out`.
   - #19577's `untarDurably` then calls `out.getFD().sync()` on that closed 
descriptor, which throws `SyncFailedException: sync failed`.
   
   Because of this, every durable untar failed: 
`TarCompressionUtilsTest.testFile`, the `PinotFSSegmentFetcherTest` 
streamed-download tests, deep-store downloads in the integration tests (208 
occurrences in Set 1) and quickstart.
   
   I've rebased onto current master (the rebase was clean) and added 
f2bddeb123, which flushes the buffered stream instead of closing it. The 
enclosing try-with-resources still closes the file after the sync. Locally, 
pre-commit checks and 1,505 related tests pass, including the 4 tests that were 
failing. I've force-pushed, so the commits have new hashes; the content of the 
earlier commits is unchanged apart from the rebase.
   


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