Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Commit 1374153

Browse files
author
jofriedm-msft
authored
Merge pull request #182 from Azure/master
master to dev_breaking
2 parents f1f89e3 + 3e771ab commit 1374153

File tree

7 files changed

+17
-5
lines changed

7 files changed

+17
-5
lines changed

ChangeLog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2017.06.21 Version 5.3.1
2+
* Fixed a bug in specific upload case for block blobs. This only affects uploads greater than the max put blob threshold, that have increased the streamWriteSizeInBytes beyond the 4 MB and storeBlobContentMD5 has been disabled.
3+
* In some cases in the above mentioned upload path, fixed a bug where StorageExceptions were being thrown instead of IOExceptions.
4+
15
2017.06.13 Version 5.3.0
26
* Fixed a bug where the transactional MD5 check would fail when downloading a range of blob or file and the recovery action is performed on a subsection of the range.
37
* Fixed leaking connections for table requests.

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ To get the binaries of this library as distributed by Microsoft, ready for use w
3030
<dependency>
3131
<groupId>com.microsoft.azure</groupId>
3232
<artifactId>azure-storage</artifactId>
33-
<version>5.3.0</version>
33+
<version>5.3.1</version>
3434
</dependency>
3535
```
3636

@@ -127,6 +127,8 @@ If you would like to become an active contributor to this project please follow
127127

128128
If you encounter any bugs with the library please file an issue in the [Issues](https://github.com/Azure/azure-storage-java/issues) section of the project.
129129

130+
When sending pull requests, please send non-breaking PRs to the dev branch and breaking changes to the dev_breaking branch. Do not make PRs against master.
131+
130132
# Learn More
131133

132134
* [Azure Developer Center](http://azure.microsoft.com/en-us/develop/java/)

microsoft-azure-storage-samples/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<dependency>
2727
<groupId>com.microsoft.azure</groupId>
2828
<artifactId>azure-storage</artifactId>
29-
<version>5.3.0</version>
29+
<version>5.3.1</version>
3030
</dependency>
3131
<dependency>
3232
<groupId>com.microsoft.azure</groupId>

microsoft-azure-storage-test/src/com/microsoft/azure/storage/blob/CloudBlockBlobTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1057,8 +1057,9 @@ public void testLargeBlobUploadFromStreamAccessConditionTest() throws URISyntaxE
10571057
srcStream = BlobTestHelper.getRandomDataStream(length);
10581058
blockBlobRef.upload(srcStream, length, accessCondition, options, null);
10591059
}
1060-
catch (StorageException ex)
1060+
catch (IOException e)
10611061
{
1062+
StorageException ex = (StorageException)e.getCause();
10621063
assertEquals(412, ex.getHttpStatusCode());
10631064
assertEquals(StorageErrorCodeStrings.CONDITION_NOT_MET, ex.getErrorCode());
10641065
}

microsoft-azure-storage/src/com/microsoft/azure/storage/Constants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ public static class HeaderConstants {
661661
/**
662662
* Specifies the value to use for UserAgent header.
663663
*/
664-
public static final String USER_AGENT_VERSION = "5.3.0";
664+
public static final String USER_AGENT_VERSION = "5.3.1";
665665

666666
/**
667667
* The default type for content-type and accept

microsoft-azure-storage/src/com/microsoft/azure/storage/blob/CloudBlockBlob.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -733,6 +733,11 @@ public byte[] getByteArray() {
733733
|| options.getStoreBlobContentMD5()
734734
|| descriptor.getLength() == -1;
735735

736+
// there are two known issues with the uploadFromMultiStream logic
737+
// 1. The same block ids are being used for each batch of uploads.
738+
// 2. When using a bufferedInputStream and the size of the stream being uploaded exceeds Integer.MAX_VALUE,
739+
// a NegativeArraySizeException is thrown when attempting to skip past the 1 GB mark.
740+
useOpenWrite = true;
736741
if (useOpenWrite) {
737742
final BlobOutputStream writeStream = this.openOutputStream(accessCondition, options, opContext);
738743
try {

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<modelVersion>4.0.0</modelVersion>
1111
<groupId>com.microsoft.azure</groupId>
1212
<artifactId>azure-storage</artifactId>
13-
<version>5.3.0</version>
13+
<version>5.3.1</version>
1414
<packaging>jar</packaging>
1515

1616
<name>Microsoft Azure Storage Client SDK</name>

0 commit comments

Comments
 (0)