diff --git a/go.mod b/go.mod index 45e5bc8b4..dd77af8aa 100644 --- a/go.mod +++ b/go.mod @@ -1,121 +1,48 @@ -module github.com/joeslay/seaweedfs +module github.com/chrislusf/seaweedfs -go 1.12 +go 1.13 require ( cloud.google.com/go v0.44.3 - contrib.go.opencensus.io/exporter/aws v0.0.0-20190807220307-c50fb1bd7f21 // indirect - contrib.go.opencensus.io/exporter/ocagent v0.6.0 // indirect - contrib.go.opencensus.io/exporter/stackdriver v0.12.5 // indirect - contrib.go.opencensus.io/resource v0.1.2 // indirect - github.com/Azure/azure-amqp-common-go v1.1.4 // indirect - github.com/Azure/azure-pipeline-go v0.2.2 // indirect - github.com/Azure/azure-sdk-for-go v33.0.0+incompatible // indirect github.com/Azure/azure-storage-blob-go v0.8.0 - github.com/Azure/go-autorest v13.0.0+incompatible // indirect - github.com/Azure/go-autorest/tracing v0.5.0 // indirect - github.com/DataDog/zstd v1.4.1 // indirect - github.com/GoogleCloudPlatform/cloudsql-proxy v0.0.0-20190828224159-d93c53a4824c // indirect github.com/Shopify/sarama v1.23.1 - github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect - github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4 // indirect github.com/aws/aws-sdk-go v1.23.13 github.com/chrislusf/raft v0.0.0-20190225081310-10d6e2182d92 - github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd // indirect - github.com/coreos/bbolt v1.3.3 // indirect - github.com/coreos/etcd v3.3.15+incompatible // indirect - github.com/coreos/go-semver v0.3.0 // indirect - github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f // indirect github.com/dgrijalva/jwt-go v3.2.0+incompatible github.com/disintegration/imaging v1.6.1 github.com/dustin/go-humanize v1.0.0 - github.com/eapache/go-resiliency v1.2.0 // indirect github.com/gabriel-vasile/mimetype v0.3.17 - 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/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 github.com/golang/protobuf v1.3.2 github.com/google/btree v1.0.0 - github.com/google/pprof v0.0.0-20190723021845-34ac40c74b70 // indirect github.com/gorilla/mux v1.7.3 - github.com/gorilla/websocket v1.4.1 // indirect - github.com/grpc-ecosystem/grpc-gateway v1.11.0 // indirect github.com/jacobsa/daemonize v0.0.0-20160101105449-e460293e890f - github.com/jcmturner/gofork v1.0.0 // indirect + github.com/joeslay/seaweedfs v0.0.0-20190912104409-d8c34b032fb6 // indirect github.com/karlseguin/ccache v2.0.3+incompatible - github.com/karlseguin/expect v1.0.1 // indirect - github.com/klauspost/cpuid v1.2.1 // indirect github.com/klauspost/crc32 v1.2.0 github.com/klauspost/reedsolomon v1.9.2 - github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect - github.com/kr/pty v1.1.8 // indirect github.com/kurin/blazer v0.5.3 github.com/lib/pq v1.2.0 - github.com/magiconair/properties v1.8.1 // indirect - 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/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 - github.com/nats-io/nats-server/v2 v2.0.4 // indirect - github.com/onsi/ginkgo v1.10.1 // indirect - github.com/onsi/gomega v1.7.0 // indirect - github.com/opentracing/opentracing-go v1.1.0 // indirect - github.com/pelletier/go-toml v1.4.0 // indirect github.com/peterh/liner v1.1.0 - github.com/pierrec/lz4 v2.2.7+incompatible // indirect github.com/prometheus/client_golang v1.1.0 - github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 // indirect - github.com/prometheus/procfs v0.0.4 // indirect github.com/rakyll/statik v0.1.6 - github.com/rcrowley/go-metrics v0.0.0-20190826022208-cac0b30c2563 // indirect - github.com/rogpeppe/fastuuid v1.2.0 // indirect - github.com/rogpeppe/go-internal v1.3.1 // indirect github.com/rwcarlsen/goexif v0.0.0-20190401172101-9e8deecbddbd github.com/satori/go.uuid v1.2.0 github.com/seaweedfs/fuse v0.0.0-20190510212405-310228904eff - github.com/sirupsen/logrus v1.4.2 // indirect - github.com/spaolacci/murmur3 v1.1.0 // indirect - github.com/spf13/afero v1.2.2 // indirect - github.com/spf13/jwalterweatherman v1.1.0 // indirect github.com/spf13/viper v1.4.0 - github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271 // indirect - github.com/stretchr/testify v1.4.0 // indirect github.com/syndtr/goleveldb v1.0.0 - github.com/tidwall/pretty v1.0.0 // indirect - github.com/uber-go/atomic v1.4.0 // indirect - github.com/uber/jaeger-client-go v2.17.0+incompatible // indirect - github.com/uber/jaeger-lib v2.0.0+incompatible // indirect - github.com/ugorji/go v1.1.7 // indirect - github.com/willf/bitset v1.1.10 // indirect github.com/willf/bloom v2.0.3+incompatible - github.com/wsxiaoys/terminal v0.0.0-20160513160801-0940f3fc43a0 // indirect - go.etcd.io/bbolt v1.3.3 // indirect go.etcd.io/etcd v3.3.15+incompatible - go.mongodb.org/mongo-driver v1.1.0 // indirect gocloud.dev v0.16.0 gocloud.dev/pubsub/natspubsub v0.16.0 gocloud.dev/pubsub/rabbitpubsub v0.16.0 - golang.org/x/crypto v0.0.0-20190829043050-9756ffdc2472 // indirect - golang.org/x/exp v0.0.0-20190829153037-c13cbed26979 // indirect - golang.org/x/image v0.0.0-20190829233526-b3c06291d021 // indirect - golang.org/x/mobile v0.0.0-20190830201351-c6da95954960 // indirect golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297 golang.org/x/sys v0.0.0-20190830142957-1e83adbbebd0 golang.org/x/tools v0.0.0-20190830223141-573d9926052a google.golang.org/api v0.9.0 - google.golang.org/appengine v1.6.2 // indirect - google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55 // indirect google.golang.org/grpc v1.23.0 - gopkg.in/jcmturner/goidentity.v3 v3.0.0 // indirect - gopkg.in/jcmturner/gokrb5.v7 v7.3.0 // indirect - gopkg.in/karlseguin/expect.v1 v1.0.1 // indirect - honnef.co/go/tools v0.0.1-2019.2.2 // indirect - pack.ag/amqp v0.12.1 // indirect ) replace github.com/satori/go.uuid v1.2.0 => github.com/satori/go.uuid v0.0.0-20181028125025-b2ce2384e17b diff --git a/go.sum b/go.sum index 2dad6d716..55a2365d5 100644 --- a/go.sum +++ b/go.sum @@ -98,6 +98,8 @@ github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/chrislusf/raft v0.0.0-20190225081310-10d6e2182d92 h1:lM9SFsh0EPXkyJyrTJqLZPAIJBtNFP6LNkYXu2MnSZI= github.com/chrislusf/raft v0.0.0-20190225081310-10d6e2182d92/go.mod h1:4jyiUCD5y548+yKW+oiHtccBiMaLCCbFBpK2t7X4eUo= +github.com/chrislusf/seaweedfs v0.0.0-20190912032620-ae53f636804e h1:PmqW1XGq0V6KnwOFa3hOSqsqa/bH66zxWzCVMOo5Yi4= +github.com/chrislusf/seaweedfs v0.0.0-20190912032620-ae53f636804e/go.mod h1:e5Pz27e2DxLCFt6GbCBP5/qJygD4TkOL5xqSFYFq+2U= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= github.com/coreos/bbolt v1.3.2 h1:wZwiHHUieZCquLkDL0B8UhzreNWsPHooDAG3q34zk0s= @@ -262,6 +264,7 @@ github.com/jcmturner/gofork v1.0.0/go.mod h1:MK8+TM0La+2rjBD4jE12Kj1pCCxK7d2LK/U github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af h1:pmfjZENx5imkbgOkpRUYLnmbU7UEFbjtDA2hxJ1ichM= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= +github.com/joeslay/seaweedfs v0.0.0-20190912104409-d8c34b032fb6/go.mod h1:ljVry+CyFSNBLlKiell2UlxOKCvXXHjyBhiGDzXa+0c= github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg= github.com/jonboulle/clockwork v0.1.0 h1:VKV+ZcuP6l3yW9doeqz6ziZGgcynBVQO+obU0+0hcPo= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= diff --git a/unmaintained/change_superblock/change_superblock.go b/unmaintained/change_superblock/change_superblock.go index 9326b32e2..07d9b94e4 100644 --- a/unmaintained/change_superblock/change_superblock.go +++ b/unmaintained/change_superblock/change_superblock.go @@ -7,9 +7,9 @@ import ( "path" "strconv" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/storage" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/storage" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) var ( diff --git a/unmaintained/fix_dat/fix_dat.go b/unmaintained/fix_dat/fix_dat.go index 0d49f2fa7..a72a78eed 100644 --- a/unmaintained/fix_dat/fix_dat.go +++ b/unmaintained/fix_dat/fix_dat.go @@ -8,11 +8,11 @@ import ( "path" "strconv" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/storage" - "github.com/joeslay/seaweedfs/weed/storage/needle" - "github.com/joeslay/seaweedfs/weed/storage/types" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/storage" + "github.com/chrislusf/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/util" ) var ( diff --git a/unmaintained/repeated_vacuum/repeated_vacuum.go b/unmaintained/repeated_vacuum/repeated_vacuum.go index d613f7516..28bcabb9b 100644 --- a/unmaintained/repeated_vacuum/repeated_vacuum.go +++ b/unmaintained/repeated_vacuum/repeated_vacuum.go @@ -7,11 +7,11 @@ import ( "log" "math/rand" - "github.com/joeslay/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/security" "github.com/spf13/viper" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/util" ) var ( diff --git a/unmaintained/see_dat/see_dat.go b/unmaintained/see_dat/see_dat.go index ed6bf930e..e8e54fd4f 100644 --- a/unmaintained/see_dat/see_dat.go +++ b/unmaintained/see_dat/see_dat.go @@ -3,9 +3,9 @@ package main import ( "flag" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/storage" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/storage" + "github.com/chrislusf/seaweedfs/weed/storage/needle" "time" ) diff --git a/unmaintained/see_idx/see_idx.go b/unmaintained/see_idx/see_idx.go index 7c8c40a8d..777af1821 100644 --- a/unmaintained/see_idx/see_idx.go +++ b/unmaintained/see_idx/see_idx.go @@ -7,9 +7,9 @@ import ( "path" "strconv" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/storage/idx" - "github.com/joeslay/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/storage/idx" + "github.com/chrislusf/seaweedfs/weed/storage/types" ) var ( diff --git a/unmaintained/see_meta/see_meta.go b/unmaintained/see_meta/see_meta.go index 856fa40bf..0d2ac8de1 100644 --- a/unmaintained/see_meta/see_meta.go +++ b/unmaintained/see_meta/see_meta.go @@ -7,9 +7,9 @@ import ( "log" "os" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/golang/protobuf/proto" ) diff --git a/unmaintained/volume_tailer/volume_tailer.go b/unmaintained/volume_tailer/volume_tailer.go index 9ae0a6e62..f0ef51c09 100644 --- a/unmaintained/volume_tailer/volume_tailer.go +++ b/unmaintained/volume_tailer/volume_tailer.go @@ -5,10 +5,10 @@ import ( "log" "time" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/security" - "github.com/joeslay/seaweedfs/weed/storage/needle" - util2 "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/storage/needle" + util2 "github.com/chrislusf/seaweedfs/weed/util" "github.com/spf13/viper" "golang.org/x/tools/godoc/util" ) diff --git a/weed/command/backup.go b/weed/command/backup.go index 9849f566e..505de4ae6 100644 --- a/weed/command/backup.go +++ b/weed/command/backup.go @@ -3,13 +3,13 @@ package command import ( "fmt" - "github.com/joeslay/seaweedfs/weed/security" - "github.com/joeslay/seaweedfs/weed/storage/needle" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/spf13/viper" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/storage" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/storage" ) var ( diff --git a/weed/command/benchmark.go b/weed/command/benchmark.go index bf655caa0..dd0fdb88e 100644 --- a/weed/command/benchmark.go +++ b/weed/command/benchmark.go @@ -18,11 +18,11 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/security" - "github.com/joeslay/seaweedfs/weed/util" - "github.com/joeslay/seaweedfs/weed/wdclient" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/wdclient" ) type BenchmarkOptions struct { diff --git a/weed/command/compact.go b/weed/command/compact.go index 03f1a14db..4a54f5670 100644 --- a/weed/command/compact.go +++ b/weed/command/compact.go @@ -1,9 +1,9 @@ package command import ( - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/storage" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/storage" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) func init() { diff --git a/weed/command/download.go b/weed/command/download.go index c57517d00..b3e33defd 100644 --- a/weed/command/download.go +++ b/weed/command/download.go @@ -8,8 +8,8 @@ import ( "path" "strings" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/util" ) var ( diff --git a/weed/command/export.go b/weed/command/export.go index 43aa38872..7e94ec11c 100644 --- a/weed/command/export.go +++ b/weed/command/export.go @@ -14,10 +14,10 @@ import ( "io" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/storage" - "github.com/joeslay/seaweedfs/weed/storage/needle" - "github.com/joeslay/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/storage" + "github.com/chrislusf/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/storage/types" ) const ( diff --git a/weed/command/filer.go b/weed/command/filer.go index ddd60d375..b1ceb46f5 100644 --- a/weed/command/filer.go +++ b/weed/command/filer.go @@ -6,13 +6,13 @@ import ( "strings" "time" - "github.com/joeslay/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/security" "github.com/spf13/viper" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/server" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/server" + "github.com/chrislusf/seaweedfs/weed/util" "google.golang.org/grpc/reflection" ) diff --git a/weed/command/filer_copy.go b/weed/command/filer_copy.go index 3aa845eba..19aceb211 100644 --- a/weed/command/filer_copy.go +++ b/weed/command/filer_copy.go @@ -14,11 +14,11 @@ import ( "sync" "time" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/security" - "github.com/joeslay/seaweedfs/weed/util" - "github.com/joeslay/seaweedfs/weed/wdclient" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/wdclient" "github.com/spf13/viper" "google.golang.org/grpc" ) diff --git a/weed/command/filer_replication.go b/weed/command/filer_replication.go index 1040e2174..c6e7f5dba 100644 --- a/weed/command/filer_replication.go +++ b/weed/command/filer_replication.go @@ -4,16 +4,16 @@ import ( "context" "strings" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/replication" - "github.com/joeslay/seaweedfs/weed/replication/sink" - _ "github.com/joeslay/seaweedfs/weed/replication/sink/azuresink" - _ "github.com/joeslay/seaweedfs/weed/replication/sink/b2sink" - _ "github.com/joeslay/seaweedfs/weed/replication/sink/filersink" - _ "github.com/joeslay/seaweedfs/weed/replication/sink/gcssink" - _ "github.com/joeslay/seaweedfs/weed/replication/sink/s3sink" - "github.com/joeslay/seaweedfs/weed/replication/sub" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/replication" + "github.com/chrislusf/seaweedfs/weed/replication/sink" + _ "github.com/chrislusf/seaweedfs/weed/replication/sink/azuresink" + _ "github.com/chrislusf/seaweedfs/weed/replication/sink/b2sink" + _ "github.com/chrislusf/seaweedfs/weed/replication/sink/filersink" + _ "github.com/chrislusf/seaweedfs/weed/replication/sink/gcssink" + _ "github.com/chrislusf/seaweedfs/weed/replication/sink/s3sink" + "github.com/chrislusf/seaweedfs/weed/replication/sub" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/spf13/viper" ) diff --git a/weed/command/fix.go b/weed/command/fix.go index c6d017d07..bf33490cc 100644 --- a/weed/command/fix.go +++ b/weed/command/fix.go @@ -5,10 +5,10 @@ import ( "path" "strconv" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/storage" - "github.com/joeslay/seaweedfs/weed/storage/needle" - "github.com/joeslay/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/storage" + "github.com/chrislusf/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/storage/types" ) func init() { diff --git a/weed/command/master.go b/weed/command/master.go index 3e4fc15e8..3d33f4f7a 100644 --- a/weed/command/master.go +++ b/weed/command/master.go @@ -8,11 +8,11 @@ import ( "strings" "github.com/chrislusf/raft/protobuf" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" - "github.com/joeslay/seaweedfs/weed/security" - "github.com/joeslay/seaweedfs/weed/server" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/server" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/gorilla/mux" "github.com/spf13/viper" "google.golang.org/grpc/reflection" diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go index 4dc21d334..0519ae7b8 100644 --- a/weed/command/mount_std.go +++ b/weed/command/mount_std.go @@ -12,13 +12,13 @@ import ( "strings" "time" - "github.com/joeslay/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/security" "github.com/jacobsa/daemonize" "github.com/spf13/viper" - "github.com/joeslay/seaweedfs/weed/filesys" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/filesys" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/seaweedfs/fuse" "github.com/seaweedfs/fuse/fs" ) diff --git a/weed/command/s3.go b/weed/command/s3.go index c3f2d61d4..e004bb066 100644 --- a/weed/command/s3.go +++ b/weed/command/s3.go @@ -4,14 +4,14 @@ import ( "net/http" "time" - "github.com/joeslay/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/security" "github.com/spf13/viper" "fmt" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/s3api" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/s3api" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/gorilla/mux" ) diff --git a/weed/command/server.go b/weed/command/server.go index dea5c49c4..87f404ed3 100644 --- a/weed/command/server.go +++ b/weed/command/server.go @@ -8,8 +8,8 @@ import ( "strings" "time" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/util" ) type ServerOptions struct { diff --git a/weed/command/shell.go b/weed/command/shell.go index 2adac4d0e..79f8b8bf9 100644 --- a/weed/command/shell.go +++ b/weed/command/shell.go @@ -1,9 +1,9 @@ package command import ( - "github.com/joeslay/seaweedfs/weed/security" - "github.com/joeslay/seaweedfs/weed/shell" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/shell" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/spf13/viper" ) diff --git a/weed/command/upload.go b/weed/command/upload.go index 861f6261d..25e938d9b 100644 --- a/weed/command/upload.go +++ b/weed/command/upload.go @@ -6,11 +6,11 @@ import ( "os" "path/filepath" - "github.com/joeslay/seaweedfs/weed/security" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/spf13/viper" - "github.com/joeslay/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/operation" ) var ( diff --git a/weed/command/version.go b/weed/command/version.go index e8b417d1c..8fdd68ec8 100644 --- a/weed/command/version.go +++ b/weed/command/version.go @@ -4,7 +4,7 @@ import ( "fmt" "runtime" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/util" ) var cmdVersion = &Command{ diff --git a/weed/command/volume.go b/weed/command/volume.go index 0a0e16ac4..3c1aa2b50 100644 --- a/weed/command/volume.go +++ b/weed/command/volume.go @@ -9,14 +9,14 @@ import ( "strings" "time" - "github.com/joeslay/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/security" "github.com/spf13/viper" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" - "github.com/joeslay/seaweedfs/weed/server" - "github.com/joeslay/seaweedfs/weed/storage" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/server" + "github.com/chrislusf/seaweedfs/weed/storage" + "github.com/chrislusf/seaweedfs/weed/util" "google.golang.org/grpc/reflection" ) diff --git a/weed/command/volume_test.go b/weed/command/volume_test.go index 65b96a7c2..7399f1248 100644 --- a/weed/command/volume_test.go +++ b/weed/command/volume_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/joeslay/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/glog" ) func TestXYZ(t *testing.T) { diff --git a/weed/command/webdav.go b/weed/command/webdav.go index 313aa1382..371c4a9ad 100644 --- a/weed/command/webdav.go +++ b/weed/command/webdav.go @@ -7,10 +7,10 @@ import ( "strconv" "time" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/security" - "github.com/joeslay/seaweedfs/weed/server" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/server" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/spf13/viper" ) diff --git a/weed/filer2/abstract_sql/abstract_sql_store.go b/weed/filer2/abstract_sql/abstract_sql_store.go index 9519d4cd8..3e8554957 100644 --- a/weed/filer2/abstract_sql/abstract_sql_store.go +++ b/weed/filer2/abstract_sql/abstract_sql_store.go @@ -5,8 +5,8 @@ import ( "database/sql" "fmt" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/glog" ) type AbstractSqlStore struct { diff --git a/weed/filer2/cassandra/cassandra_store.go b/weed/filer2/cassandra/cassandra_store.go index 9a31d8030..466be5bf3 100644 --- a/weed/filer2/cassandra/cassandra_store.go +++ b/weed/filer2/cassandra/cassandra_store.go @@ -3,9 +3,9 @@ package cassandra import ( "context" "fmt" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/gocql/gocql" ) diff --git a/weed/filer2/configuration.go b/weed/filer2/configuration.go index c4712a48a..7b05b53dc 100644 --- a/weed/filer2/configuration.go +++ b/weed/filer2/configuration.go @@ -3,7 +3,7 @@ package filer2 import ( "os" - "github.com/joeslay/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/glog" "github.com/spf13/viper" ) diff --git a/weed/filer2/entry.go b/weed/filer2/entry.go index 480ad631e..3f8a19114 100644 --- a/weed/filer2/entry.go +++ b/weed/filer2/entry.go @@ -4,7 +4,7 @@ import ( "os" "time" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" ) type Attr struct { diff --git a/weed/filer2/entry_codec.go b/weed/filer2/entry_codec.go index 1b0f4f64b..cf4627b74 100644 --- a/weed/filer2/entry_codec.go +++ b/weed/filer2/entry_codec.go @@ -5,7 +5,7 @@ import ( "time" "fmt" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/golang/protobuf/proto" ) diff --git a/weed/filer2/etcd/etcd_store.go b/weed/filer2/etcd/etcd_store.go index 42987c130..1b0f928d0 100644 --- a/weed/filer2/etcd/etcd_store.go +++ b/weed/filer2/etcd/etcd_store.go @@ -6,9 +6,9 @@ import ( "strings" "time" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/glog" - weed_util "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/glog" + weed_util "github.com/chrislusf/seaweedfs/weed/util" "go.etcd.io/etcd/clientv3" ) diff --git a/weed/filer2/filechunks.go b/weed/filer2/filechunks.go index 130d4ead5..b5876df82 100644 --- a/weed/filer2/filechunks.go +++ b/weed/filer2/filechunks.go @@ -6,7 +6,7 @@ import ( "sort" "sync" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" ) func TotalSize(chunks []*filer_pb.FileChunk) (size uint64) { diff --git a/weed/filer2/filechunks_test.go b/weed/filer2/filechunks_test.go index c0c20fbf1..e75e60753 100644 --- a/weed/filer2/filechunks_test.go +++ b/weed/filer2/filechunks_test.go @@ -5,7 +5,7 @@ import ( "testing" "fmt" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" ) func TestCompactFileChunks(t *testing.T) { diff --git a/weed/filer2/filer.go b/weed/filer2/filer.go index 55b78567b..672295dea 100644 --- a/weed/filer2/filer.go +++ b/weed/filer2/filer.go @@ -10,8 +10,8 @@ import ( "strings" "time" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/wdclient" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/wdclient" "github.com/karlseguin/ccache" ) diff --git a/weed/filer2/filer_client_util.go b/weed/filer2/filer_client_util.go index 49bf39e51..7e093eea2 100644 --- a/weed/filer2/filer_client_util.go +++ b/weed/filer2/filer_client_util.go @@ -6,9 +6,9 @@ import ( "strings" "sync" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/util" ) func VolumeId(fileId string) string { diff --git a/weed/filer2/filer_deletion.go b/weed/filer2/filer_deletion.go index bb1cbcefe..25e27e504 100644 --- a/weed/filer2/filer_deletion.go +++ b/weed/filer2/filer_deletion.go @@ -3,9 +3,9 @@ package filer2 import ( "time" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" ) func (f *Filer) loopProcessingDeletion() { diff --git a/weed/filer2/filer_notify.go b/weed/filer2/filer_notify.go index 82aae9da3..c37381116 100644 --- a/weed/filer2/filer_notify.go +++ b/weed/filer2/filer_notify.go @@ -1,9 +1,9 @@ package filer2 import ( - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/notification" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/notification" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" ) func (f *Filer) NotifyUpdateEvent(oldEntry, newEntry *Entry, deleteChunks bool) { diff --git a/weed/filer2/filer_notify_test.go b/weed/filer2/filer_notify_test.go index d8319463f..b74e2ad35 100644 --- a/weed/filer2/filer_notify_test.go +++ b/weed/filer2/filer_notify_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/golang/protobuf/proto" ) diff --git a/weed/filer2/filerstore.go b/weed/filer2/filerstore.go index dd61f25bd..8caa44ee2 100644 --- a/weed/filer2/filerstore.go +++ b/weed/filer2/filerstore.go @@ -5,9 +5,9 @@ import ( "errors" "time" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/stats" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/stats" + "github.com/chrislusf/seaweedfs/weed/util" ) type FilerStore interface { diff --git a/weed/filer2/leveldb/leveldb_store.go b/weed/filer2/leveldb/leveldb_store.go index 3607f0d06..d00eba859 100644 --- a/weed/filer2/leveldb/leveldb_store.go +++ b/weed/filer2/leveldb/leveldb_store.go @@ -5,9 +5,9 @@ import ( "context" "fmt" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/glog" - weed_util "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/glog" + weed_util "github.com/chrislusf/seaweedfs/weed/util" "github.com/syndtr/goleveldb/leveldb" "github.com/syndtr/goleveldb/leveldb/opt" leveldb_util "github.com/syndtr/goleveldb/leveldb/util" diff --git a/weed/filer2/leveldb/leveldb_store_test.go b/weed/filer2/leveldb/leveldb_store_test.go index 7ac9c888f..904de8c97 100644 --- a/weed/filer2/leveldb/leveldb_store_test.go +++ b/weed/filer2/leveldb/leveldb_store_test.go @@ -2,7 +2,7 @@ package leveldb import ( "context" - "github.com/joeslay/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/filer2" "io/ioutil" "os" "testing" diff --git a/weed/filer2/leveldb2/leveldb2_store.go b/weed/filer2/leveldb2/leveldb2_store.go index e70a9e223..4b47d2eb3 100644 --- a/weed/filer2/leveldb2/leveldb2_store.go +++ b/weed/filer2/leveldb2/leveldb2_store.go @@ -8,9 +8,9 @@ import ( "io" "os" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/glog" - weed_util "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/glog" + weed_util "github.com/chrislusf/seaweedfs/weed/util" "github.com/syndtr/goleveldb/leveldb" "github.com/syndtr/goleveldb/leveldb/opt" leveldb_util "github.com/syndtr/goleveldb/leveldb/util" diff --git a/weed/filer2/leveldb2/leveldb2_store_test.go b/weed/filer2/leveldb2/leveldb2_store_test.go index 39886c7ce..e28ef7dac 100644 --- a/weed/filer2/leveldb2/leveldb2_store_test.go +++ b/weed/filer2/leveldb2/leveldb2_store_test.go @@ -2,7 +2,7 @@ package leveldb import ( "context" - "github.com/joeslay/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/filer2" "io/ioutil" "os" "testing" diff --git a/weed/filer2/memdb/memdb_store.go b/weed/filer2/memdb/memdb_store.go index 673599a6b..9c10a5472 100644 --- a/weed/filer2/memdb/memdb_store.go +++ b/weed/filer2/memdb/memdb_store.go @@ -3,8 +3,8 @@ package memdb import ( "context" "fmt" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/google/btree" "strings" "sync" diff --git a/weed/filer2/memdb/memdb_store_test.go b/weed/filer2/memdb/memdb_store_test.go index dfaa8555b..3fd806aeb 100644 --- a/weed/filer2/memdb/memdb_store_test.go +++ b/weed/filer2/memdb/memdb_store_test.go @@ -2,7 +2,7 @@ package memdb import ( "context" - "github.com/joeslay/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/filer2" "testing" ) diff --git a/weed/filer2/mysql/mysql_store.go b/weed/filer2/mysql/mysql_store.go index 985ea64bf..e18299bd2 100644 --- a/weed/filer2/mysql/mysql_store.go +++ b/weed/filer2/mysql/mysql_store.go @@ -4,9 +4,9 @@ import ( "database/sql" "fmt" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/filer2/abstract_sql" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/filer2/abstract_sql" + "github.com/chrislusf/seaweedfs/weed/util" _ "github.com/go-sql-driver/mysql" ) diff --git a/weed/filer2/postgres/postgres_store.go b/weed/filer2/postgres/postgres_store.go index 63d4f0cb2..ffd3d1e01 100644 --- a/weed/filer2/postgres/postgres_store.go +++ b/weed/filer2/postgres/postgres_store.go @@ -4,9 +4,9 @@ import ( "database/sql" "fmt" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/filer2/abstract_sql" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/filer2/abstract_sql" + "github.com/chrislusf/seaweedfs/weed/util" _ "github.com/lib/pq" ) diff --git a/weed/filer2/redis/redis_cluster_store.go b/weed/filer2/redis/redis_cluster_store.go index a8bbf3a32..11c315391 100644 --- a/weed/filer2/redis/redis_cluster_store.go +++ b/weed/filer2/redis/redis_cluster_store.go @@ -1,8 +1,8 @@ package redis import ( - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/go-redis/redis" ) diff --git a/weed/filer2/redis/redis_store.go b/weed/filer2/redis/redis_store.go index 3614f3226..c56fa014c 100644 --- a/weed/filer2/redis/redis_store.go +++ b/weed/filer2/redis/redis_store.go @@ -1,8 +1,8 @@ package redis import ( - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/go-redis/redis" ) diff --git a/weed/filer2/redis/universal_redis_store.go b/weed/filer2/redis/universal_redis_store.go index bd7a42da1..ce41d4d70 100644 --- a/weed/filer2/redis/universal_redis_store.go +++ b/weed/filer2/redis/universal_redis_store.go @@ -3,8 +3,8 @@ package redis import ( "context" "fmt" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/glog" "github.com/go-redis/redis" "sort" "strings" diff --git a/weed/filer2/stream.go b/weed/filer2/stream.go index fc04c9a0e..01b87cad1 100644 --- a/weed/filer2/stream.go +++ b/weed/filer2/stream.go @@ -3,10 +3,10 @@ package filer2 import ( "io" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/util" - "github.com/joeslay/seaweedfs/weed/wdclient" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/wdclient" ) func StreamContent(masterClient *wdclient.MasterClient, w io.Writer, chunks []*filer_pb.FileChunk, offset int64, size int) error { diff --git a/weed/filesys/dir.go b/weed/filesys/dir.go index 48c75d809..79cf45385 100644 --- a/weed/filesys/dir.go +++ b/weed/filesys/dir.go @@ -6,9 +6,9 @@ import ( "path" "time" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/seaweedfs/fuse" "github.com/seaweedfs/fuse/fs" ) diff --git a/weed/filesys/dir_link.go b/weed/filesys/dir_link.go index ded6138c4..94e443649 100644 --- a/weed/filesys/dir_link.go +++ b/weed/filesys/dir_link.go @@ -6,8 +6,8 @@ import ( "syscall" "time" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/seaweedfs/fuse" "github.com/seaweedfs/fuse/fs" ) diff --git a/weed/filesys/dir_rename.go b/weed/filesys/dir_rename.go index 24bff770b..e72a15758 100644 --- a/weed/filesys/dir_rename.go +++ b/weed/filesys/dir_rename.go @@ -3,7 +3,7 @@ package filesys import ( "context" "fmt" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/seaweedfs/fuse" "github.com/seaweedfs/fuse/fs" ) diff --git a/weed/filesys/dirty_page.go b/weed/filesys/dirty_page.go index f9718c93f..baee412b2 100644 --- a/weed/filesys/dirty_page.go +++ b/weed/filesys/dirty_page.go @@ -8,10 +8,10 @@ import ( "sync/atomic" "time" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/security" ) type ContinuousDirtyPages struct { diff --git a/weed/filesys/file.go b/weed/filesys/file.go index a0dac36dd..1b359ebbe 100644 --- a/weed/filesys/file.go +++ b/weed/filesys/file.go @@ -7,9 +7,9 @@ import ( "sort" "time" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/seaweedfs/fuse" "github.com/seaweedfs/fuse/fs" ) diff --git a/weed/filesys/filehandle.go b/weed/filesys/filehandle.go index 59e1705ae..1f4754dd1 100644 --- a/weed/filesys/filehandle.go +++ b/weed/filesys/filehandle.go @@ -7,9 +7,9 @@ import ( "path" "time" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/gabriel-vasile/mimetype" "github.com/seaweedfs/fuse" "github.com/seaweedfs/fuse/fs" diff --git a/weed/filesys/wfs.go b/weed/filesys/wfs.go index 215201040..1bd9b5cc9 100644 --- a/weed/filesys/wfs.go +++ b/weed/filesys/wfs.go @@ -8,9 +8,9 @@ import ( "sync" "time" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/karlseguin/ccache" "github.com/seaweedfs/fuse" "github.com/seaweedfs/fuse/fs" diff --git a/weed/filesys/wfs_deletion.go b/weed/filesys/wfs_deletion.go index b1bd53e7b..6e586b7df 100644 --- a/weed/filesys/wfs_deletion.go +++ b/weed/filesys/wfs_deletion.go @@ -3,10 +3,10 @@ package filesys import ( "context" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "google.golang.org/grpc" ) diff --git a/weed/images/resizing.go b/weed/images/resizing.go index 81d9e20c8..ff0eff5e1 100644 --- a/weed/images/resizing.go +++ b/weed/images/resizing.go @@ -7,7 +7,7 @@ import ( "image/jpeg" "image/png" - "github.com/joeslay/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/glog" "github.com/disintegration/imaging" "io" ) diff --git a/weed/notification/aws_sqs/aws_sqs_pub.go b/weed/notification/aws_sqs/aws_sqs_pub.go index 1ddd51af5..c1af7f27a 100644 --- a/weed/notification/aws_sqs/aws_sqs_pub.go +++ b/weed/notification/aws_sqs/aws_sqs_pub.go @@ -8,9 +8,9 @@ import ( "github.com/aws/aws-sdk-go/aws/credentials" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/sqs" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/notification" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/notification" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/golang/protobuf/proto" ) diff --git a/weed/notification/configuration.go b/weed/notification/configuration.go index a8f992660..7f8765cc3 100644 --- a/weed/notification/configuration.go +++ b/weed/notification/configuration.go @@ -1,8 +1,8 @@ package notification import ( - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/golang/protobuf/proto" "github.com/spf13/viper" ) diff --git a/weed/notification/gocdk_pub_sub/gocdk_pub_sub.go b/weed/notification/gocdk_pub_sub/gocdk_pub_sub.go index 5a8fac51f..ebf44ea6f 100644 --- a/weed/notification/gocdk_pub_sub/gocdk_pub_sub.go +++ b/weed/notification/gocdk_pub_sub/gocdk_pub_sub.go @@ -18,9 +18,9 @@ import ( "context" "fmt" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/notification" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/notification" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/golang/protobuf/proto" "gocloud.dev/pubsub" _ "gocloud.dev/pubsub/awssnssqs" diff --git a/weed/notification/google_pub_sub/google_pub_sub.go b/weed/notification/google_pub_sub/google_pub_sub.go index fe4399120..7b26bfe38 100644 --- a/weed/notification/google_pub_sub/google_pub_sub.go +++ b/weed/notification/google_pub_sub/google_pub_sub.go @@ -6,9 +6,9 @@ import ( "os" "cloud.google.com/go/pubsub" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/notification" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/notification" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/golang/protobuf/proto" "google.golang.org/api/option" ) diff --git a/weed/notification/kafka/kafka_queue.go b/weed/notification/kafka/kafka_queue.go index eba5260c9..830709a51 100644 --- a/weed/notification/kafka/kafka_queue.go +++ b/weed/notification/kafka/kafka_queue.go @@ -2,9 +2,9 @@ package kafka import ( "github.com/Shopify/sarama" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/notification" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/notification" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/golang/protobuf/proto" ) diff --git a/weed/notification/log/log_queue.go b/weed/notification/log/log_queue.go index ca15fa4af..dcc038dfc 100644 --- a/weed/notification/log/log_queue.go +++ b/weed/notification/log/log_queue.go @@ -1,9 +1,9 @@ package kafka import ( - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/notification" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/notification" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/golang/protobuf/proto" ) diff --git a/weed/operation/assign_file_id.go b/weed/operation/assign_file_id.go index dbc2b3986..4c50eaa26 100644 --- a/weed/operation/assign_file_id.go +++ b/weed/operation/assign_file_id.go @@ -3,9 +3,9 @@ package operation import ( "context" "fmt" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" - "github.com/joeslay/seaweedfs/weed/security" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/util" "google.golang.org/grpc" "strings" ) diff --git a/weed/operation/chunked_file.go b/weed/operation/chunked_file.go index 6c0442693..295204dd8 100644 --- a/weed/operation/chunked_file.go +++ b/weed/operation/chunked_file.go @@ -13,8 +13,8 @@ import ( "sync" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/util" ) var ( diff --git a/weed/operation/delete_content.go b/weed/operation/delete_content.go index fbacdac4d..6d84be76f 100644 --- a/weed/operation/delete_content.go +++ b/weed/operation/delete_content.go @@ -4,8 +4,8 @@ import ( "context" "errors" "fmt" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" "google.golang.org/grpc" "net/http" "strings" diff --git a/weed/operation/grpc_client.go b/weed/operation/grpc_client.go index 1eb493115..f6b2b69e9 100644 --- a/weed/operation/grpc_client.go +++ b/weed/operation/grpc_client.go @@ -3,10 +3,10 @@ package operation import ( "context" "fmt" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/util" "google.golang.org/grpc" "strconv" "strings" diff --git a/weed/operation/lookup.go b/weed/operation/lookup.go index 7a876d543..d0773e7fd 100644 --- a/weed/operation/lookup.go +++ b/weed/operation/lookup.go @@ -11,8 +11,8 @@ import ( "strings" "time" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/util" ) type Location struct { diff --git a/weed/operation/lookup_vid_cache.go b/weed/operation/lookup_vid_cache.go index 181d2d1bf..ccc1f2beb 100644 --- a/weed/operation/lookup_vid_cache.go +++ b/weed/operation/lookup_vid_cache.go @@ -6,7 +6,7 @@ import ( "sync" "time" - "github.com/joeslay/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/glog" ) var ErrorNotFound = errors.New("not found") diff --git a/weed/operation/stats.go b/weed/operation/stats.go index 432c95376..b69a33750 100644 --- a/weed/operation/stats.go +++ b/weed/operation/stats.go @@ -4,7 +4,7 @@ import ( "context" "google.golang.org/grpc" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" ) func Statistics(server string, grpcDialOption grpc.DialOption, req *master_pb.StatisticsRequest) (resp *master_pb.StatisticsResponse, err error) { diff --git a/weed/operation/submit.go b/weed/operation/submit.go index 12be0262d..bdf59d966 100644 --- a/weed/operation/submit.go +++ b/weed/operation/submit.go @@ -11,8 +11,8 @@ import ( "strconv" "strings" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/security" ) type FilePart struct { diff --git a/weed/operation/sync_volume.go b/weed/operation/sync_volume.go index 79436440c..5562f12ab 100644 --- a/weed/operation/sync_volume.go +++ b/weed/operation/sync_volume.go @@ -2,7 +2,7 @@ package operation import ( "context" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" "google.golang.org/grpc" ) diff --git a/weed/operation/tail_volume.go b/weed/operation/tail_volume.go index 5298233bc..b53f18ce1 100644 --- a/weed/operation/tail_volume.go +++ b/weed/operation/tail_volume.go @@ -5,8 +5,8 @@ import ( "fmt" "io" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/storage/needle" "google.golang.org/grpc" ) diff --git a/weed/operation/upload_content.go b/weed/operation/upload_content.go index 68d6d7a75..c387d0230 100644 --- a/weed/operation/upload_content.go +++ b/weed/operation/upload_content.go @@ -16,9 +16,9 @@ import ( "path/filepath" "strings" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/security" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/util" ) type UploadResult struct { diff --git a/weed/pb/filer_pb/filer_pb_helper.go b/weed/pb/filer_pb/filer_pb_helper.go index 86e9f719e..5c40332e6 100644 --- a/weed/pb/filer_pb/filer_pb_helper.go +++ b/weed/pb/filer_pb/filer_pb_helper.go @@ -1,7 +1,7 @@ package filer_pb import ( - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) func toFileIdObject(fileIdStr string) (*FileId, error) { diff --git a/weed/replication/replicator.go b/weed/replication/replicator.go index 1b868defc..7353cdc91 100644 --- a/weed/replication/replicator.go +++ b/weed/replication/replicator.go @@ -6,11 +6,11 @@ import ( "path/filepath" "strings" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/replication/sink" - "github.com/joeslay/seaweedfs/weed/replication/source" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/replication/sink" + "github.com/chrislusf/seaweedfs/weed/replication/source" + "github.com/chrislusf/seaweedfs/weed/util" ) type Replicator struct { diff --git a/weed/replication/sink/azuresink/azure_sink.go b/weed/replication/sink/azuresink/azure_sink.go index c64d3c4f1..6381908a1 100644 --- a/weed/replication/sink/azuresink/azure_sink.go +++ b/weed/replication/sink/azuresink/azure_sink.go @@ -8,12 +8,12 @@ import ( "strings" "github.com/Azure/azure-storage-blob-go/azblob" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/replication/sink" - "github.com/joeslay/seaweedfs/weed/replication/source" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/replication/sink" + "github.com/chrislusf/seaweedfs/weed/replication/source" + "github.com/chrislusf/seaweedfs/weed/util" ) type AzureSink struct { diff --git a/weed/replication/sink/b2sink/b2_sink.go b/weed/replication/sink/b2sink/b2_sink.go index 14cc0b12f..35c2230fa 100644 --- a/weed/replication/sink/b2sink/b2_sink.go +++ b/weed/replication/sink/b2sink/b2_sink.go @@ -4,11 +4,11 @@ import ( "context" "strings" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/replication/sink" - "github.com/joeslay/seaweedfs/weed/replication/source" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/replication/sink" + "github.com/chrislusf/seaweedfs/weed/replication/source" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/kurin/blazer/b2" ) diff --git a/weed/replication/sink/filersink/fetch_write.go b/weed/replication/sink/filersink/fetch_write.go index c167707c0..97e9671a3 100644 --- a/weed/replication/sink/filersink/fetch_write.go +++ b/weed/replication/sink/filersink/fetch_write.go @@ -7,11 +7,11 @@ import ( "strings" "sync" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/security" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/util" ) func (fs *FilerSink) replicateChunks(ctx context.Context, sourceChunks []*filer_pb.FileChunk) (replicatedChunks []*filer_pb.FileChunk, err error) { diff --git a/weed/replication/sink/filersink/filer_sink.go b/weed/replication/sink/filersink/filer_sink.go index ce88ba63a..f99c7fdf6 100644 --- a/weed/replication/sink/filersink/filer_sink.go +++ b/weed/replication/sink/filersink/filer_sink.go @@ -3,16 +3,16 @@ package filersink import ( "context" "fmt" - "github.com/joeslay/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/security" "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/replication/sink" - "github.com/joeslay/seaweedfs/weed/replication/source" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/replication/sink" + "github.com/chrislusf/seaweedfs/weed/replication/source" + "github.com/chrislusf/seaweedfs/weed/util" ) type FilerSink struct { diff --git a/weed/replication/sink/gcssink/gcs_sink.go b/weed/replication/sink/gcssink/gcs_sink.go index 48bdea3a9..abd7c49b9 100644 --- a/weed/replication/sink/gcssink/gcs_sink.go +++ b/weed/replication/sink/gcssink/gcs_sink.go @@ -6,12 +6,12 @@ import ( "os" "cloud.google.com/go/storage" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/replication/sink" - "github.com/joeslay/seaweedfs/weed/replication/source" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/replication/sink" + "github.com/chrislusf/seaweedfs/weed/replication/source" + "github.com/chrislusf/seaweedfs/weed/util" "google.golang.org/api/option" ) diff --git a/weed/replication/sink/replication_sink.go b/weed/replication/sink/replication_sink.go index fcf604c79..dd54f0005 100644 --- a/weed/replication/sink/replication_sink.go +++ b/weed/replication/sink/replication_sink.go @@ -2,9 +2,9 @@ package sink import ( "context" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/replication/source" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/replication/source" + "github.com/chrislusf/seaweedfs/weed/util" ) type ReplicationSink interface { diff --git a/weed/replication/sink/s3sink/s3_sink.go b/weed/replication/sink/s3sink/s3_sink.go index 80a898239..d5cad3541 100644 --- a/weed/replication/sink/s3sink/s3_sink.go +++ b/weed/replication/sink/s3sink/s3_sink.go @@ -11,12 +11,12 @@ import ( "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/s3" "github.com/aws/aws-sdk-go/service/s3/s3iface" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/replication/sink" - "github.com/joeslay/seaweedfs/weed/replication/source" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/replication/sink" + "github.com/chrislusf/seaweedfs/weed/replication/source" + "github.com/chrislusf/seaweedfs/weed/util" ) type S3Sink struct { diff --git a/weed/replication/sink/s3sink/s3_write.go b/weed/replication/sink/s3sink/s3_write.go index 80a54d1e8..0a190b27d 100644 --- a/weed/replication/sink/s3sink/s3_write.go +++ b/weed/replication/sink/s3sink/s3_write.go @@ -9,10 +9,10 @@ import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/awserr" "github.com/aws/aws-sdk-go/service/s3" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/util" ) func (s3sink *S3Sink) deleteObject(key string) error { diff --git a/weed/replication/source/filer_source.go b/weed/replication/source/filer_source.go index 27729acaf..d7b5ebc4d 100644 --- a/weed/replication/source/filer_source.go +++ b/weed/replication/source/filer_source.go @@ -3,16 +3,16 @@ package source import ( "context" "fmt" - "github.com/joeslay/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/security" "github.com/spf13/viper" "google.golang.org/grpc" "io" "net/http" "strings" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/util" ) type ReplicationSource interface { diff --git a/weed/replication/sub/notification_aws_sqs.go b/weed/replication/sub/notification_aws_sqs.go index 5f5d79de9..f0100f4de 100644 --- a/weed/replication/sub/notification_aws_sqs.go +++ b/weed/replication/sub/notification_aws_sqs.go @@ -8,9 +8,9 @@ import ( "github.com/aws/aws-sdk-go/aws/credentials" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/sqs" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/golang/protobuf/proto" ) diff --git a/weed/replication/sub/notification_gocdk_pub_sub.go b/weed/replication/sub/notification_gocdk_pub_sub.go index 96516ea71..eddba9ff8 100644 --- a/weed/replication/sub/notification_gocdk_pub_sub.go +++ b/weed/replication/sub/notification_gocdk_pub_sub.go @@ -3,9 +3,9 @@ package sub import ( "context" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/golang/protobuf/proto" "gocloud.dev/pubsub" _ "gocloud.dev/pubsub/awssnssqs" diff --git a/weed/replication/sub/notification_google_pub_sub.go b/weed/replication/sub/notification_google_pub_sub.go index a3d9f43f0..ad6b42a2e 100644 --- a/weed/replication/sub/notification_google_pub_sub.go +++ b/weed/replication/sub/notification_google_pub_sub.go @@ -6,9 +6,9 @@ import ( "os" "cloud.google.com/go/pubsub" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/golang/protobuf/proto" "google.golang.org/api/option" ) diff --git a/weed/replication/sub/notification_kafka.go b/weed/replication/sub/notification_kafka.go index dbf1fd130..1a86a8307 100644 --- a/weed/replication/sub/notification_kafka.go +++ b/weed/replication/sub/notification_kafka.go @@ -8,9 +8,9 @@ import ( "time" "github.com/Shopify/sarama" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/golang/protobuf/proto" ) diff --git a/weed/replication/sub/notifications.go b/weed/replication/sub/notifications.go index 106812b37..66fbef824 100644 --- a/weed/replication/sub/notifications.go +++ b/weed/replication/sub/notifications.go @@ -1,8 +1,8 @@ package sub import ( - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/util" ) type NotificationInput interface { diff --git a/weed/s3api/filer_multipart.go b/weed/s3api/filer_multipart.go index af665e9c5..c8fe05645 100644 --- a/weed/s3api/filer_multipart.go +++ b/weed/s3api/filer_multipart.go @@ -11,9 +11,9 @@ import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/service/s3" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/satori/go.uuid" ) diff --git a/weed/s3api/filer_util.go b/weed/s3api/filer_util.go index 3178d37cc..1c3814fce 100644 --- a/weed/s3api/filer_util.go +++ b/weed/s3api/filer_util.go @@ -7,8 +7,8 @@ import ( "strings" "time" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" ) func (s3a *S3ApiServer) mkdir(ctx context.Context, parentDirectoryPath string, dirName string, fn func(entry *filer_pb.Entry)) error { diff --git a/weed/s3api/s3api_bucket_handlers.go b/weed/s3api/s3api_bucket_handlers.go index 6951a41dc..492d94616 100644 --- a/weed/s3api/s3api_bucket_handlers.go +++ b/weed/s3api/s3api_bucket_handlers.go @@ -11,8 +11,8 @@ import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/service/s3" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/gorilla/mux" ) diff --git a/weed/s3api/s3api_handlers.go b/weed/s3api/s3api_handlers.go index 470022711..127be07e3 100644 --- a/weed/s3api/s3api_handlers.go +++ b/weed/s3api/s3api_handlers.go @@ -6,9 +6,9 @@ import ( "encoding/base64" "encoding/xml" "fmt" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/util" "google.golang.org/grpc" "net/http" "net/url" diff --git a/weed/s3api/s3api_object_handlers.go b/weed/s3api/s3api_object_handlers.go index bd780da31..44e93d297 100644 --- a/weed/s3api/s3api_object_handlers.go +++ b/weed/s3api/s3api_object_handlers.go @@ -9,8 +9,8 @@ import ( "net/http" "strings" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/server" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/server" "github.com/gorilla/mux" ) diff --git a/weed/s3api/s3api_objects_list_handlers.go b/weed/s3api/s3api_objects_list_handlers.go index 156968194..4053913fb 100644 --- a/weed/s3api/s3api_objects_list_handlers.go +++ b/weed/s3api/s3api_objects_list_handlers.go @@ -10,9 +10,9 @@ import ( "strings" "time" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/gorilla/mux" ) diff --git a/weed/s3api/s3api_server.go b/weed/s3api/s3api_server.go index 69d3ae2c2..24458592d 100644 --- a/weed/s3api/s3api_server.go +++ b/weed/s3api/s3api_server.go @@ -1,12 +1,12 @@ package s3api import ( - _ "github.com/joeslay/seaweedfs/weed/filer2/cassandra" - _ "github.com/joeslay/seaweedfs/weed/filer2/leveldb" - _ "github.com/joeslay/seaweedfs/weed/filer2/memdb" - _ "github.com/joeslay/seaweedfs/weed/filer2/mysql" - _ "github.com/joeslay/seaweedfs/weed/filer2/postgres" - _ "github.com/joeslay/seaweedfs/weed/filer2/redis" + _ "github.com/chrislusf/seaweedfs/weed/filer2/cassandra" + _ "github.com/chrislusf/seaweedfs/weed/filer2/leveldb" + _ "github.com/chrislusf/seaweedfs/weed/filer2/memdb" + _ "github.com/chrislusf/seaweedfs/weed/filer2/mysql" + _ "github.com/chrislusf/seaweedfs/weed/filer2/postgres" + _ "github.com/chrislusf/seaweedfs/weed/filer2/redis" "github.com/gorilla/mux" "google.golang.org/grpc" "net/http" diff --git a/weed/security/guard.go b/weed/security/guard.go index c53b5648e..17fe2ea9e 100644 --- a/weed/security/guard.go +++ b/weed/security/guard.go @@ -7,7 +7,7 @@ import ( "net/http" "strings" - "github.com/joeslay/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/glog" ) var ( diff --git a/weed/security/jwt.go b/weed/security/jwt.go index b8933a08c..0bd7fa974 100644 --- a/weed/security/jwt.go +++ b/weed/security/jwt.go @@ -6,7 +6,7 @@ import ( "strings" "time" - "github.com/joeslay/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/glog" jwt "github.com/dgrijalva/jwt-go" ) diff --git a/weed/security/tls.go b/weed/security/tls.go index 4c26d1b85..e81ba4831 100644 --- a/weed/security/tls.go +++ b/weed/security/tls.go @@ -6,7 +6,7 @@ import ( "github.com/spf13/viper" "io/ioutil" - "github.com/joeslay/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/glog" "google.golang.org/grpc" "google.golang.org/grpc/credentials" ) diff --git a/weed/server/common.go b/weed/server/common.go index d0da54bac..d50c283f2 100644 --- a/weed/server/common.go +++ b/weed/server/common.go @@ -11,15 +11,15 @@ import ( "strings" "time" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/storage/needle" "google.golang.org/grpc" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/stats" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/stats" + "github.com/chrislusf/seaweedfs/weed/util" - _ "github.com/joeslay/seaweedfs/weed/statik" + _ "github.com/chrislusf/seaweedfs/weed/statik" "github.com/gorilla/mux" statik "github.com/rakyll/statik/fs" ) diff --git a/weed/server/filer_grpc_server.go b/weed/server/filer_grpc_server.go index 84f6855aa..9c35e8846 100644 --- a/weed/server/filer_grpc_server.go +++ b/weed/server/filer_grpc_server.go @@ -9,11 +9,11 @@ import ( "strings" "time" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" ) func (fs *FilerServer) LookupDirectoryEntry(ctx context.Context, req *filer_pb.LookupDirectoryEntryRequest) (*filer_pb.LookupDirectoryEntryResponse, error) { diff --git a/weed/server/filer_grpc_server_rename.go b/weed/server/filer_grpc_server_rename.go index 6bf1baf28..dfa59e7fe 100644 --- a/weed/server/filer_grpc_server_rename.go +++ b/weed/server/filer_grpc_server_rename.go @@ -3,9 +3,9 @@ package weed_server import ( "context" "fmt" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "path/filepath" ) diff --git a/weed/server/filer_server.go b/weed/server/filer_server.go index 2cce03cee..f2dec9346 100644 --- a/weed/server/filer_server.go +++ b/weed/server/filer_server.go @@ -7,29 +7,29 @@ import ( "os" "time" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" - "github.com/joeslay/seaweedfs/weed/stats" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/stats" + "github.com/chrislusf/seaweedfs/weed/util" "google.golang.org/grpc" - "github.com/joeslay/seaweedfs/weed/filer2" - _ "github.com/joeslay/seaweedfs/weed/filer2/cassandra" - _ "github.com/joeslay/seaweedfs/weed/filer2/etcd" - _ "github.com/joeslay/seaweedfs/weed/filer2/leveldb" - _ "github.com/joeslay/seaweedfs/weed/filer2/leveldb2" - _ "github.com/joeslay/seaweedfs/weed/filer2/memdb" - _ "github.com/joeslay/seaweedfs/weed/filer2/mysql" - _ "github.com/joeslay/seaweedfs/weed/filer2/postgres" - _ "github.com/joeslay/seaweedfs/weed/filer2/redis" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/notification" - _ "github.com/joeslay/seaweedfs/weed/notification/aws_sqs" - _ "github.com/joeslay/seaweedfs/weed/notification/gocdk_pub_sub" - _ "github.com/joeslay/seaweedfs/weed/notification/google_pub_sub" - _ "github.com/joeslay/seaweedfs/weed/notification/kafka" - _ "github.com/joeslay/seaweedfs/weed/notification/log" - "github.com/joeslay/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/filer2" + _ "github.com/chrislusf/seaweedfs/weed/filer2/cassandra" + _ "github.com/chrislusf/seaweedfs/weed/filer2/etcd" + _ "github.com/chrislusf/seaweedfs/weed/filer2/leveldb" + _ "github.com/chrislusf/seaweedfs/weed/filer2/leveldb2" + _ "github.com/chrislusf/seaweedfs/weed/filer2/memdb" + _ "github.com/chrislusf/seaweedfs/weed/filer2/mysql" + _ "github.com/chrislusf/seaweedfs/weed/filer2/postgres" + _ "github.com/chrislusf/seaweedfs/weed/filer2/redis" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/notification" + _ "github.com/chrislusf/seaweedfs/weed/notification/aws_sqs" + _ "github.com/chrislusf/seaweedfs/weed/notification/gocdk_pub_sub" + _ "github.com/chrislusf/seaweedfs/weed/notification/google_pub_sub" + _ "github.com/chrislusf/seaweedfs/weed/notification/kafka" + _ "github.com/chrislusf/seaweedfs/weed/notification/log" + "github.com/chrislusf/seaweedfs/weed/security" "github.com/spf13/viper" ) diff --git a/weed/server/filer_server_handlers.go b/weed/server/filer_server_handlers.go index 1b3547109..b6bfc3b04 100644 --- a/weed/server/filer_server_handlers.go +++ b/weed/server/filer_server_handlers.go @@ -4,7 +4,7 @@ import ( "net/http" "time" - "github.com/joeslay/seaweedfs/weed/stats" + "github.com/chrislusf/seaweedfs/weed/stats" ) func (fs *FilerServer) filerHandler(w http.ResponseWriter, r *http.Request) { diff --git a/weed/server/filer_server_handlers_read.go b/weed/server/filer_server_handlers_read.go index 6e221575f..0edf501a8 100644 --- a/weed/server/filer_server_handlers_read.go +++ b/weed/server/filer_server_handlers_read.go @@ -12,10 +12,10 @@ import ( "strconv" "strings" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/stats" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/stats" + "github.com/chrislusf/seaweedfs/weed/util" ) func (fs *FilerServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request, isGetMethod bool) { diff --git a/weed/server/filer_server_handlers_read_dir.go b/weed/server/filer_server_handlers_read_dir.go index a1a934a57..87e864559 100644 --- a/weed/server/filer_server_handlers_read_dir.go +++ b/weed/server/filer_server_handlers_read_dir.go @@ -6,10 +6,10 @@ import ( "strconv" "strings" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/glog" - ui "github.com/joeslay/seaweedfs/weed/server/filer_ui" - "github.com/joeslay/seaweedfs/weed/stats" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/glog" + ui "github.com/chrislusf/seaweedfs/weed/server/filer_ui" + "github.com/chrislusf/seaweedfs/weed/stats" ) // listDirectoryHandler lists directories and folers under a directory diff --git a/weed/server/filer_server_handlers_write.go b/weed/server/filer_server_handlers_write.go index d1032382b..b419c51af 100644 --- a/weed/server/filer_server_handlers_write.go +++ b/weed/server/filer_server_handlers_write.go @@ -16,13 +16,13 @@ import ( "strings" "time" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/security" - "github.com/joeslay/seaweedfs/weed/stats" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/stats" + "github.com/chrislusf/seaweedfs/weed/util" ) var ( diff --git a/weed/server/filer_server_handlers_write_autochunk.go b/weed/server/filer_server_handlers_write_autochunk.go index d89716f0e..492b55943 100644 --- a/weed/server/filer_server_handlers_write_autochunk.go +++ b/weed/server/filer_server_handlers_write_autochunk.go @@ -11,13 +11,13 @@ import ( "strings" "time" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/security" - "github.com/joeslay/seaweedfs/weed/stats" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/stats" + "github.com/chrislusf/seaweedfs/weed/util" ) func (fs *FilerServer) autoChunk(ctx context.Context, w http.ResponseWriter, r *http.Request, diff --git a/weed/server/master_grpc_server.go b/weed/server/master_grpc_server.go index 899d6d5f3..6fa509e77 100644 --- a/weed/server/master_grpc_server.go +++ b/weed/server/master_grpc_server.go @@ -7,10 +7,10 @@ import ( "time" "github.com/chrislusf/raft" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" - "github.com/joeslay/seaweedfs/weed/storage/needle" - "github.com/joeslay/seaweedfs/weed/topology" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/topology" "google.golang.org/grpc/peer" ) diff --git a/weed/server/master_grpc_server_collection.go b/weed/server/master_grpc_server_collection.go index 278acfe59..a50cfa192 100644 --- a/weed/server/master_grpc_server_collection.go +++ b/weed/server/master_grpc_server_collection.go @@ -4,9 +4,9 @@ import ( "context" "github.com/chrislusf/raft" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" ) func (ms *MasterServer) CollectionList(ctx context.Context, req *master_pb.CollectionListRequest) (*master_pb.CollectionListResponse, error) { diff --git a/weed/server/master_grpc_server_volume.go b/weed/server/master_grpc_server_volume.go index b94895798..16ce5356a 100644 --- a/weed/server/master_grpc_server_volume.go +++ b/weed/server/master_grpc_server_volume.go @@ -5,11 +5,11 @@ import ( "fmt" "github.com/chrislusf/raft" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" - "github.com/joeslay/seaweedfs/weed/security" - "github.com/joeslay/seaweedfs/weed/storage" - "github.com/joeslay/seaweedfs/weed/storage/needle" - "github.com/joeslay/seaweedfs/weed/topology" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/storage" + "github.com/chrislusf/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/topology" ) func (ms *MasterServer) LookupVolume(ctx context.Context, req *master_pb.LookupVolumeRequest) (*master_pb.LookupVolumeResponse, error) { diff --git a/weed/server/master_server.go b/weed/server/master_server.go index c928a5357..e9eb32cca 100644 --- a/weed/server/master_server.go +++ b/weed/server/master_server.go @@ -3,8 +3,8 @@ package weed_server import ( "context" "fmt" - "github.com/joeslay/seaweedfs/weed/shell" - "github.com/joeslay/seaweedfs/weed/wdclient" + "github.com/chrislusf/seaweedfs/weed/shell" + "github.com/chrislusf/seaweedfs/weed/wdclient" "google.golang.org/grpc" "net/http" "net/http/httputil" @@ -17,12 +17,12 @@ import ( "time" "github.com/chrislusf/raft" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" - "github.com/joeslay/seaweedfs/weed/security" - "github.com/joeslay/seaweedfs/weed/sequence" - "github.com/joeslay/seaweedfs/weed/topology" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/sequence" + "github.com/chrislusf/seaweedfs/weed/topology" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/gorilla/mux" "github.com/spf13/viper" ) diff --git a/weed/server/master_server_handlers.go b/weed/server/master_server_handlers.go index fd60e9615..93f983375 100644 --- a/weed/server/master_server_handlers.go +++ b/weed/server/master_server_handlers.go @@ -6,10 +6,10 @@ import ( "strconv" "strings" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/security" - "github.com/joeslay/seaweedfs/weed/stats" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/stats" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) func (ms *MasterServer) lookupVolumeId(vids []string, collection string) (volumeLocations map[string]operation.LookupResult) { diff --git a/weed/server/master_server_handlers_admin.go b/weed/server/master_server_handlers_admin.go index 553bfd181..2acde740e 100644 --- a/weed/server/master_server_handlers_admin.go +++ b/weed/server/master_server_handlers_admin.go @@ -8,13 +8,13 @@ import ( "net/http" "strconv" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" - "github.com/joeslay/seaweedfs/weed/storage" - "github.com/joeslay/seaweedfs/weed/storage/needle" - "github.com/joeslay/seaweedfs/weed/topology" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/storage" + "github.com/chrislusf/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/topology" + "github.com/chrislusf/seaweedfs/weed/util" ) func (ms *MasterServer) collectionDeleteHandler(w http.ResponseWriter, r *http.Request) { diff --git a/weed/server/master_server_handlers_ui.go b/weed/server/master_server_handlers_ui.go index 0c40f6e14..f241df87f 100644 --- a/weed/server/master_server_handlers_ui.go +++ b/weed/server/master_server_handlers_ui.go @@ -4,9 +4,9 @@ import ( "net/http" "github.com/chrislusf/raft" - ui "github.com/joeslay/seaweedfs/weed/server/master_ui" - "github.com/joeslay/seaweedfs/weed/stats" - "github.com/joeslay/seaweedfs/weed/util" + ui "github.com/chrislusf/seaweedfs/weed/server/master_ui" + "github.com/chrislusf/seaweedfs/weed/stats" + "github.com/chrislusf/seaweedfs/weed/util" ) func (ms *MasterServer) uiStatusHandler(w http.ResponseWriter, r *http.Request) { diff --git a/weed/server/raft_server.go b/weed/server/raft_server.go index 0f10fcc55..88320ed98 100644 --- a/weed/server/raft_server.go +++ b/weed/server/raft_server.go @@ -2,7 +2,7 @@ package weed_server import ( "encoding/json" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/util" "google.golang.org/grpc" "io/ioutil" "os" @@ -12,8 +12,8 @@ import ( "time" "github.com/chrislusf/raft" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/topology" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/topology" ) type RaftServer struct { diff --git a/weed/server/volume_grpc_admin.go b/weed/server/volume_grpc_admin.go index 4118437b6..ad7920161 100644 --- a/weed/server/volume_grpc_admin.go +++ b/weed/server/volume_grpc_admin.go @@ -3,9 +3,9 @@ package weed_server import ( "context" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) func (vs *VolumeServer) DeleteCollection(ctx context.Context, req *volume_server_pb.DeleteCollectionRequest) (*volume_server_pb.DeleteCollectionResponse, error) { diff --git a/weed/server/volume_grpc_batch_delete.go b/weed/server/volume_grpc_batch_delete.go index 35c7dd9d6..fdb7937d2 100644 --- a/weed/server/volume_grpc_batch_delete.go +++ b/weed/server/volume_grpc_batch_delete.go @@ -5,9 +5,9 @@ import ( "net/http" "time" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) func (vs *VolumeServer) BatchDelete(ctx context.Context, req *volume_server_pb.BatchDeleteRequest) (*volume_server_pb.BatchDeleteResponse, error) { diff --git a/weed/server/volume_grpc_client_to_master.go b/weed/server/volume_grpc_client_to_master.go index 1f25502cd..731675b48 100644 --- a/weed/server/volume_grpc_client_to_master.go +++ b/weed/server/volume_grpc_client_to_master.go @@ -5,14 +5,14 @@ import ( "net" "time" - "github.com/joeslay/seaweedfs/weed/security" - "github.com/joeslay/seaweedfs/weed/storage/erasure_coding" + "github.com/chrislusf/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding" "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/util" "golang.org/x/net/context" ) diff --git a/weed/server/volume_grpc_copy.go b/weed/server/volume_grpc_copy.go index c836b05f0..8b39146ee 100644 --- a/weed/server/volume_grpc_copy.go +++ b/weed/server/volume_grpc_copy.go @@ -9,13 +9,13 @@ import ( "path" "time" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" - "github.com/joeslay/seaweedfs/weed/storage" - "github.com/joeslay/seaweedfs/weed/storage/erasure_coding" - "github.com/joeslay/seaweedfs/weed/storage/needle" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/storage" + "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding" + "github.com/chrislusf/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/util" ) const BufferSizeLimit = 1024 * 1024 * 2 diff --git a/weed/server/volume_grpc_copy_incremental.go b/weed/server/volume_grpc_copy_incremental.go index eb3398322..f56fbeef4 100644 --- a/weed/server/volume_grpc_copy_incremental.go +++ b/weed/server/volume_grpc_copy_incremental.go @@ -6,8 +6,8 @@ import ( "io" "os" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) func (vs *VolumeServer) VolumeIncrementalCopy(req *volume_server_pb.VolumeIncrementalCopyRequest, stream volume_server_pb.VolumeServer_VolumeIncrementalCopyServer) error { diff --git a/weed/server/volume_grpc_erasure_coding.go b/weed/server/volume_grpc_erasure_coding.go index 65e59c683..8140a06f6 100644 --- a/weed/server/volume_grpc_erasure_coding.go +++ b/weed/server/volume_grpc_erasure_coding.go @@ -10,14 +10,14 @@ import ( "path" "strings" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" - "github.com/joeslay/seaweedfs/weed/storage" - "github.com/joeslay/seaweedfs/weed/storage/erasure_coding" - "github.com/joeslay/seaweedfs/weed/storage/needle" - "github.com/joeslay/seaweedfs/weed/storage/types" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/storage" + "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding" + "github.com/chrislusf/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/util" ) /* diff --git a/weed/server/volume_grpc_tail.go b/weed/server/volume_grpc_tail.go index 6803d5444..34c55a599 100644 --- a/weed/server/volume_grpc_tail.go +++ b/weed/server/volume_grpc_tail.go @@ -5,11 +5,11 @@ import ( "fmt" "time" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" - "github.com/joeslay/seaweedfs/weed/storage" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/storage" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) func (vs *VolumeServer) VolumeTailSender(req *volume_server_pb.VolumeTailSenderRequest, stream volume_server_pb.VolumeServer_VolumeTailSenderServer) error { diff --git a/weed/server/volume_grpc_vacuum.go b/weed/server/volume_grpc_vacuum.go index 205843496..24f982241 100644 --- a/weed/server/volume_grpc_vacuum.go +++ b/weed/server/volume_grpc_vacuum.go @@ -3,9 +3,9 @@ package weed_server import ( "context" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) func (vs *VolumeServer) VacuumVolumeCheck(ctx context.Context, req *volume_server_pb.VacuumVolumeCheckRequest) (*volume_server_pb.VacuumVolumeCheckResponse, error) { diff --git a/weed/server/volume_server.go b/weed/server/volume_server.go index 144fba8ac..6cf654738 100644 --- a/weed/server/volume_server.go +++ b/weed/server/volume_server.go @@ -4,12 +4,12 @@ import ( "fmt" "net/http" - "github.com/joeslay/seaweedfs/weed/stats" + "github.com/chrislusf/seaweedfs/weed/stats" "google.golang.org/grpc" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/security" - "github.com/joeslay/seaweedfs/weed/storage" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/storage" "github.com/spf13/viper" ) diff --git a/weed/server/volume_server_handlers.go b/weed/server/volume_server_handlers.go index a3eb910eb..14ad27d42 100644 --- a/weed/server/volume_server_handlers.go +++ b/weed/server/volume_server_handlers.go @@ -4,9 +4,9 @@ import ( "net/http" "strings" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/security" - "github.com/joeslay/seaweedfs/weed/stats" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/stats" ) /* diff --git a/weed/server/volume_server_handlers_admin.go b/weed/server/volume_server_handlers_admin.go index 221bb1527..25b6582f7 100644 --- a/weed/server/volume_server_handlers_admin.go +++ b/weed/server/volume_server_handlers_admin.go @@ -4,9 +4,9 @@ import ( "net/http" "path/filepath" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" - "github.com/joeslay/seaweedfs/weed/stats" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/stats" + "github.com/chrislusf/seaweedfs/weed/util" ) func (vs *VolumeServer) statusHandler(w http.ResponseWriter, r *http.Request) { diff --git a/weed/server/volume_server_handlers_read.go b/weed/server/volume_server_handlers_read.go index 89f9bd9d3..f30ffefaf 100644 --- a/weed/server/volume_server_handlers_read.go +++ b/weed/server/volume_server_handlers_read.go @@ -16,12 +16,12 @@ import ( "encoding/json" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/images" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/stats" - "github.com/joeslay/seaweedfs/weed/storage/needle" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/images" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/stats" + "github.com/chrislusf/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/util" ) var fileNameEscaper = strings.NewReplacer("\\", "\\\\", "\"", "\\\"") diff --git a/weed/server/volume_server_handlers_ui.go b/weed/server/volume_server_handlers_ui.go index 7fc70d8af..852f0b751 100644 --- a/weed/server/volume_server_handlers_ui.go +++ b/weed/server/volume_server_handlers_ui.go @@ -5,10 +5,10 @@ import ( "path/filepath" "time" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" - ui "github.com/joeslay/seaweedfs/weed/server/volume_server_ui" - "github.com/joeslay/seaweedfs/weed/stats" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" + ui "github.com/chrislusf/seaweedfs/weed/server/volume_server_ui" + "github.com/chrislusf/seaweedfs/weed/stats" + "github.com/chrislusf/seaweedfs/weed/util" ) func (vs *VolumeServer) uiStatusHandler(w http.ResponseWriter, r *http.Request) { diff --git a/weed/server/volume_server_handlers_write.go b/weed/server/volume_server_handlers_write.go index d0b177c72..db8fcb555 100644 --- a/weed/server/volume_server_handlers_write.go +++ b/weed/server/volume_server_handlers_write.go @@ -9,11 +9,11 @@ import ( "strings" "time" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/stats" - "github.com/joeslay/seaweedfs/weed/storage/needle" - "github.com/joeslay/seaweedfs/weed/topology" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/stats" + "github.com/chrislusf/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/topology" ) func (vs *VolumeServer) PostHandler(w http.ResponseWriter, r *http.Request) { diff --git a/weed/server/webdav_server.go b/weed/server/webdav_server.go index 7eed37485..151b48a78 100644 --- a/weed/server/webdav_server.go +++ b/weed/server/webdav_server.go @@ -10,15 +10,15 @@ import ( "strings" "time" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/util" "golang.org/x/net/webdav" "google.golang.org/grpc" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/security" "github.com/spf13/viper" ) diff --git a/weed/shell/command_collection_delete.go b/weed/shell/command_collection_delete.go index d18161376..fbaddcd51 100644 --- a/weed/shell/command_collection_delete.go +++ b/weed/shell/command_collection_delete.go @@ -3,7 +3,7 @@ package shell import ( "context" "fmt" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" "io" ) diff --git a/weed/shell/command_collection_list.go b/weed/shell/command_collection_list.go index 9607c9999..c4325c66f 100644 --- a/weed/shell/command_collection_list.go +++ b/weed/shell/command_collection_list.go @@ -3,7 +3,7 @@ package shell import ( "context" "fmt" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" "io" ) diff --git a/weed/shell/command_ec_balance.go b/weed/shell/command_ec_balance.go index 0ff2e3963..47ae7bad3 100644 --- a/weed/shell/command_ec_balance.go +++ b/weed/shell/command_ec_balance.go @@ -7,8 +7,8 @@ import ( "io" "sort" - "github.com/joeslay/seaweedfs/weed/storage/erasure_coding" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) func init() { diff --git a/weed/shell/command_ec_common.go b/weed/shell/command_ec_common.go index c75e14feb..d0fe16a68 100644 --- a/weed/shell/command_ec_common.go +++ b/weed/shell/command_ec_common.go @@ -6,12 +6,12 @@ import ( "math" "sort" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" - "github.com/joeslay/seaweedfs/weed/storage/erasure_coding" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding" + "github.com/chrislusf/seaweedfs/weed/storage/needle" "google.golang.org/grpc" ) diff --git a/weed/shell/command_ec_encode.go b/weed/shell/command_ec_encode.go index 0dd3e0ea2..f07cb93f9 100644 --- a/weed/shell/command_ec_encode.go +++ b/weed/shell/command_ec_encode.go @@ -8,12 +8,12 @@ import ( "sync" "time" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" - "github.com/joeslay/seaweedfs/weed/storage/erasure_coding" - "github.com/joeslay/seaweedfs/weed/storage/needle" - "github.com/joeslay/seaweedfs/weed/wdclient" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding" + "github.com/chrislusf/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/wdclient" "google.golang.org/grpc" ) diff --git a/weed/shell/command_ec_rebuild.go b/weed/shell/command_ec_rebuild.go index 56bcd77bb..63b7c4088 100644 --- a/weed/shell/command_ec_rebuild.go +++ b/weed/shell/command_ec_rebuild.go @@ -6,10 +6,10 @@ import ( "fmt" "io" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" - "github.com/joeslay/seaweedfs/weed/storage/erasure_coding" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding" + "github.com/chrislusf/seaweedfs/weed/storage/needle" "google.golang.org/grpc" ) diff --git a/weed/shell/command_ec_test.go b/weed/shell/command_ec_test.go index d1a784821..9e578ed28 100644 --- a/weed/shell/command_ec_test.go +++ b/weed/shell/command_ec_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) func TestCommandEcBalanceSmall(t *testing.T) { diff --git a/weed/shell/command_fs_cat.go b/weed/shell/command_fs_cat.go index fdeda17de..66ced46c5 100644 --- a/weed/shell/command_fs_cat.go +++ b/weed/shell/command_fs_cat.go @@ -6,8 +6,8 @@ import ( "io" "math" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" ) func init() { diff --git a/weed/shell/command_fs_du.go b/weed/shell/command_fs_du.go index 678e05eeb..5e634c82a 100644 --- a/weed/shell/command_fs_du.go +++ b/weed/shell/command_fs_du.go @@ -3,9 +3,9 @@ package shell import ( "context" "fmt" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/util" "google.golang.org/grpc" "io" ) diff --git a/weed/shell/command_fs_ls.go b/weed/shell/command_fs_ls.go index 678f0b7a1..6979635e1 100644 --- a/weed/shell/command_fs_ls.go +++ b/weed/shell/command_fs_ls.go @@ -3,8 +3,8 @@ package shell import ( "context" "fmt" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "io" "os" "os/user" diff --git a/weed/shell/command_fs_meta_load.go b/weed/shell/command_fs_meta_load.go index 2146755fc..5ea8de9f5 100644 --- a/weed/shell/command_fs_meta_load.go +++ b/weed/shell/command_fs_meta_load.go @@ -6,9 +6,9 @@ import ( "io" "os" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/golang/protobuf/proto" ) diff --git a/weed/shell/command_fs_meta_notify.go b/weed/shell/command_fs_meta_notify.go index 5064b0033..13b272fbf 100644 --- a/weed/shell/command_fs_meta_notify.go +++ b/weed/shell/command_fs_meta_notify.go @@ -5,10 +5,10 @@ import ( "fmt" "io" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/notification" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/notification" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/spf13/viper" ) diff --git a/weed/shell/command_fs_meta_save.go b/weed/shell/command_fs_meta_save.go index e0d24e672..e710fe297 100644 --- a/weed/shell/command_fs_meta_save.go +++ b/weed/shell/command_fs_meta_save.go @@ -8,9 +8,9 @@ import ( "os" "time" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/golang/protobuf/proto" ) diff --git a/weed/shell/command_fs_mv.go b/weed/shell/command_fs_mv.go index d1f04a851..67606ab53 100644 --- a/weed/shell/command_fs_mv.go +++ b/weed/shell/command_fs_mv.go @@ -6,8 +6,8 @@ import ( "io" "path/filepath" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" ) func init() { diff --git a/weed/shell/command_fs_tree.go b/weed/shell/command_fs_tree.go index c75c7d11f..8474e43ea 100644 --- a/weed/shell/command_fs_tree.go +++ b/weed/shell/command_fs_tree.go @@ -3,8 +3,8 @@ package shell import ( "context" "fmt" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "io" "strings" ) diff --git a/weed/shell/command_volume_balance.go b/weed/shell/command_volume_balance.go index b24fa43b6..d7ef0d005 100644 --- a/weed/shell/command_volume_balance.go +++ b/weed/shell/command_volume_balance.go @@ -9,8 +9,8 @@ import ( "sort" "time" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) func init() { diff --git a/weed/shell/command_volume_copy.go b/weed/shell/command_volume_copy.go index e44976f88..1c83ba655 100644 --- a/weed/shell/command_volume_copy.go +++ b/weed/shell/command_volume_copy.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) func init() { diff --git a/weed/shell/command_volume_delete.go b/weed/shell/command_volume_delete.go index 604b7d9c1..17d27ea3a 100644 --- a/weed/shell/command_volume_delete.go +++ b/weed/shell/command_volume_delete.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) func init() { diff --git a/weed/shell/command_volume_fix_replication.go b/weed/shell/command_volume_fix_replication.go index ced0b51f6..4c7a794c0 100644 --- a/weed/shell/command_volume_fix_replication.go +++ b/weed/shell/command_volume_fix_replication.go @@ -3,10 +3,10 @@ package shell import ( "context" "fmt" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" - "github.com/joeslay/seaweedfs/weed/storage" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/storage" "io" "math/rand" "sort" diff --git a/weed/shell/command_volume_list.go b/weed/shell/command_volume_list.go index 7a1aa0d87..134580ffe 100644 --- a/weed/shell/command_volume_list.go +++ b/weed/shell/command_volume_list.go @@ -3,8 +3,8 @@ package shell import ( "context" "fmt" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" - "github.com/joeslay/seaweedfs/weed/storage/erasure_coding" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding" "io" "sort" diff --git a/weed/shell/command_volume_mount.go b/weed/shell/command_volume_mount.go index 78d3878bc..50a307492 100644 --- a/weed/shell/command_volume_mount.go +++ b/weed/shell/command_volume_mount.go @@ -5,9 +5,9 @@ import ( "fmt" "io" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/storage/needle" "google.golang.org/grpc" ) diff --git a/weed/shell/command_volume_move.go b/weed/shell/command_volume_move.go index bca3cebbb..08d87c988 100644 --- a/weed/shell/command_volume_move.go +++ b/weed/shell/command_volume_move.go @@ -7,9 +7,9 @@ import ( "log" "time" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/storage/needle" "google.golang.org/grpc" ) diff --git a/weed/shell/command_volume_unmount.go b/weed/shell/command_volume_unmount.go index f6e2efdcc..8096f34d8 100644 --- a/weed/shell/command_volume_unmount.go +++ b/weed/shell/command_volume_unmount.go @@ -5,9 +5,9 @@ import ( "fmt" "io" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/storage/needle" "google.golang.org/grpc" ) diff --git a/weed/shell/commands.go b/weed/shell/commands.go index e361ae586..b642ec253 100644 --- a/weed/shell/commands.go +++ b/weed/shell/commands.go @@ -9,9 +9,9 @@ import ( "strconv" "strings" - "github.com/joeslay/seaweedfs/weed/filer2" - "github.com/joeslay/seaweedfs/weed/pb/filer_pb" - "github.com/joeslay/seaweedfs/weed/wdclient" + "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" + "github.com/chrislusf/seaweedfs/weed/wdclient" "google.golang.org/grpc" ) diff --git a/weed/stats/disk.go b/weed/stats/disk.go index 22e306312..e9d8baedd 100644 --- a/weed/stats/disk.go +++ b/weed/stats/disk.go @@ -1,6 +1,6 @@ package stats -import "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" +import "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" func NewDiskStatus(path string) (disk *volume_server_pb.DiskStatus) { disk = &volume_server_pb.DiskStatus{Dir: path} diff --git a/weed/stats/disk_notsupported.go b/weed/stats/disk_notsupported.go index b2a9ce8c9..ace662f6a 100644 --- a/weed/stats/disk_notsupported.go +++ b/weed/stats/disk_notsupported.go @@ -2,7 +2,7 @@ package stats -import "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" +import "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" func fillInDiskStatus(status *volume_server_pb.DiskStatus) { return diff --git a/weed/stats/disk_supported.go b/weed/stats/disk_supported.go index 549b2275a..0537828b0 100644 --- a/weed/stats/disk_supported.go +++ b/weed/stats/disk_supported.go @@ -5,7 +5,7 @@ package stats import ( "syscall" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" ) func fillInDiskStatus(disk *volume_server_pb.DiskStatus) { diff --git a/weed/stats/memory.go b/weed/stats/memory.go index 04531604e..c671efc4d 100644 --- a/weed/stats/memory.go +++ b/weed/stats/memory.go @@ -3,7 +3,7 @@ package stats import ( "runtime" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" ) func MemStat() *volume_server_pb.MemStatus { diff --git a/weed/stats/memory_notsupported.go b/weed/stats/memory_notsupported.go index 865b43521..2bed95266 100644 --- a/weed/stats/memory_notsupported.go +++ b/weed/stats/memory_notsupported.go @@ -2,7 +2,7 @@ package stats -import "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" +import "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" func fillInMemStatus(status *volume_server_pb.MemStatus) { return diff --git a/weed/stats/memory_supported.go b/weed/stats/memory_supported.go index 71ee28c12..91fdd005b 100644 --- a/weed/stats/memory_supported.go +++ b/weed/stats/memory_supported.go @@ -5,7 +5,7 @@ package stats import ( "syscall" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" ) func fillInMemStatus(mem *volume_server_pb.MemStatus) { diff --git a/weed/stats/metrics.go b/weed/stats/metrics.go index e079614e5..a9624cd86 100644 --- a/weed/stats/metrics.go +++ b/weed/stats/metrics.go @@ -5,7 +5,7 @@ import ( "os" "time" - "github.com/joeslay/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/glog" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/push" ) diff --git a/weed/storage/disk_location.go b/weed/storage/disk_location.go index a8f3ec11e..c7faa57a6 100644 --- a/weed/storage/disk_location.go +++ b/weed/storage/disk_location.go @@ -8,9 +8,9 @@ import ( "fmt" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/storage/erasure_coding" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) type DiskLocation struct { diff --git a/weed/storage/disk_location_ec.go b/weed/storage/disk_location_ec.go index 4e7eeedfa..ba0824c6d 100644 --- a/weed/storage/disk_location_ec.go +++ b/weed/storage/disk_location_ec.go @@ -8,8 +8,8 @@ import ( "sort" "strconv" - "github.com/joeslay/seaweedfs/weed/storage/erasure_coding" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) var ( diff --git a/weed/storage/erasure_coding/ec_encoder.go b/weed/storage/erasure_coding/ec_encoder.go index 7a979ecad..97010a1ed 100644 --- a/weed/storage/erasure_coding/ec_encoder.go +++ b/weed/storage/erasure_coding/ec_encoder.go @@ -5,11 +5,11 @@ import ( "io" "os" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/storage/idx" - "github.com/joeslay/seaweedfs/weed/storage/needle_map" - "github.com/joeslay/seaweedfs/weed/storage/types" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/storage/idx" + "github.com/chrislusf/seaweedfs/weed/storage/needle_map" + "github.com/chrislusf/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/klauspost/reedsolomon" ) diff --git a/weed/storage/erasure_coding/ec_shard.go b/weed/storage/erasure_coding/ec_shard.go index 60c0a5794..47e6d3d1e 100644 --- a/weed/storage/erasure_coding/ec_shard.go +++ b/weed/storage/erasure_coding/ec_shard.go @@ -6,8 +6,8 @@ import ( "path" "strconv" - "github.com/joeslay/seaweedfs/weed/stats" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/stats" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) type ShardId uint8 diff --git a/weed/storage/erasure_coding/ec_test.go b/weed/storage/erasure_coding/ec_test.go index ba0a4306c..57df09525 100644 --- a/weed/storage/erasure_coding/ec_test.go +++ b/weed/storage/erasure_coding/ec_test.go @@ -7,8 +7,8 @@ import ( "os" "testing" - "github.com/joeslay/seaweedfs/weed/storage/needle_map" - "github.com/joeslay/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/storage/needle_map" + "github.com/chrislusf/seaweedfs/weed/storage/types" "github.com/klauspost/reedsolomon" ) diff --git a/weed/storage/erasure_coding/ec_volume.go b/weed/storage/erasure_coding/ec_volume.go index 00cd18e29..bcae164ca 100644 --- a/weed/storage/erasure_coding/ec_volume.go +++ b/weed/storage/erasure_coding/ec_volume.go @@ -9,10 +9,10 @@ import ( "sync" "time" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" - "github.com/joeslay/seaweedfs/weed/storage/idx" - "github.com/joeslay/seaweedfs/weed/storage/needle" - "github.com/joeslay/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/storage/idx" + "github.com/chrislusf/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/storage/types" ) var ( diff --git a/weed/storage/erasure_coding/ec_volume_delete.go b/weed/storage/erasure_coding/ec_volume_delete.go index 71c00a44c..04102ec9e 100644 --- a/weed/storage/erasure_coding/ec_volume_delete.go +++ b/weed/storage/erasure_coding/ec_volume_delete.go @@ -5,8 +5,8 @@ import ( "io" "os" - "github.com/joeslay/seaweedfs/weed/storage/types" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/util" ) var ( diff --git a/weed/storage/erasure_coding/ec_volume_info.go b/weed/storage/erasure_coding/ec_volume_info.go index b09b8ce92..c9e85c662 100644 --- a/weed/storage/erasure_coding/ec_volume_info.go +++ b/weed/storage/erasure_coding/ec_volume_info.go @@ -1,8 +1,8 @@ package erasure_coding import ( - "github.com/joeslay/seaweedfs/weed/pb/master_pb" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) // data structure used in master diff --git a/weed/storage/idx/walk.go b/weed/storage/idx/walk.go index 5677d5622..90efb75e6 100644 --- a/weed/storage/idx/walk.go +++ b/weed/storage/idx/walk.go @@ -4,9 +4,9 @@ import ( "io" "os" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/storage/types" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/util" ) // walks through the index file, calls fn function with each key, offset, size diff --git a/weed/storage/needle/crc.go b/weed/storage/needle/crc.go index 9d3d31963..00ea1db69 100644 --- a/weed/storage/needle/crc.go +++ b/weed/storage/needle/crc.go @@ -4,7 +4,7 @@ import ( "crypto/md5" "fmt" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/klauspost/crc32" ) diff --git a/weed/storage/needle/file_id.go b/weed/storage/needle/file_id.go index 3aaba7fbf..5dabb0f25 100644 --- a/weed/storage/needle/file_id.go +++ b/weed/storage/needle/file_id.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - . "github.com/joeslay/seaweedfs/weed/storage/types" + . "github.com/chrislusf/seaweedfs/weed/storage/types" ) type FileId struct { diff --git a/weed/storage/needle/file_id_test.go b/weed/storage/needle/file_id_test.go index f21bc5c28..a1a2c61fc 100644 --- a/weed/storage/needle/file_id_test.go +++ b/weed/storage/needle/file_id_test.go @@ -1,7 +1,7 @@ package needle import ( - "github.com/joeslay/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/storage/types" "testing" ) diff --git a/weed/storage/needle/needle.go b/weed/storage/needle/needle.go index 7c841d037..2f03ba87b 100644 --- a/weed/storage/needle/needle.go +++ b/weed/storage/needle/needle.go @@ -10,8 +10,8 @@ import ( "io/ioutil" - "github.com/joeslay/seaweedfs/weed/images" - . "github.com/joeslay/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/images" + . "github.com/chrislusf/seaweedfs/weed/storage/types" ) const ( diff --git a/weed/storage/needle/needle_parse_multipart.go b/weed/storage/needle/needle_parse_multipart.go index 993ae7178..8be1a1da4 100644 --- a/weed/storage/needle/needle_parse_multipart.go +++ b/weed/storage/needle/needle_parse_multipart.go @@ -1,8 +1,8 @@ package needle import ( - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/util" "io" "io/ioutil" diff --git a/weed/storage/needle/needle_read_write.go b/weed/storage/needle/needle_read_write.go index c942af206..3fe6a246c 100644 --- a/weed/storage/needle/needle_read_write.go +++ b/weed/storage/needle/needle_read_write.go @@ -8,10 +8,10 @@ import ( "math" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/storage/memory_map" - . "github.com/joeslay/seaweedfs/weed/storage/types" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/storage/memory_map" + . "github.com/chrislusf/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/util" ) const ( diff --git a/weed/storage/needle/needle_read_write_test.go b/weed/storage/needle/needle_read_write_test.go index c63662e5f..4c507f9e6 100644 --- a/weed/storage/needle/needle_read_write_test.go +++ b/weed/storage/needle/needle_read_write_test.go @@ -5,7 +5,7 @@ import ( "os" "testing" - "github.com/joeslay/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/storage/types" ) func TestAppend(t *testing.T) { diff --git a/weed/storage/needle/needle_test.go b/weed/storage/needle/needle_test.go index a1aeddd27..0f2dde98e 100644 --- a/weed/storage/needle/needle_test.go +++ b/weed/storage/needle/needle_test.go @@ -3,7 +3,7 @@ package needle import ( "testing" - "github.com/joeslay/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/storage/types" ) func TestParseKeyHash(t *testing.T) { diff --git a/weed/storage/needle_map.go b/weed/storage/needle_map.go index 9aa8fa561..77d081ea7 100644 --- a/weed/storage/needle_map.go +++ b/weed/storage/needle_map.go @@ -5,8 +5,8 @@ import ( "os" "sync" - "github.com/joeslay/seaweedfs/weed/storage/needle_map" - . "github.com/joeslay/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/storage/needle_map" + . "github.com/chrislusf/seaweedfs/weed/storage/types" ) type NeedleMapType int diff --git a/weed/storage/needle_map/btree_map.go b/weed/storage/needle_map/btree_map.go index 01a7ee5e0..a26c5e068 100644 --- a/weed/storage/needle_map/btree_map.go +++ b/weed/storage/needle_map/btree_map.go @@ -1,7 +1,7 @@ package needle_map import ( - . "github.com/joeslay/seaweedfs/weed/storage/types" + . "github.com/chrislusf/seaweedfs/weed/storage/types" "github.com/google/btree" ) diff --git a/weed/storage/needle_map/compact_map.go b/weed/storage/needle_map/compact_map.go index da613124a..76783d0b0 100644 --- a/weed/storage/needle_map/compact_map.go +++ b/weed/storage/needle_map/compact_map.go @@ -4,7 +4,7 @@ import ( "sort" "sync" - . "github.com/joeslay/seaweedfs/weed/storage/types" + . "github.com/chrislusf/seaweedfs/weed/storage/types" ) const ( diff --git a/weed/storage/needle_map/compact_map_perf_test.go b/weed/storage/needle_map/compact_map_perf_test.go index 8d1fa0fcf..3a3648641 100644 --- a/weed/storage/needle_map/compact_map_perf_test.go +++ b/weed/storage/needle_map/compact_map_perf_test.go @@ -8,8 +8,8 @@ import ( "testing" "time" - . "github.com/joeslay/seaweedfs/weed/storage/types" - "github.com/joeslay/seaweedfs/weed/util" + . "github.com/chrislusf/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/util" ) /* diff --git a/weed/storage/needle_map/compact_map_test.go b/weed/storage/needle_map/compact_map_test.go index 43761008c..3bad85727 100644 --- a/weed/storage/needle_map/compact_map_test.go +++ b/weed/storage/needle_map/compact_map_test.go @@ -2,7 +2,7 @@ package needle_map import ( "fmt" - . "github.com/joeslay/seaweedfs/weed/storage/types" + . "github.com/chrislusf/seaweedfs/weed/storage/types" "testing" ) diff --git a/weed/storage/needle_map/needle_value.go b/weed/storage/needle_map/needle_value.go index fc54663bb..ef540b55e 100644 --- a/weed/storage/needle_map/needle_value.go +++ b/weed/storage/needle_map/needle_value.go @@ -1,8 +1,8 @@ package needle_map import ( - . "github.com/joeslay/seaweedfs/weed/storage/types" - "github.com/joeslay/seaweedfs/weed/util" + . "github.com/chrislusf/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/google/btree" ) diff --git a/weed/storage/needle_map/needle_value_map.go b/weed/storage/needle_map/needle_value_map.go index e0afb355c..0a5a00ef7 100644 --- a/weed/storage/needle_map/needle_value_map.go +++ b/weed/storage/needle_map/needle_value_map.go @@ -1,7 +1,7 @@ package needle_map import ( - . "github.com/joeslay/seaweedfs/weed/storage/types" + . "github.com/chrislusf/seaweedfs/weed/storage/types" ) type NeedleValueMap interface { diff --git a/weed/storage/needle_map_leveldb.go b/weed/storage/needle_map_leveldb.go index 7eec4e349..ef8571e83 100644 --- a/weed/storage/needle_map_leveldb.go +++ b/weed/storage/needle_map_leveldb.go @@ -5,13 +5,13 @@ import ( "os" "path/filepath" - "github.com/joeslay/seaweedfs/weed/storage/idx" + "github.com/chrislusf/seaweedfs/weed/storage/idx" "github.com/syndtr/goleveldb/leveldb/opt" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/storage/needle_map" - . "github.com/joeslay/seaweedfs/weed/storage/types" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/storage/needle_map" + . "github.com/chrislusf/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/util" "github.com/syndtr/goleveldb/leveldb" ) diff --git a/weed/storage/needle_map_memory.go b/weed/storage/needle_map_memory.go index 84ff51a33..ee639a7e6 100644 --- a/weed/storage/needle_map_memory.go +++ b/weed/storage/needle_map_memory.go @@ -3,10 +3,10 @@ package storage import ( "os" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/storage/idx" - "github.com/joeslay/seaweedfs/weed/storage/needle_map" - . "github.com/joeslay/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/storage/idx" + "github.com/chrislusf/seaweedfs/weed/storage/needle_map" + . "github.com/chrislusf/seaweedfs/weed/storage/types" ) type NeedleMap struct { diff --git a/weed/storage/needle_map_metric.go b/weed/storage/needle_map_metric.go index e22a5b5ca..823a04108 100644 --- a/weed/storage/needle_map_metric.go +++ b/weed/storage/needle_map_metric.go @@ -5,8 +5,8 @@ import ( "os" "sync/atomic" - "github.com/joeslay/seaweedfs/weed/storage/idx" - . "github.com/joeslay/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/storage/idx" + . "github.com/chrislusf/seaweedfs/weed/storage/types" "github.com/willf/bloom" ) diff --git a/weed/storage/needle_map_metric_test.go b/weed/storage/needle_map_metric_test.go index 9b946036f..539f83a87 100644 --- a/weed/storage/needle_map_metric_test.go +++ b/weed/storage/needle_map_metric_test.go @@ -1,8 +1,8 @@ package storage import ( - "github.com/joeslay/seaweedfs/weed/glog" - . "github.com/joeslay/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/glog" + . "github.com/chrislusf/seaweedfs/weed/storage/types" "io/ioutil" "math/rand" "testing" diff --git a/weed/storage/store.go b/weed/storage/store.go index 8a253d2c3..948dd1f0a 100644 --- a/weed/storage/store.go +++ b/weed/storage/store.go @@ -4,11 +4,11 @@ import ( "fmt" "sync/atomic" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" - "github.com/joeslay/seaweedfs/weed/stats" - "github.com/joeslay/seaweedfs/weed/storage/needle" - . "github.com/joeslay/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/stats" + "github.com/chrislusf/seaweedfs/weed/storage/needle" + . "github.com/chrislusf/seaweedfs/weed/storage/types" "google.golang.org/grpc" ) diff --git a/weed/storage/store_ec.go b/weed/storage/store_ec.go index 570f00713..8271324cf 100644 --- a/weed/storage/store_ec.go +++ b/weed/storage/store_ec.go @@ -8,14 +8,14 @@ import ( "sync" "time" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" - "github.com/joeslay/seaweedfs/weed/stats" - "github.com/joeslay/seaweedfs/weed/storage/erasure_coding" - "github.com/joeslay/seaweedfs/weed/storage/needle" - "github.com/joeslay/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/stats" + "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding" + "github.com/chrislusf/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/storage/types" "github.com/klauspost/reedsolomon" ) diff --git a/weed/storage/store_ec_delete.go b/weed/storage/store_ec_delete.go index c1e582668..e027d2887 100644 --- a/weed/storage/store_ec_delete.go +++ b/weed/storage/store_ec_delete.go @@ -4,12 +4,12 @@ import ( "context" "fmt" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" - "github.com/joeslay/seaweedfs/weed/storage/erasure_coding" - "github.com/joeslay/seaweedfs/weed/storage/needle" - "github.com/joeslay/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding" + "github.com/chrislusf/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/storage/types" ) func (s *Store) DeleteEcShardNeedle(ctx context.Context, ecVolume *erasure_coding.EcVolume, n *needle.Needle, cookie types.Cookie) (int64, error) { diff --git a/weed/storage/store_vacuum.go b/weed/storage/store_vacuum.go index 6acf5b10e..b1f1a6277 100644 --- a/weed/storage/store_vacuum.go +++ b/weed/storage/store_vacuum.go @@ -3,8 +3,8 @@ package storage import ( "fmt" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) func (s *Store) CheckCompactVolume(volumeId needle.VolumeId) (float64, error) { diff --git a/weed/storage/types/needle_id_type.go b/weed/storage/types/needle_id_type.go index 556e1b9d2..32a296613 100644 --- a/weed/storage/types/needle_id_type.go +++ b/weed/storage/types/needle_id_type.go @@ -2,7 +2,7 @@ package types import ( "fmt" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/util" "strconv" ) diff --git a/weed/storage/types/needle_types.go b/weed/storage/types/needle_types.go index b493af27e..2ebb392db 100644 --- a/weed/storage/types/needle_types.go +++ b/weed/storage/types/needle_types.go @@ -2,7 +2,7 @@ package types import ( "fmt" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/util" "math" "strconv" ) diff --git a/weed/storage/volume.go b/weed/storage/volume.go index 92839f9e6..75f889689 100644 --- a/weed/storage/volume.go +++ b/weed/storage/volume.go @@ -3,10 +3,10 @@ package storage import ( "fmt" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" - "github.com/joeslay/seaweedfs/weed/stats" - "github.com/joeslay/seaweedfs/weed/storage/needle" - "github.com/joeslay/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/stats" + "github.com/chrislusf/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/storage/types" "os" "path" @@ -14,7 +14,7 @@ import ( "sync" "time" - "github.com/joeslay/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/glog" ) type Volume struct { diff --git a/weed/storage/volume_backup.go b/weed/storage/volume_backup.go index c9445881c..86d13da7a 100644 --- a/weed/storage/volume_backup.go +++ b/weed/storage/volume_backup.go @@ -6,11 +6,11 @@ import ( "io" "os" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" - "github.com/joeslay/seaweedfs/weed/storage/idx" - "github.com/joeslay/seaweedfs/weed/storage/needle" - . "github.com/joeslay/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/storage/idx" + "github.com/chrislusf/seaweedfs/weed/storage/needle" + . "github.com/chrislusf/seaweedfs/weed/storage/types" "google.golang.org/grpc" ) diff --git a/weed/storage/volume_checking.go b/weed/storage/volume_checking.go index 0f26bd103..8f930546f 100644 --- a/weed/storage/volume_checking.go +++ b/weed/storage/volume_checking.go @@ -4,10 +4,10 @@ import ( "fmt" "os" - "github.com/joeslay/seaweedfs/weed/storage/idx" - "github.com/joeslay/seaweedfs/weed/storage/needle" - . "github.com/joeslay/seaweedfs/weed/storage/types" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/storage/idx" + "github.com/chrislusf/seaweedfs/weed/storage/needle" + . "github.com/chrislusf/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/util" ) func CheckVolumeDataIntegrity(v *Volume, indexFile *os.File) (lastAppendAtNs uint64, e error) { diff --git a/weed/storage/volume_create.go b/weed/storage/volume_create.go index d1935f0cd..98b8aa280 100644 --- a/weed/storage/volume_create.go +++ b/weed/storage/volume_create.go @@ -5,7 +5,7 @@ package storage import ( "os" - "github.com/joeslay/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/glog" ) func createVolumeFile(fileName string, preallocate int64, useMemoryMap uint32) (*os.File, error) { diff --git a/weed/storage/volume_create_linux.go b/weed/storage/volume_create_linux.go index f21267f01..0dc7364fa 100644 --- a/weed/storage/volume_create_linux.go +++ b/weed/storage/volume_create_linux.go @@ -6,7 +6,7 @@ import ( "os" "syscall" - "github.com/joeslay/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/glog" ) func createVolumeFile(fileName string, preallocate int64, useMemoryMap uint32) (file *os.File, e error) { diff --git a/weed/storage/volume_create_windows.go b/weed/storage/volume_create_windows.go index 1b29b43c8..4c9a146f5 100644 --- a/weed/storage/volume_create_windows.go +++ b/weed/storage/volume_create_windows.go @@ -5,11 +5,11 @@ package storage import ( "os" - "github.com/joeslay/seaweedfs/weed/storage/memory_map" + "github.com/chrislusf/seaweedfs/weed/storage/memory_map" "golang.org/x/sys/windows" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/os_overloads" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/os_overloads" ) func createVolumeFile(fileName string, preallocate int64, memoryMapSizeMB uint32) (*os.File, error) { diff --git a/weed/storage/volume_info.go b/weed/storage/volume_info.go index 6990d42b1..111058b6e 100644 --- a/weed/storage/volume_info.go +++ b/weed/storage/volume_info.go @@ -4,8 +4,8 @@ import ( "fmt" "sort" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) type VolumeInfo struct { diff --git a/weed/storage/volume_info_test.go b/weed/storage/volume_info_test.go index 9ace2be02..5b1bacb52 100644 --- a/weed/storage/volume_info_test.go +++ b/weed/storage/volume_info_test.go @@ -3,7 +3,7 @@ package storage import ( "testing" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) func TestSortVolumeInfos(t *testing.T) { diff --git a/weed/storage/volume_loading.go b/weed/storage/volume_loading.go index 49bbcd22b..db168a134 100644 --- a/weed/storage/volume_loading.go +++ b/weed/storage/volume_loading.go @@ -5,11 +5,11 @@ import ( "os" "time" - "github.com/joeslay/seaweedfs/weed/stats" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/stats" + "github.com/chrislusf/seaweedfs/weed/storage/needle" "github.com/syndtr/goleveldb/leveldb/opt" - "github.com/joeslay/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/glog" ) func loadVolumeWithoutIndex(dirname string, collection string, id needle.VolumeId, needleMapKind NeedleMapType) (v *Volume, e error) { diff --git a/weed/storage/volume_read_write.go b/weed/storage/volume_read_write.go index da9a8429e..767a318c8 100644 --- a/weed/storage/volume_read_write.go +++ b/weed/storage/volume_read_write.go @@ -8,10 +8,10 @@ import ( "os" "time" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/storage/memory_map" - "github.com/joeslay/seaweedfs/weed/storage/needle" - . "github.com/joeslay/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/storage/memory_map" + "github.com/chrislusf/seaweedfs/weed/storage/needle" + . "github.com/chrislusf/seaweedfs/weed/storage/types" ) var ErrorNotFound = errors.New("not found") diff --git a/weed/storage/volume_super_block.go b/weed/storage/volume_super_block.go index 20a223f7d..7df733b57 100644 --- a/weed/storage/volume_super_block.go +++ b/weed/storage/volume_super_block.go @@ -4,13 +4,13 @@ import ( "fmt" "os" - "github.com/joeslay/seaweedfs/weed/storage/memory_map" + "github.com/chrislusf/seaweedfs/weed/storage/memory_map" "github.com/golang/protobuf/proto" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" - "github.com/joeslay/seaweedfs/weed/storage/needle" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/util" ) const ( diff --git a/weed/storage/volume_super_block_test.go b/weed/storage/volume_super_block_test.go index 433eacdff..06ad8a5d3 100644 --- a/weed/storage/volume_super_block_test.go +++ b/weed/storage/volume_super_block_test.go @@ -3,7 +3,7 @@ package storage import ( "testing" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) func TestSuperBlockReadWrite(t *testing.T) { diff --git a/weed/storage/volume_vacuum.go b/weed/storage/volume_vacuum.go index 1b47f0483..5c10eb20f 100644 --- a/weed/storage/volume_vacuum.go +++ b/weed/storage/volume_vacuum.go @@ -5,13 +5,13 @@ import ( "os" "time" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/stats" - idx2 "github.com/joeslay/seaweedfs/weed/storage/idx" - "github.com/joeslay/seaweedfs/weed/storage/needle" - "github.com/joeslay/seaweedfs/weed/storage/needle_map" - . "github.com/joeslay/seaweedfs/weed/storage/types" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/stats" + idx2 "github.com/chrislusf/seaweedfs/weed/storage/idx" + "github.com/chrislusf/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/storage/needle_map" + . "github.com/chrislusf/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/util" ) func (v *Volume) garbageLevel() float64 { diff --git a/weed/storage/volume_vacuum_test.go b/weed/storage/volume_vacuum_test.go index 2ec9dbfa2..ba1e59f2c 100644 --- a/weed/storage/volume_vacuum_test.go +++ b/weed/storage/volume_vacuum_test.go @@ -7,8 +7,8 @@ import ( "testing" "time" - "github.com/joeslay/seaweedfs/weed/storage/needle" - "github.com/joeslay/seaweedfs/weed/storage/types" + "github.com/chrislusf/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/storage/types" ) /* diff --git a/weed/topology/allocate_volume.go b/weed/topology/allocate_volume.go index 9dfd46825..342ca6579 100644 --- a/weed/topology/allocate_volume.go +++ b/weed/topology/allocate_volume.go @@ -3,9 +3,9 @@ package topology import ( "context" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/storage/needle" "google.golang.org/grpc" ) diff --git a/weed/topology/cluster_commands.go b/weed/topology/cluster_commands.go index a5843d0e5..152691ccb 100644 --- a/weed/topology/cluster_commands.go +++ b/weed/topology/cluster_commands.go @@ -2,8 +2,8 @@ package topology import ( "github.com/chrislusf/raft" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) type MaxVolumeIdCommand struct { diff --git a/weed/topology/collection.go b/weed/topology/collection.go index c4fd3af61..f6b728ec9 100644 --- a/weed/topology/collection.go +++ b/weed/topology/collection.go @@ -3,9 +3,9 @@ package topology import ( "fmt" - "github.com/joeslay/seaweedfs/weed/storage" - "github.com/joeslay/seaweedfs/weed/storage/needle" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/storage" + "github.com/chrislusf/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/util" ) type Collection struct { diff --git a/weed/topology/data_center.go b/weed/topology/data_center.go index b419070f8..640cb1937 100644 --- a/weed/topology/data_center.go +++ b/weed/topology/data_center.go @@ -1,6 +1,6 @@ package topology -import "github.com/joeslay/seaweedfs/weed/pb/master_pb" +import "github.com/chrislusf/seaweedfs/weed/pb/master_pb" type DataCenter struct { NodeImpl diff --git a/weed/topology/data_node.go b/weed/topology/data_node.go index 83e58e075..3e72ccdbf 100644 --- a/weed/topology/data_node.go +++ b/weed/topology/data_node.go @@ -4,14 +4,14 @@ import ( "fmt" "sync" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" - "github.com/joeslay/seaweedfs/weed/storage/erasure_coding" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding" + "github.com/chrislusf/seaweedfs/weed/storage/needle" "strconv" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/storage" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/storage" ) type DataNode struct { diff --git a/weed/topology/data_node_ec.go b/weed/topology/data_node_ec.go index 404ce7c7b..75c8784fe 100644 --- a/weed/topology/data_node_ec.go +++ b/weed/topology/data_node_ec.go @@ -1,8 +1,8 @@ package topology import ( - "github.com/joeslay/seaweedfs/weed/storage/erasure_coding" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) func (dn *DataNode) GetEcShards() (ret []*erasure_coding.EcVolumeInfo) { diff --git a/weed/topology/node.go b/weed/topology/node.go index cfa6bebc4..b2808f589 100644 --- a/weed/topology/node.go +++ b/weed/topology/node.go @@ -7,9 +7,9 @@ import ( "sync" "sync/atomic" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/storage/erasure_coding" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) type NodeId string diff --git a/weed/topology/rack.go b/weed/topology/rack.go index 9926dbbff..932c1a804 100644 --- a/weed/topology/rack.go +++ b/weed/topology/rack.go @@ -1,7 +1,7 @@ package topology import ( - "github.com/joeslay/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" "strconv" "time" ) diff --git a/weed/topology/store_replicate.go b/weed/topology/store_replicate.go index e3f3b445e..d21c4d210 100644 --- a/weed/topology/store_replicate.go +++ b/weed/topology/store_replicate.go @@ -10,12 +10,12 @@ import ( "strconv" "strings" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/security" - "github.com/joeslay/seaweedfs/weed/storage" - "github.com/joeslay/seaweedfs/weed/storage/needle" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/security" + "github.com/chrislusf/seaweedfs/weed/storage" + "github.com/chrislusf/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/util" ) func ReplicatedWrite(masterNode string, s *storage.Store, diff --git a/weed/topology/topology.go b/weed/topology/topology.go index 48b8080b7..eff8c99a0 100644 --- a/weed/topology/topology.go +++ b/weed/topology/topology.go @@ -7,12 +7,12 @@ import ( "sync" "github.com/chrislusf/raft" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" - "github.com/joeslay/seaweedfs/weed/sequence" - "github.com/joeslay/seaweedfs/weed/storage" - "github.com/joeslay/seaweedfs/weed/storage/needle" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/sequence" + "github.com/chrislusf/seaweedfs/weed/storage" + "github.com/chrislusf/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/util" ) type Topology struct { diff --git a/weed/topology/topology_ec.go b/weed/topology/topology_ec.go index 91330f00f..93b39bb5d 100644 --- a/weed/topology/topology_ec.go +++ b/weed/topology/topology_ec.go @@ -1,10 +1,10 @@ package topology import ( - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" - "github.com/joeslay/seaweedfs/weed/storage/erasure_coding" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) type EcShardLocations struct { diff --git a/weed/topology/topology_event_handling.go b/weed/topology/topology_event_handling.go index c51070a32..041351492 100644 --- a/weed/topology/topology_event_handling.go +++ b/weed/topology/topology_event_handling.go @@ -5,8 +5,8 @@ import ( "math/rand" "time" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/storage" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/storage" ) func (t *Topology) StartRefreshWritableVolumes(grpcDialOption grpc.DialOption, garbageThreshold float64, preallocate int64) { diff --git a/weed/topology/topology_map.go b/weed/topology/topology_map.go index d779bd590..37a88c9ed 100644 --- a/weed/topology/topology_map.go +++ b/weed/topology/topology_map.go @@ -1,6 +1,6 @@ package topology -import "github.com/joeslay/seaweedfs/weed/pb/master_pb" +import "github.com/chrislusf/seaweedfs/weed/pb/master_pb" func (t *Topology) ToMap() interface{} { m := make(map[string]interface{}) diff --git a/weed/topology/topology_test.go b/weed/topology/topology_test.go index 5910c87db..8f79ad684 100644 --- a/weed/topology/topology_test.go +++ b/weed/topology/topology_test.go @@ -1,10 +1,10 @@ package topology import ( - "github.com/joeslay/seaweedfs/weed/pb/master_pb" - "github.com/joeslay/seaweedfs/weed/sequence" - "github.com/joeslay/seaweedfs/weed/storage" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/sequence" + "github.com/chrislusf/seaweedfs/weed/storage" + "github.com/chrislusf/seaweedfs/weed/storage/needle" "testing" ) diff --git a/weed/topology/topology_vacuum.go b/weed/topology/topology_vacuum.go index 15b813815..37a6a30b9 100644 --- a/weed/topology/topology_vacuum.go +++ b/weed/topology/topology_vacuum.go @@ -5,12 +5,12 @@ import ( "sync/atomic" "time" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/storage/needle" "google.golang.org/grpc" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/operation" - "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/operation" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" ) func batchVacuumVolumeCheck(grpcDialOption grpc.DialOption, vl *VolumeLayout, vid needle.VolumeId, locationlist *VolumeLocationList, garbageThreshold float64) bool { diff --git a/weed/topology/volume_growth.go b/weed/topology/volume_growth.go index e4446ade0..14f94fbd2 100644 --- a/weed/topology/volume_growth.go +++ b/weed/topology/volume_growth.go @@ -5,11 +5,11 @@ import ( "math/rand" "sync" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/storage/needle" "google.golang.org/grpc" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/storage" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/storage" ) /* diff --git a/weed/topology/volume_growth_test.go b/weed/topology/volume_growth_test.go index b1573ae00..3573365fd 100644 --- a/weed/topology/volume_growth_test.go +++ b/weed/topology/volume_growth_test.go @@ -5,9 +5,9 @@ import ( "fmt" "testing" - "github.com/joeslay/seaweedfs/weed/sequence" - "github.com/joeslay/seaweedfs/weed/storage" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/sequence" + "github.com/chrislusf/seaweedfs/weed/storage" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) var topologyLayout = ` diff --git a/weed/topology/volume_layout.go b/weed/topology/volume_layout.go index b2b1dd49f..799cbca62 100644 --- a/weed/topology/volume_layout.go +++ b/weed/topology/volume_layout.go @@ -7,9 +7,9 @@ import ( "sync" "time" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/storage" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/storage" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) // mapping from volume to its locations, inverted from server to volume diff --git a/weed/topology/volume_location_list.go b/weed/topology/volume_location_list.go index 8fddc1912..8905c54b5 100644 --- a/weed/topology/volume_location_list.go +++ b/weed/topology/volume_location_list.go @@ -3,7 +3,7 @@ package topology import ( "fmt" - "github.com/joeslay/seaweedfs/weed/storage/needle" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) type VolumeLocationList struct { diff --git a/weed/util/compression.go b/weed/util/compression.go index a825dadcb..c6c9423e2 100644 --- a/weed/util/compression.go +++ b/weed/util/compression.go @@ -7,7 +7,7 @@ import ( "io/ioutil" "strings" - "github.com/joeslay/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/glog" "golang.org/x/tools/godoc/util" ) diff --git a/weed/util/config.go b/weed/util/config.go index 3028b14bf..1ea833d1f 100644 --- a/weed/util/config.go +++ b/weed/util/config.go @@ -1,7 +1,7 @@ package util import ( - "github.com/joeslay/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/glog" "github.com/spf13/viper" ) diff --git a/weed/util/file_util.go b/weed/util/file_util.go index c6da9c934..78add6724 100644 --- a/weed/util/file_util.go +++ b/weed/util/file_util.go @@ -4,7 +4,7 @@ import ( "errors" "os" - "github.com/joeslay/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/glog" ) func TestFolderWritable(folder string) (err error) { diff --git a/weed/util/net_timeout.go b/weed/util/net_timeout.go index 10f3f893b..b8068e67f 100644 --- a/weed/util/net_timeout.go +++ b/weed/util/net_timeout.go @@ -4,7 +4,7 @@ import ( "net" "time" - "github.com/joeslay/seaweedfs/weed/stats" + "github.com/chrislusf/seaweedfs/weed/stats" ) // Listener wraps a net.Listener, and gives a place to store the timeout diff --git a/weed/util/pprof.go b/weed/util/pprof.go index 088053803..a2621ceee 100644 --- a/weed/util/pprof.go +++ b/weed/util/pprof.go @@ -5,7 +5,7 @@ import ( "runtime" "runtime/pprof" - "github.com/joeslay/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/glog" ) func SetupProfiling(cpuProfile, memProfile string) { diff --git a/weed/wdclient/masterclient.go b/weed/wdclient/masterclient.go index bfe145b30..da867696d 100644 --- a/weed/wdclient/masterclient.go +++ b/weed/wdclient/masterclient.go @@ -6,9 +6,9 @@ import ( "math/rand" "time" - "github.com/joeslay/seaweedfs/weed/glog" - "github.com/joeslay/seaweedfs/weed/pb/master_pb" - "github.com/joeslay/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" + "github.com/chrislusf/seaweedfs/weed/util" "google.golang.org/grpc" ) diff --git a/weed/wdclient/vid_map.go b/weed/wdclient/vid_map.go index ccb9f926f..01d9cdaed 100644 --- a/weed/wdclient/vid_map.go +++ b/weed/wdclient/vid_map.go @@ -9,7 +9,7 @@ import ( "sync" "time" - "github.com/joeslay/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/glog" ) type Location struct { diff --git a/weed/weed.go b/weed/weed.go index 2bdefc9d7..ecb0ba2a4 100644 --- a/weed/weed.go +++ b/weed/weed.go @@ -16,8 +16,8 @@ import ( "unicode" "unicode/utf8" - "github.com/joeslay/seaweedfs/weed/command" - "github.com/joeslay/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/command" + "github.com/chrislusf/seaweedfs/weed/glog" ) var IsDebug *bool