[ARVADOS] updated: 1.2.0-354-gdd18d18ff
Git user
git at public.curoverse.com
Mon Nov 12 13:18:42 EST 2018
Summary of changes:
services/keepstore/s3_volume.go | 2 ++
vendor/vendor.json | 10 +++++-----
2 files changed, 7 insertions(+), 5 deletions(-)
via dd18d18ffbdcf1c7e01232bce587df2169fdfca6 (commit)
from 3b65c09dc878abf22a04f224ac8496380b307f7c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit dd18d18ffbdcf1c7e01232bce587df2169fdfca6
Author: Tom Clegg <tclegg at veritasgenetics.com>
Date: Mon Nov 12 13:12:28 2018 -0500
14397: Pass SHA256 to s3 library.
Otherwise, the s3 library copies the data into another new buffer,
doubling the memory needed for a write operation.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg at veritasgenetics.com>
diff --git a/services/keepstore/s3_volume.go b/services/keepstore/s3_volume.go
index 68406d5a2..19c4fe540 100644
--- a/services/keepstore/s3_volume.go
+++ b/services/keepstore/s3_volume.go
@@ -7,6 +7,7 @@ package main
import (
"bytes"
"context"
+ "crypto/sha256"
"encoding/base64"
"encoding/hex"
"flag"
@@ -402,6 +403,7 @@ func (v *S3Volume) Put(ctx context.Context, loc string, block []byte) error {
return err
}
opts.ContentMD5 = base64.StdEncoding.EncodeToString(md5)
+ opts.ContentSHA256 = fmt.Sprintf("%x", sha256.Sum256(block))
}
// Send the block data through a pipe, so that (if we need to)
diff --git a/vendor/vendor.json b/vendor/vendor.json
index 2bd409b8a..c0e6fee5d 100644
--- a/vendor/vendor.json
+++ b/vendor/vendor.json
@@ -3,24 +3,24 @@
"ignore": "test",
"package": [
{
- "checksumSHA1": "f3QOPH0L/cCtLRzi7PI838GujAQ=",
+ "checksumSHA1": "j4je0EzPGzjb6INLY1BHZ+hyMjc=",
"origin": "github.com/curoverse/goamz/aws",
"path": "github.com/AdRoll/goamz/aws",
- "revision": "d0a83495df264858eda1fe89ebfac66b22a68ba3",
+ "revision": "888b4804f2653cd35ebcc95f046079e63b5b2799",
"revisionTime": "2017-07-27T13:52:37Z"
},
{
- "checksumSHA1": "+T3Mbw98mQoOgX+z/UpumfTHFlU=",
+ "checksumSHA1": "0+n3cT6e7sQCCbBAH8zg6neiHTk=",
"origin": "github.com/curoverse/goamz/s3",
"path": "github.com/AdRoll/goamz/s3",
- "revision": "d0a83495df264858eda1fe89ebfac66b22a68ba3",
+ "revision": "888b4804f2653cd35ebcc95f046079e63b5b2799",
"revisionTime": "2017-07-27T13:52:37Z"
},
{
"checksumSHA1": "tvxbsTkdjB0C/uxEglqD6JfVnMg=",
"origin": "github.com/curoverse/goamz/s3/s3test",
"path": "github.com/AdRoll/goamz/s3/s3test",
- "revision": "d0a83495df264858eda1fe89ebfac66b22a68ba3",
+ "revision": "888b4804f2653cd35ebcc95f046079e63b5b2799",
"revisionTime": "2017-07-27T13:52:37Z"
},
{
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list