From 20d90dea5a04c815319c375e5c69e9bdecbca633 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 5 Sep 2019 01:26:59 -0700 Subject: [PATCH 1/4] filer: avoid hard-coded upload timeout --- weed/util/http_util.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/weed/util/http_util.go b/weed/util/http_util.go index a465a7b7f..79a442a56 100644 --- a/weed/util/http_util.go +++ b/weed/util/http_util.go @@ -11,7 +11,6 @@ import ( "net/http" "net/url" "strings" - "time" ) var ( @@ -25,7 +24,6 @@ func init() { } client = &http.Client{ Transport: Transport, - Timeout: 5 * time.Second, } } From 803345e6af35f1889239a1e82ad60f71c6cbceeb Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Fri, 6 Sep 2019 00:15:59 -0700 Subject: [PATCH 2/4] remove glide --- weed/glide.yaml | 117 ------------------------------------------------ 1 file changed, 117 deletions(-) delete mode 100644 weed/glide.yaml diff --git a/weed/glide.yaml b/weed/glide.yaml deleted file mode 100644 index ef64b3a3c..000000000 --- a/weed/glide.yaml +++ /dev/null @@ -1,117 +0,0 @@ -package: github.com/chrislusf/seaweedfs/weed -import: -- package: cloud.google.com/go - version: ^0.40.0 - subpackages: - - pubsub - - storage -- package: github.com/Azure/azure-storage-blob-go - version: ^0.7.0 - subpackages: - - azblob -- package: github.com/Shopify/sarama - version: ^1.22.1 -- package: github.com/aws/aws-sdk-go - version: ^1.20.12 - subpackages: - - aws - - aws/awserr - - aws/credentials - - aws/session - - service/s3 - - service/s3/s3iface - - service/sqs -- package: github.com/chrislusf/raft - subpackages: - - protobuf -- package: github.com/dgrijalva/jwt-go - version: ^3.2.0 -- package: github.com/disintegration/imaging - version: ^1.6.0 -- package: github.com/dustin/go-humanize - version: ^1.0.0 -- package: github.com/gabriel-vasile/mimetype - version: ^0.3.14 -- package: github.com/go-redis/redis - version: ^6.15.3 -- package: github.com/go-sql-driver/mysql - version: ^1.4.1 -- package: github.com/gocql/gocql -- package: github.com/golang/protobuf - version: ^1.3.1 - subpackages: - - proto -- package: github.com/google/btree - version: ^1.0.0 -- package: github.com/gorilla/mux - version: ^1.7.3 -- package: github.com/jacobsa/daemonize -- package: github.com/kardianos/osext -- package: github.com/karlseguin/ccache - version: ^2.0.3 -- package: github.com/klauspost/crc32 - version: ^1.2.0 -- package: github.com/klauspost/reedsolomon - version: ^1.9.2 -- package: github.com/kurin/blazer - version: ^0.5.3 - subpackages: - - b2 -- package: github.com/lib/pq - version: ^1.1.1 -- package: github.com/peterh/liner - version: ^1.1.0 -- package: github.com/prometheus/client_golang - version: ^1.0.0 - subpackages: - - prometheus - - prometheus/push -- package: github.com/rakyll/statik - version: ^0.1.6 - subpackages: - - fs -- package: github.com/rwcarlsen/goexif - subpackages: - - exif -- package: github.com/satori/go.uuid - version: ^1.2.0 -- package: github.com/seaweedfs/fuse - subpackages: - - fs -- package: github.com/spf13/viper - version: ^1.4.0 -- package: github.com/syndtr/goleveldb - version: ^1.0.0 - subpackages: - - leveldb - - leveldb/opt - - leveldb/util -- package: github.com/willf/bloom - version: ^2.0.3 -- package: gocloud.dev - version: ^0.15.0 - subpackages: - - pubsub - - pubsub/awssnssqs - - pubsub/azuresb - - pubsub/gcppubsub - - pubsub/natspubsub - - pubsub/rabbitpubsub -- package: golang.org/x/net - subpackages: - - context - - webdav -- package: golang.org/x/tools - subpackages: - - godoc/util -- package: google.golang.org/api - version: ^0.7.0 - subpackages: - - option -- package: google.golang.org/grpc - version: ^1.21.1 - subpackages: - - credentials - - keepalive - - peer - - reflection From 500e17a9977e28ea5a66f62c4bce4fb0c318f6ec Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Fri, 6 Sep 2019 00:16:15 -0700 Subject: [PATCH 3/4] add go 1.13 --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3261d33db..b7467ab8a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ language: go go: - 1.11.x - 1.12.x - # - tip + - 1.13.x before_install: - export PATH=/home/travis/gopath/bin:$PATH @@ -45,4 +45,4 @@ deploy: on: tags: true repo: chrislusf/seaweedfs - go: 1.12.x + go: 1.13.x From 972b974f6ca586cc4027d43ce1e56e92226b5359 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Fri, 6 Sep 2019 00:16:31 -0700 Subject: [PATCH 4/4] somehow auto updated go mod --- go.mod | 3 --- 1 file changed, 3 deletions(-) diff --git a/go.mod b/go.mod index ebf7d38e3..ce4dce9ee 100644 --- a/go.mod +++ b/go.mod @@ -34,7 +34,6 @@ require ( github.com/go-kit/kit v0.9.0 // indirect github.com/go-redis/redis v6.15.2+incompatible github.com/go-sql-driver/mysql v1.4.1 - github.com/go-stack/stack v1.8.0 // indirect github.com/gocql/gocql v0.0.0-20190829130954-e163eff7a8c6 github.com/gogo/protobuf v1.2.2-0.20190730201129-28a6bbf47e48 // indirect github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6 // indirect @@ -59,8 +58,6 @@ require ( github.com/mattn/go-ieproxy v0.0.0-20190805055040-f9202b1cfdeb // indirect github.com/mattn/go-isatty v0.0.9 // indirect github.com/mattn/go-runewidth v0.0.4 // indirect - github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect - github.com/modern-go/reflect2 v1.0.1 // indirect github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f // indirect github.com/nats-io/gnatsd v1.4.1 // indirect github.com/nats-io/go-nats v1.7.2 // indirect