OpenSearch/core
Tanguy Leroux 192d1f03f8
Do not swallow exception in ChecksumBlobStoreFormat.writeAtomic() (#27597)
The ChecksumBlobStoreFormat.writeAtomic() method writes a blob using a
temporary name and then moves the blob to its final name. The move
operation can fail and in this case the temporary blob is deleted. If
this delete operation also fails, then the initial exception is lost.

This commit ensures that when something goes wrong during the move
operation the initial exception is kept and thrown, and if the delete
operation also fails then this additional exception is added
as a suppressed exception to the initial one.
2017-11-30 10:09:49 +01:00
..
cli Ensure logging is configured for CLI commands 2017-11-25 11:40:08 -05:00
licenses Upgrade to lucene-7.2.0-snapshot-8c94404. (#27496) 2017-11-28 14:52:42 +01:00
src Do not swallow exception in ChecksumBlobStoreFormat.writeAtomic() (#27597) 2017-11-30 10:09:49 +01:00
build.gradle Tighten which classes can exit 2017-11-21 16:37:41 -05:00