You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/**
* Creates a page blob of the specified maximum length in the specified container.
* <p>
* Note that this method only initializes the blob. To add content to a page blob, use the
* {@link BlobContract#createBlobPages(String, String, PageRange, long, InputStream)} or
* {@link BlobContract#createBlobPages(String, String, PageRange, long, InputStream, CreateBlobPagesOptions)}
* methods.
*
* @param container
* A {@link String} containing the name of the container to create the blob in.
* @param blob
* A {@link String} containing the name of the blob to create. A blob name can contain any combination of
* characters, but reserved URL characters must be properly escaped. A blob name must be at least one
* character long and cannot be more than 1,024 characters long, and must be unique within the container.
* @param length
* The length in bytes of the page blob to create. The length must be a multiple of 512 and may be up to
* 1 TB.
* @throws ServiceException
* if an error occurs accessing the storage service.
*/
void createPageBlob(String container, String blob, int length) throws ServiceException;
Note that the length parameter is declared as an int, which maxes out at 2GB. This issue also appears in the overload
In BlobContract.java, I spied this defect:
Note that the length parameter is declared as an int, which maxes out at 2GB. This issue also appears in the overload
and in the implementations of createPageBlob in BlobExceptionProcess.java and BlobRestProxy.java.
The text was updated successfully, but these errors were encountered: