Skip to content

Commit aad0dc9

Browse files
authored
Merge pull request #89 from Azure/dev
v0.6.07
2 parents 84a3899 + 49d9e06 commit aad0dc9

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Sources and targets are decoupled, this design enables the composition of variou
2929
Download, extract and set permissions:
3030

3131
```bash
32-
wget -O bp_linux.tar.gz https://github.com/Azure/blobporter/releases/download/v0.6.06/bp_linux.tar.gz
32+
wget -O bp_linux.tar.gz https://github.com/Azure/blobporter/releases/download/v0.6.07/bp_linux.tar.gz
3333
tar -xvf bp_linux.tar.gz linux_amd64/blobporter
3434
chmod +x ~/linux_amd64/blobporter
3535
cd ~/linux_amd64
@@ -46,7 +46,7 @@ export ACCOUNT_KEY=<STORAGE_ACCOUNT_KEY>
4646
4747
### Windows
4848

49-
Download [BlobPorter.exe](https://github.com/Azure/blobporter/releases/download/v0.6.06/bp_windows.zip)
49+
Download [BlobPorter.exe](https://github.com/Azure/blobporter/releases/download/v0.6.07/bp_windows.zip)
5050

5151
Set environment variables (if using the command prompt):
5252

blobporter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"github.com/Azure/blobporter/util"
1616
)
1717

18-
const programVersion = "0.6.06"
18+
const programVersion = "0.6.07"
1919

2020
var argsUtil paramParserValidator
2121

targets/azurepage.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,9 @@ func (t *AzurePageTarget) ProcessWrittenPart(result *pipeline.WorkerResult, list
8888
//Performs a PUT page operation with the data contained in the part.
8989
//This assumes the part.BytesToRead is a multiple of the PageSize
9090
func (t *AzurePageTarget) WritePart(part *pipeline.Part) (duration time.Duration, startTime time.Time, numOfRetries int, err error) {
91-
start := int32(part.Offset)
92-
end := int32(part.Offset + uint64(part.BytesToRead) - 1)
91+
92+
start := int64(part.Offset)
93+
end := int64(part.Offset + uint64(part.BytesToRead) - 1)
9394
defer util.PrintfIfDebug("WritePart -> start:%v end:%v name:%v err:%v", start, end, part.TargetAlias, err)
9495

9596
err = t.azUtil.PutPages(part.TargetAlias, start, end, bytes.NewReader(part.Data))

util/azutil.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ func (p *AzUtil) CreatePageBlob(blobName string, size uint64) error {
223223
}
224224

225225
//PutPages TODO
226-
func (p *AzUtil) PutPages(blobName string, start int32, end int32, body io.ReadSeeker) error {
226+
func (p *AzUtil) PutPages(blobName string, start int64, end int64, body io.ReadSeeker) error {
227227
pburl := p.containerURL.NewPageBlobURL(blobName)
228228
pageRange := azblob.PageRange{
229229
Start: start,

vendor/github.com/Azure/azure-storage-blob-go/2016-05-31/azblob/zz_generated_models.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)