Revision bca0c8d6a8e62c36e3f9e7673017393dcef557b6 authored by Armin Braun on 15 October 2019, 11:37:53 UTC, committed by GitHub on 15 October 2019, 11:37:53 UTC
We were incorrectly handling `IOExceptions` thrown by the `InputStream` side of the upload operation, resulting in a `ClassCastException` as we expected to never get `IOException` from the Azure SDK code but we do in practice. This PR also sets an assertion on `markSupported` for the streams used by the SDK as adding the test for this scenario revealed that the SDK client would retry uploads for non-mark-supporting streams on `IOException` in the `InputStream`.
1 parent 90b9052
File | Mode | Size |
---|---|---|
.ci | ||
.github | ||
benchmarks | ||
buildSrc | ||
client | ||
dev-tools | ||
distribution | ||
docs | ||
gradle | ||
libs | ||
licenses | ||
modules | ||
plugins | ||
qa | ||
rest-api-spec | ||
server | ||
test | ||
x-pack | ||
.dir-locals.el | -rw-r--r-- | 3.3 KB |
.editorconfig | -rw-r--r-- | 202 bytes |
.gitattributes | -rw-r--r-- | 32 bytes |
.gitignore | -rw-r--r-- | 609 bytes |
CONTRIBUTING.md | -rw-r--r-- | 20.3 KB |
LICENSE.txt | -rw-r--r-- | 645 bytes |
NOTICE.txt | -rw-r--r-- | 150 bytes |
README.textile | -rw-r--r-- | 8.3 KB |
TESTING.asciidoc | -rw-r--r-- | 24.8 KB |
Vagrantfile | -rw-r--r-- | 13.3 KB |
build.gradle | -rw-r--r-- | 24.7 KB |
gradle.properties | -rw-r--r-- | 56 bytes |
gradlew | -rwxr-xr-x | 5.2 KB |
gradlew.bat | -rw-r--r-- | 2.2 KB |
settings.gradle | -rw-r--r-- | 3.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...