Skip to content

Commit

Permalink
Merge pull request Azure#73 from wastore/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
jofriedm-msft authored Jun 22, 2017
2 parents ac8c965 + 5cd406b commit 4e659ef
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 5 deletions.
3 changes: 3 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2017.06.21 Version 5.3.1
* 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.

2017.06.13 Version 5.3.0
* 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.
* Fixed leaking connections for table requests.
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ To get the binaries of this library as distributed by Microsoft, ready for use w
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-storage</artifactId>
<version>5.3.0</version>
<version>5.3.1</version>
</dependency>
```

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

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.

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.

# Learn More

* [Azure Developer Center](http://azure.microsoft.com/en-us/develop/java/)
Expand Down
2 changes: 1 addition & 1 deletion microsoft-azure-storage-samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-storage</artifactId>
<version>5.3.0</version>
<version>5.3.1</version>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1057,8 +1057,9 @@ public void testLargeBlobUploadFromStreamAccessConditionTest() throws URISyntaxE
srcStream = BlobTestHelper.getRandomDataStream(length);
blockBlobRef.upload(srcStream, length, accessCondition, options, null);
}
catch (StorageException ex)
catch (IOException e)
{
StorageException ex = (StorageException)e.getCause();
assertEquals(412, ex.getHttpStatusCode());
assertEquals(StorageErrorCodeStrings.CONDITION_NOT_MET, ex.getErrorCode());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ public static class HeaderConstants {
/**
* Specifies the value to use for UserAgent header.
*/
public static final String USER_AGENT_VERSION = "5.3.0";
public static final String USER_AGENT_VERSION = "5.3.1";

/**
* The default type for content-type and accept
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,11 @@ public byte[] getByteArray() {
|| options.getStoreBlobContentMD5()
|| descriptor.getLength() == -1;

// there are two known issues with the uploadFromMultiStream logic
// 1. The same block ids are being used for each batch of uploads.
// 2. When using a bufferedInputStream and the size of the stream being uploaded exceeds Integer.MAX_VALUE,
// a NegativeArraySizeException is thrown when attempting to skip past the 1 GB mark.
useOpenWrite = true;
if (useOpenWrite) {
final BlobOutputStream writeStream = this.openOutputStream(accessCondition, options, opContext);
try {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-storage</artifactId>
<version>5.3.0</version>
<version>5.3.1</version>
<packaging>jar</packaging>

<name>Microsoft Azure Storage Client SDK</name>
Expand Down

0 comments on commit 4e659ef

Please sign in to comment.