[Backport 2.x] Update multipart download path to first write to temp files#10389
Conversation
…ch-project#10347) * Update multipart download path to write to temp files. This change updates ReadContextListener to first write parts to a temp location until all parts have been received. Signed-off-by: Marc Handalian <handalm@amazon.com> * Suppress forbidden IOUtils.fsync Signed-off-by: Marc Handalian <handalm@amazon.com> * Remove unnecessary logging format Signed-off-by: Marc Handalian <handalm@amazon.com> * sync directory after file rename Signed-off-by: Marc Handalian <handalm@amazon.com> * Remove flaky threadpool terminate test Signed-off-by: Marc Handalian <handalm@amazon.com> --------- Signed-off-by: Marc Handalian <handalm@amazon.com> (cherry picked from commit ca0dae6)
Compatibility status:Checks if related components are compatible with change 697dd68 Incompatible componentsSkipped componentsCompatible componentsCompatible components: [https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/custom-codecs.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/performance-analyzer.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/performance-analyzer-rca.git] |
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## 2.x #10389 +/- ##
============================================
+ Coverage 70.75% 70.78% +0.03%
+ Complexity 58397 58359 -38
============================================
Files 4816 4816
Lines 276031 276050 +19
Branches 40565 40565
============================================
+ Hits 195306 195410 +104
+ Misses 64105 63928 -177
- Partials 16620 16712 +92
|
Backports ca0dae6 from #10347
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.