Skip to content

Fixed: IOExceptions in source stream can lead to writing corrupt objects#92

Merged
twincitiesguy merged 3 commits intomasterfrom
bugfix-SDK-611
Aug 8, 2022
Merged

Fixed: IOExceptions in source stream can lead to writing corrupt objects#92
twincitiesguy merged 3 commits intomasterfrom
bugfix-SDK-611

Conversation

@twincitiesguy
Copy link
Contributor

The following conditions may lead to writing a corrupt (partially written) object:

  • An object is written from a source InputStream
  • An IOException occurs while writing this object data
  • Retries are enabled (true by default)
  • A similar exception occors again during all retries

This is caused by a bug in the smart-client (see EMCECS/smart-client-java#22)
This PR depends on the smart-client v3.0.1 release, which should include the above PR

Stu Arnett added 3 commits August 5, 2022 12:03
…teTruncationTest.testPartUploadIOException) - this test initially passed using the default client configured by that class, but after enabling retry logic, the bug was exposed.
…test compatible versions, removed 3rd-party-licenses dirs in favor of dependency-license-report plugin (as used in other projects)
@twincitiesguy twincitiesguy requested a review from dunedodo August 5, 2022 23:14
@twincitiesguy twincitiesguy merged commit 05a2434 into master Aug 8, 2022
@twincitiesguy twincitiesguy deleted the bugfix-SDK-611 branch August 8, 2022 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants