Merge pull request #1495 from harshavardhana/resumable
putTarget: Reintroduce size this time pipe can upload upto 5TB
This commit is contained in:
+2
-2
@@ -37,9 +37,9 @@ func (s *TestSuite) TestCat(c *C) {
|
||||
data := "hello"
|
||||
|
||||
var err *probe.Error
|
||||
err = putTarget(objectPath, bytes.NewReader([]byte(data)))
|
||||
err = putTarget(objectPath, bytes.NewReader([]byte(data)), int64(len(data)))
|
||||
c.Assert(err, IsNil)
|
||||
err = putTarget(objectPathServer, bytes.NewReader([]byte(data)))
|
||||
err = putTarget(objectPathServer, bytes.NewReader([]byte(data)), int64(len(data)))
|
||||
c.Assert(err, IsNil)
|
||||
|
||||
var sourceURLs []string
|
||||
|
||||
+2
-2
@@ -57,12 +57,12 @@ func getSource(sourceURL string) (reader io.ReadSeeker, err *probe.Error) {
|
||||
}
|
||||
|
||||
// putTarget writes to URL from reader. If length=-1, read until EOF.
|
||||
func putTarget(targetURL string, reader io.ReadSeeker) *probe.Error {
|
||||
func putTarget(targetURL string, reader io.ReadSeeker, size int64) *probe.Error {
|
||||
targetClnt, err := url2Client(targetURL)
|
||||
if err != nil {
|
||||
return err.Trace(targetURL)
|
||||
}
|
||||
err = targetClnt.Put(reader)
|
||||
err = targetClnt.Put(reader, size)
|
||||
if err != nil {
|
||||
return err.Trace(targetURL)
|
||||
}
|
||||
|
||||
@@ -39,9 +39,9 @@ func (s *TestSuite) TestCommonMethods(c *C) {
|
||||
|
||||
objectPathServer := server.URL + "/bucket/object1"
|
||||
data := "hello"
|
||||
err := putTarget(objectPath, bytes.NewReader([]byte(data)))
|
||||
err := putTarget(objectPath, bytes.NewReader([]byte(data)), int64(len(data)))
|
||||
c.Assert(err, IsNil)
|
||||
err = putTarget(objectPathServer, bytes.NewReader([]byte(data)))
|
||||
err = putTarget(objectPathServer, bytes.NewReader([]byte(data)), int64(len(data)))
|
||||
c.Assert(err, IsNil)
|
||||
|
||||
c.Assert(isTargetURLDir(objectPathServer), Equals, false)
|
||||
|
||||
+2
-2
@@ -174,9 +174,9 @@ func doCopy(cpURLs copyURLs, progressReader *barSend, accountingReader *accounte
|
||||
// set up progress
|
||||
newReader = progressReader.NewProxyReader(reader)
|
||||
}
|
||||
if err := putTarget(cpURLs.TargetContent.URL.String(), newReader); err != nil {
|
||||
if err := putTarget(cpURLs.TargetContent.URL.String(), newReader, cpURLs.SourceContent.Size); err != nil {
|
||||
if !globalQuiet && !globalJSON {
|
||||
progressReader.ErrorPut(cpURLs.TargetContent.Size)
|
||||
progressReader.ErrorPut(cpURLs.SourceContent.Size)
|
||||
}
|
||||
cpURLs.Error = err.Trace(cpURLs.TargetContent.URL.String())
|
||||
statusCh <- cpURLs
|
||||
|
||||
@@ -37,7 +37,7 @@ type Client interface {
|
||||
|
||||
// I/O operations
|
||||
Get(offset, length int64) (body io.ReadSeeker, err *probe.Error)
|
||||
Put(data io.ReadSeeker) *probe.Error
|
||||
Put(data io.ReadSeeker, size int64) *probe.Error
|
||||
|
||||
// I/O operations with expiration
|
||||
ShareDownload(expires time.Duration) (string, *probe.Error)
|
||||
|
||||
+2
-2
@@ -120,7 +120,7 @@ func (f *fsClient) fsStat() (os.FileInfo, *probe.Error) {
|
||||
}
|
||||
|
||||
// Put - create a new file.
|
||||
func (f *fsClient) Put(data io.ReadSeeker) *probe.Error {
|
||||
func (f *fsClient) Put(data io.ReadSeeker, size int64) *probe.Error {
|
||||
objectDir, _ := filepath.Split(f.PathURL.Path)
|
||||
objectPath := f.PathURL.Path
|
||||
objectPartPath := objectPath + partSuffix
|
||||
@@ -159,7 +159,7 @@ func (f *fsClient) Put(data io.ReadSeeker) *probe.Error {
|
||||
}
|
||||
return probe.NewError(e)
|
||||
}
|
||||
_, e = io.Copy(partFile, data)
|
||||
_, e = io.CopyN(partFile, data, size)
|
||||
if e != nil {
|
||||
return probe.NewError(e)
|
||||
}
|
||||
|
||||
@@ -46,14 +46,14 @@ func (s *MySuite) TestList(c *C) {
|
||||
|
||||
data := "hello"
|
||||
|
||||
err = fsc.Put(bytes.NewReader([]byte(data)))
|
||||
err = fsc.Put(bytes.NewReader([]byte(data)), int64(len(data)))
|
||||
c.Assert(err, IsNil)
|
||||
|
||||
objectPath = filepath.Join(root, "object2")
|
||||
fsc, err = fs.New(objectPath)
|
||||
c.Assert(err, IsNil)
|
||||
|
||||
err = fsc.Put(bytes.NewReader([]byte(data)))
|
||||
err = fsc.Put(bytes.NewReader([]byte(data)), int64(len(data)))
|
||||
c.Assert(err, IsNil)
|
||||
|
||||
fsc, err = fs.New(root)
|
||||
@@ -75,7 +75,7 @@ func (s *MySuite) TestList(c *C) {
|
||||
fsc, err = fs.New(objectPath)
|
||||
c.Assert(err, IsNil)
|
||||
|
||||
err = fsc.Put(bytes.NewReader([]byte(data)))
|
||||
err = fsc.Put(bytes.NewReader([]byte(data)), int64(len(data)))
|
||||
c.Assert(err, IsNil)
|
||||
|
||||
fsc, err = fs.New(root)
|
||||
@@ -179,7 +179,7 @@ func (s *MySuite) TestPut(c *C) {
|
||||
c.Assert(err, IsNil)
|
||||
|
||||
data := "hello"
|
||||
err = fsc.Put(bytes.NewReader([]byte(data)))
|
||||
err = fsc.Put(bytes.NewReader([]byte(data)), int64(len(data)))
|
||||
c.Assert(err, IsNil)
|
||||
}
|
||||
|
||||
@@ -194,7 +194,7 @@ func (s *MySuite) TestGet(c *C) {
|
||||
|
||||
data := "hello"
|
||||
|
||||
err = fsc.Put(bytes.NewReader([]byte(data)))
|
||||
err = fsc.Put(bytes.NewReader([]byte(data)), int64(len(data)))
|
||||
c.Assert(err, IsNil)
|
||||
|
||||
reader, err := fsc.Get(0, 0)
|
||||
@@ -217,7 +217,7 @@ func (s *MySuite) TestGetRange(c *C) {
|
||||
|
||||
data := "hello world"
|
||||
|
||||
err = fsc.Put(bytes.NewReader([]byte(data)))
|
||||
err = fsc.Put(bytes.NewReader([]byte(data)), int64(len(data)))
|
||||
c.Assert(err, IsNil)
|
||||
|
||||
reader, err := fsc.Get(0, 5)
|
||||
@@ -240,7 +240,7 @@ func (s *MySuite) TestStatObject(c *C) {
|
||||
data := "hello"
|
||||
dataLen := len(data)
|
||||
|
||||
err = fsc.Put(bytes.NewReader([]byte(data)))
|
||||
err = fsc.Put(bytes.NewReader([]byte(data)), int64(len(data)))
|
||||
c.Assert(err, IsNil)
|
||||
|
||||
content, err := fsc.Stat()
|
||||
|
||||
+2
-2
@@ -154,13 +154,13 @@ func (c *s3Client) ShareUpload(isRecursive bool, expires time.Duration, contentT
|
||||
}
|
||||
|
||||
// Put - put object.
|
||||
func (c *s3Client) Put(data io.ReadSeeker) *probe.Error {
|
||||
func (c *s3Client) Put(data io.ReadSeeker, size int64) *probe.Error {
|
||||
// md5 is purposefully ignored since AmazonS3 does not return proper md5sum
|
||||
// for a multipart upload and there is no need to cross verify,
|
||||
// invidual parts are properly verified fully in transit and also upon completion
|
||||
// of the multipart request.
|
||||
bucket, object := c.url2BucketAndObject()
|
||||
err := c.api.PutObject(bucket, object, "application/octet-stream", data)
|
||||
err := c.api.PutObject(bucket, object, "application/octet-stream", data, size)
|
||||
if err != nil {
|
||||
errResponse := minio.ToErrorResponse(err)
|
||||
if errResponse != nil {
|
||||
|
||||
@@ -184,7 +184,7 @@ func (s *MySuite) TestObjectOperations(c *C) {
|
||||
s3c, err := New(conf)
|
||||
c.Assert(err, IsNil)
|
||||
|
||||
err = s3c.Put(bytes.NewReader(object.data))
|
||||
err = s3c.Put(bytes.NewReader(object.data), int64(len(object.data)))
|
||||
c.Assert(err, IsNil)
|
||||
|
||||
content, err := s3c.Stat()
|
||||
|
||||
+55
-30
@@ -17,6 +17,7 @@
|
||||
package minio
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"errors"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
@@ -25,6 +26,7 @@ import (
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
"sort"
|
||||
"strconv"
|
||||
"strings"
|
||||
"sync"
|
||||
"time"
|
||||
@@ -362,6 +364,10 @@ var maxConcurrentQueue int64 = 4
|
||||
// special case where it happens to be that partSize is indeed bigger than the
|
||||
// maximum part size just return maxPartSize.
|
||||
func calculatePartSize(objectSize int64) int64 {
|
||||
// if object size is -1 choose part size as 5GB.
|
||||
if objectSize == -1 {
|
||||
return maxPartSize
|
||||
}
|
||||
// make sure last part has enough buffer and handle this poperly.
|
||||
partSize := (objectSize / (maxParts - 1))
|
||||
if partSize > minimumPartSize {
|
||||
@@ -395,7 +401,11 @@ func (a API) newObjectUpload(bucket, object, contentType string, size int64, dat
|
||||
wg := new(sync.WaitGroup)
|
||||
|
||||
partNumber := 1
|
||||
for part := range partsManager(data, partSize) {
|
||||
var isEnableSha256Sum bool
|
||||
if a.config.Signature.isV4() {
|
||||
isEnableSha256Sum = true
|
||||
}
|
||||
for part := range partsManager(data, partSize, isEnableSha256Sum) {
|
||||
// Limit to 4 parts a given time.
|
||||
mpQueueCh <- struct{}{}
|
||||
// Account for all parts uploaded simultaneousy.
|
||||
@@ -516,7 +526,11 @@ func (a API) continueObjectUpload(bucket, object, uploadID string, size int64, d
|
||||
if _, err := data.Seek(seekOffset, 0); err != nil {
|
||||
return err
|
||||
}
|
||||
for part := range partsManager(data, partSize) {
|
||||
var isEnableSha256Sum bool
|
||||
if a.config.Signature.isV4() {
|
||||
isEnableSha256Sum = true
|
||||
}
|
||||
for part := range partsManager(data, partSize, isEnableSha256Sum) {
|
||||
// Limit to 4 parts a given time.
|
||||
mpQueueCh <- struct{}{}
|
||||
// Account for all parts uploaded simultaneousy.
|
||||
@@ -562,7 +576,7 @@ func (a API) continueObjectUpload(bucket, object, uploadID string, size int64, d
|
||||
// - For size larger than 5MB PutObject automatically does resumable multipart operation.
|
||||
// - For size input as -1 PutObject treats it as a stream and does multipart operation until
|
||||
// input stream reaches EOF. Maximum object size that can be uploaded through this operation
|
||||
// will be 5GB.
|
||||
// will be 5TB.
|
||||
//
|
||||
// NOTE: if you are using Google Cloud Storage. Then there is no resumable multipart
|
||||
// upload support yet. Currently PutObject will behave like a single PUT operation and would
|
||||
@@ -570,43 +584,51 @@ func (a API) continueObjectUpload(bucket, object, uploadID string, size int64, d
|
||||
//
|
||||
// For un-authenticated requests S3 doesn't allow multipart upload, so we fall back to single
|
||||
// PUT operation.
|
||||
func (a API) PutObject(bucket, object, contentType string, data io.ReadSeeker) error {
|
||||
func (a API) PutObject(bucket, object, contentType string, data io.ReadSeeker, size int64) error {
|
||||
if err := invalidBucketError(bucket); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := invalidArgumentError(object); err != nil {
|
||||
return err
|
||||
}
|
||||
size, err := getReaderSize(data)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
// NOTE: S3 doesn't allow anonymous multipart requests.
|
||||
if a.config.isAnonymous() && size == -1 {
|
||||
return invalidArgumentError("")
|
||||
}
|
||||
// For anonymous requests do not initiate multipart operation.
|
||||
if a.config.isAnonymous() {
|
||||
putObjMetadata := putObjectMetadata{
|
||||
MD5Sum: nil,
|
||||
Sha256Sum: nil,
|
||||
ReadCloser: ioutil.NopCloser(data),
|
||||
Size: size,
|
||||
ContentType: contentType,
|
||||
if strings.Contains(a.config.Endpoint, "amazonaws.com") || strings.Contains(a.config.Endpoint, "googleapis.com") {
|
||||
if a.config.isAnonymous() {
|
||||
if size == -1 {
|
||||
return ErrorResponse{
|
||||
Code: "NotImplemented",
|
||||
Message: "For Anonymous requests Content-Length cannot be '-1'.",
|
||||
Resource: separator + bucket + separator + object,
|
||||
}
|
||||
}
|
||||
if size > maxPartSize {
|
||||
return ErrorResponse{
|
||||
Code: "EntityTooLarge",
|
||||
Message: "Your proposed upload exceeds the maximum allowed object size '5GB' for single PUT operation.",
|
||||
Resource: separator + bucket + separator + object,
|
||||
}
|
||||
}
|
||||
// For anonymous requests, we will not calculate sha256 and md5sum.
|
||||
putObjMetadata := putObjectMetadata{
|
||||
MD5Sum: nil,
|
||||
Sha256Sum: nil,
|
||||
ReadCloser: ioutil.NopCloser(data),
|
||||
Size: size,
|
||||
ContentType: contentType,
|
||||
}
|
||||
_, err := a.putObject(bucket, object, putObjMetadata)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
_, err := a.putObject(bucket, object, putObjMetadata)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
}
|
||||
// Special handling just for Google Cloud Storage.
|
||||
// TODO - we should remove this in future when we fully implement Resumable object upload.
|
||||
if a.config.Region == "google" {
|
||||
if strings.Contains(a.config.Endpoint, "googleapis.com") {
|
||||
if size > maxPartSize {
|
||||
return ErrorResponse{
|
||||
Code: "EntityTooLarge",
|
||||
Message: "Your proposed upload exceeds the maximum allowed object size.",
|
||||
Message: "Your proposed upload exceeds the maximum allowed object size '5GB' for single PUT operation.",
|
||||
Resource: separator + bucket + separator + object,
|
||||
}
|
||||
}
|
||||
@@ -629,14 +651,17 @@ func (a API) PutObject(bucket, object, contentType string, data io.ReadSeeker) e
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
// Seek back the data to its original position.
|
||||
if _, err := data.Seek(0, 0); err != nil {
|
||||
return err
|
||||
if int64(len(dataBytes)) != size {
|
||||
return ErrorResponse{
|
||||
Code: "UnexpectedShortRead",
|
||||
Message: "Data read ‘" + strconv.FormatInt(int64(len(dataBytes)), 10) + "’ is not equal to expected size ‘" + strconv.FormatInt(size, 10) + "’",
|
||||
Resource: separator + bucket + separator + object,
|
||||
}
|
||||
}
|
||||
putObjMetadata := putObjectMetadata{
|
||||
MD5Sum: sumMD5(dataBytes),
|
||||
Sha256Sum: sum256(dataBytes),
|
||||
ReadCloser: ioutil.NopCloser(data),
|
||||
ReadCloser: ioutil.NopCloser(bytes.NewReader(dataBytes)),
|
||||
Size: size,
|
||||
ContentType: contentType,
|
||||
}
|
||||
|
||||
+1
-1
@@ -160,7 +160,7 @@ func TestObjectOperations(t *testing.T) {
|
||||
t.Fatal("Error")
|
||||
}
|
||||
data := []byte("Hello, World")
|
||||
err = a.PutObject("bucket", "object", "", bytes.NewReader(data))
|
||||
err = a.PutObject("bucket", "object", "", bytes.NewReader(data), int64(len(data)))
|
||||
if err != nil {
|
||||
t.Fatal("Error")
|
||||
}
|
||||
|
||||
-26
@@ -17,13 +17,11 @@
|
||||
package minio
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"crypto/hmac"
|
||||
"crypto/md5"
|
||||
"crypto/sha256"
|
||||
"encoding/xml"
|
||||
"io"
|
||||
"os"
|
||||
)
|
||||
|
||||
// xmlDecoder provide decoded value in xml.
|
||||
@@ -32,30 +30,6 @@ func xmlDecoder(body io.Reader, v interface{}) error {
|
||||
return d.Decode(v)
|
||||
}
|
||||
|
||||
// getReaderSize provides size of io.ReadSeeker, return -1 after exhausting all conditions.
|
||||
func getReaderSize(data io.ReadSeeker) (int64, error) {
|
||||
var size int64
|
||||
switch ft := data.(type) {
|
||||
case *os.File:
|
||||
st, err := ft.Stat()
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
size = st.Size()
|
||||
case *objectReadSeeker:
|
||||
st, err := ft.Stat()
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
size = st.Size
|
||||
case *bytes.Reader:
|
||||
size = ft.Size()
|
||||
default:
|
||||
return -1, nil
|
||||
}
|
||||
return size, nil
|
||||
}
|
||||
|
||||
// sum256 calculate sha256 sum for an input byte array.
|
||||
func sum256(data []byte) []byte {
|
||||
hash := sha256.New()
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ type CloudStorageAPI interface {
|
||||
// Object Read/Write/Stat operations
|
||||
GetObject(bucket, object string) (io.ReadSeeker, error)
|
||||
GetPartialObject(bucket, object string, offset, length int64) (io.ReadSeeker, error)
|
||||
PutObject(bucket, object, contentType string, data io.ReadSeeker) error
|
||||
PutObject(bucket, object, contentType string, data io.ReadSeeker, size int64) error
|
||||
StatObject(bucket, object string) (ObjectStat, error)
|
||||
RemoveObject(bucket, object string) error
|
||||
RemoveIncompleteUpload(bucket, object string) <-chan error
|
||||
|
||||
+28
-13
@@ -27,13 +27,13 @@ import (
|
||||
// temporary file which deletes itself upon Close().
|
||||
//
|
||||
// This method runs until an EOF or an error occurs. Before returning, the channel is always closed.
|
||||
func partsManager(reader io.Reader, partSize int64) <-chan partMetadata {
|
||||
func partsManager(reader io.Reader, partSize int64, isEnableSha256Sum bool) <-chan partMetadata {
|
||||
ch := make(chan partMetadata, 3)
|
||||
go partsManagerInRoutine(reader, partSize, ch)
|
||||
go partsManagerInRoutine(reader, partSize, isEnableSha256Sum, ch)
|
||||
return ch
|
||||
}
|
||||
|
||||
func partsManagerInRoutine(reader io.Reader, partSize int64, ch chan<- partMetadata) {
|
||||
func partsManagerInRoutine(reader io.Reader, partSize int64, isEnableSha256Sum bool, ch chan<- partMetadata) {
|
||||
defer close(ch)
|
||||
tmpFile, err := newTempFile("multiparts$")
|
||||
if err != nil {
|
||||
@@ -46,8 +46,11 @@ func partsManagerInRoutine(reader io.Reader, partSize int64, ch chan<- partMetad
|
||||
var hashSha256 hash.Hash
|
||||
var writer io.Writer
|
||||
hashMD5 = md5.New()
|
||||
hashSha256 = sha256.New()
|
||||
mwwriter := io.MultiWriter(hashMD5, hashSha256)
|
||||
mwwriter := io.MultiWriter(hashMD5)
|
||||
if isEnableSha256Sum {
|
||||
hashSha256 = sha256.New()
|
||||
mwwriter = io.MultiWriter(hashMD5, hashSha256)
|
||||
}
|
||||
writer = io.MultiWriter(tmpFile, mwwriter)
|
||||
n, err := io.CopyN(writer, reader, partSize)
|
||||
if err == io.EOF || err == io.ErrUnexpectedEOF {
|
||||
@@ -55,13 +58,16 @@ func partsManagerInRoutine(reader io.Reader, partSize int64, ch chan<- partMetad
|
||||
tmpFile.Seek(0, 0)
|
||||
|
||||
// short read, only single partMetadata return.
|
||||
ch <- partMetadata{
|
||||
partMdata := partMetadata{
|
||||
MD5Sum: hashMD5.Sum(nil),
|
||||
Sha256Sum: hashSha256.Sum(nil),
|
||||
ReadCloser: tmpFile,
|
||||
Size: n,
|
||||
Err: nil,
|
||||
}
|
||||
if isEnableSha256Sum {
|
||||
partMdata.Sha256Sum = hashSha256.Sum(nil)
|
||||
}
|
||||
ch <- partMdata
|
||||
return
|
||||
}
|
||||
// unknown error considered catastrophic error, return here.
|
||||
@@ -73,13 +79,16 @@ func partsManagerInRoutine(reader io.Reader, partSize int64, ch chan<- partMetad
|
||||
}
|
||||
// Seek back to beginning.
|
||||
tmpFile.Seek(0, 0)
|
||||
ch <- partMetadata{
|
||||
partMdata := partMetadata{
|
||||
MD5Sum: hashMD5.Sum(nil),
|
||||
Sha256Sum: hashSha256.Sum(nil),
|
||||
ReadCloser: tmpFile,
|
||||
Size: n,
|
||||
Err: nil,
|
||||
}
|
||||
if isEnableSha256Sum {
|
||||
partMdata.Sha256Sum = hashSha256.Sum(nil)
|
||||
}
|
||||
ch <- partMdata
|
||||
for err == nil {
|
||||
var n int64
|
||||
tmpFile, err = newTempFile("multiparts$")
|
||||
@@ -90,8 +99,11 @@ func partsManagerInRoutine(reader io.Reader, partSize int64, ch chan<- partMetad
|
||||
return
|
||||
}
|
||||
hashMD5 = md5.New()
|
||||
hashSha256 = sha256.New()
|
||||
mwwriter := io.MultiWriter(hashMD5, hashSha256)
|
||||
mwwriter := io.MultiWriter(hashMD5)
|
||||
if isEnableSha256Sum {
|
||||
hashSha256 = sha256.New()
|
||||
mwwriter = io.MultiWriter(hashMD5, hashSha256)
|
||||
}
|
||||
writer = io.MultiWriter(tmpFile, mwwriter)
|
||||
n, err = io.CopyN(writer, reader, partSize)
|
||||
if err != nil {
|
||||
@@ -104,12 +116,15 @@ func partsManagerInRoutine(reader io.Reader, partSize int64, ch chan<- partMetad
|
||||
}
|
||||
// Seek back to beginning.
|
||||
tmpFile.Seek(0, 0)
|
||||
ch <- partMetadata{
|
||||
partMdata := partMetadata{
|
||||
MD5Sum: hashMD5.Sum(nil),
|
||||
Sha256Sum: hashSha256.Sum(nil),
|
||||
ReadCloser: tmpFile,
|
||||
Size: n,
|
||||
Err: nil,
|
||||
}
|
||||
if isEnableSha256Sum {
|
||||
partMdata.Sha256Sum = hashSha256.Sum(nil)
|
||||
}
|
||||
ch <- partMdata
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+2
-2
@@ -29,8 +29,8 @@
|
||||
},
|
||||
{
|
||||
"path": "github.com/minio/minio-go",
|
||||
"revision": "c2c61c7f6b480303a474b43deb8fbd05ec974c41",
|
||||
"revisionTime": "2015-11-28T11:01:09-08:00"
|
||||
"revision": "c6c4e52d680f679214985856e7bc08c3d1ae8a6b",
|
||||
"revisionTime": "2015-11-28T22:10:20-08:00"
|
||||
},
|
||||
{
|
||||
"path": "github.com/minio/minio-xl/pkg/atomic",
|
||||
|
||||
Reference in New Issue
Block a user