Browse Source

Change joeslay paths to chrislusf paths

pull/1087/head
j.laycock 5 years ago
parent
commit
6fc6322c90
  1. 79
      go.mod
  2. 3
      go.sum
  3. 6
      unmaintained/change_superblock/change_superblock.go
  4. 10
      unmaintained/fix_dat/fix_dat.go
  5. 6
      unmaintained/repeated_vacuum/repeated_vacuum.go
  6. 6
      unmaintained/see_dat/see_dat.go
  7. 6
      unmaintained/see_idx/see_idx.go
  8. 6
      unmaintained/see_meta/see_meta.go
  9. 8
      unmaintained/volume_tailer/volume_tailer.go
  10. 10
      weed/command/backup.go
  11. 10
      weed/command/benchmark.go
  12. 6
      weed/command/compact.go
  13. 4
      weed/command/download.go
  14. 8
      weed/command/export.go
  15. 10
      weed/command/filer.go
  16. 10
      weed/command/filer_copy.go
  17. 20
      weed/command/filer_replication.go
  18. 8
      weed/command/fix.go
  19. 10
      weed/command/master.go
  20. 8
      weed/command/mount_std.go
  21. 8
      weed/command/s3.go
  22. 4
      weed/command/server.go
  23. 6
      weed/command/shell.go
  24. 6
      weed/command/upload.go
  25. 2
      weed/command/version.go
  26. 12
      weed/command/volume.go
  27. 2
      weed/command/volume_test.go
  28. 8
      weed/command/webdav.go
  29. 4
      weed/filer2/abstract_sql/abstract_sql_store.go
  30. 6
      weed/filer2/cassandra/cassandra_store.go
  31. 2
      weed/filer2/configuration.go
  32. 2
      weed/filer2/entry.go
  33. 2
      weed/filer2/entry_codec.go
  34. 6
      weed/filer2/etcd/etcd_store.go
  35. 2
      weed/filer2/filechunks.go
  36. 2
      weed/filer2/filechunks_test.go
  37. 4
      weed/filer2/filer.go
  38. 6
      weed/filer2/filer_client_util.go
  39. 6
      weed/filer2/filer_deletion.go
  40. 6
      weed/filer2/filer_notify.go
  41. 2
      weed/filer2/filer_notify_test.go
  42. 6
      weed/filer2/filerstore.go
  43. 6
      weed/filer2/leveldb/leveldb_store.go
  44. 2
      weed/filer2/leveldb/leveldb_store_test.go
  45. 6
      weed/filer2/leveldb2/leveldb2_store.go
  46. 2
      weed/filer2/leveldb2/leveldb2_store_test.go
  47. 4
      weed/filer2/memdb/memdb_store.go
  48. 2
      weed/filer2/memdb/memdb_store_test.go
  49. 6
      weed/filer2/mysql/mysql_store.go
  50. 6
      weed/filer2/postgres/postgres_store.go
  51. 4
      weed/filer2/redis/redis_cluster_store.go
  52. 4
      weed/filer2/redis/redis_store.go
  53. 4
      weed/filer2/redis/universal_redis_store.go
  54. 8
      weed/filer2/stream.go
  55. 6
      weed/filesys/dir.go
  56. 4
      weed/filesys/dir_link.go
  57. 2
      weed/filesys/dir_rename.go
  58. 8
      weed/filesys/dirty_page.go
  59. 6
      weed/filesys/file.go
  60. 6
      weed/filesys/filehandle.go
  61. 6
      weed/filesys/wfs.go
  62. 8
      weed/filesys/wfs_deletion.go
  63. 2
      weed/images/resizing.go
  64. 6
      weed/notification/aws_sqs/aws_sqs_pub.go
  65. 4
      weed/notification/configuration.go
  66. 6
      weed/notification/gocdk_pub_sub/gocdk_pub_sub.go
  67. 6
      weed/notification/google_pub_sub/google_pub_sub.go
  68. 6
      weed/notification/kafka/kafka_queue.go
  69. 6
      weed/notification/log/log_queue.go
  70. 6
      weed/operation/assign_file_id.go
  71. 4
      weed/operation/chunked_file.go
  72. 4
      weed/operation/delete_content.go
  73. 8
      weed/operation/grpc_client.go
  74. 4
      weed/operation/lookup.go
  75. 2
      weed/operation/lookup_vid_cache.go
  76. 2
      weed/operation/stats.go
  77. 4
      weed/operation/submit.go
  78. 2
      weed/operation/sync_volume.go
  79. 4
      weed/operation/tail_volume.go
  80. 6
      weed/operation/upload_content.go
  81. 2
      weed/pb/filer_pb/filer_pb_helper.go
  82. 10
      weed/replication/replicator.go
  83. 12
      weed/replication/sink/azuresink/azure_sink.go
  84. 10
      weed/replication/sink/b2sink/b2_sink.go
  85. 10
      weed/replication/sink/filersink/fetch_write.go
  86. 14
      weed/replication/sink/filersink/filer_sink.go
  87. 12
      weed/replication/sink/gcssink/gcs_sink.go
  88. 6
      weed/replication/sink/replication_sink.go
  89. 12
      weed/replication/sink/s3sink/s3_sink.go
  90. 8
      weed/replication/sink/s3sink/s3_write.go
  91. 8
      weed/replication/source/filer_source.go
  92. 6
      weed/replication/sub/notification_aws_sqs.go
  93. 6
      weed/replication/sub/notification_gocdk_pub_sub.go
  94. 6
      weed/replication/sub/notification_google_pub_sub.go
  95. 6
      weed/replication/sub/notification_kafka.go
  96. 4
      weed/replication/sub/notifications.go
  97. 6
      weed/s3api/filer_multipart.go
  98. 4
      weed/s3api/filer_util.go
  99. 4
      weed/s3api/s3api_bucket_handlers.go
  100. 6
      weed/s3api/s3api_handlers.go

79
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

3
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=

6
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 (

10
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 (

6
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 (

6
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"
)

6
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 (

6
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"
)

8
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"
)

10
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 (

10
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 {

6
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() {

4
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 (

8
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 (

10
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"
)

10
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"
)

20
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"
)

8
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() {

10
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"

8
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"
)

8
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"
)

4
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 {

6
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"
)

6
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 (

2
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{

12
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"
)

2
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) {

8
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"
)

4
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 {

6
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"
)

2
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"
)

2
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 {

2
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"
)

6
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"
)

2
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) {

2
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) {

4
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"
)

6
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 {

6
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() {

6
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) {

2
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"
)

6
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 {

6
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"

2
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"

6
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"

2
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"

4
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"

2
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"
)

6
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"
)

6
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"
)

4
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"
)

4
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"
)

4
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"

8
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 {

6
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"
)

4
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"
)

2
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"
)

8
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 {

6
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"
)

6
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"

6
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"

8
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"
)

2
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"
)

6
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"
)

4
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"
)

6
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"

6
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"
)

6
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"
)

6
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"
)

6
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"
)

4
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 (

4
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"

8
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"

4
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 {

2
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")

2
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) {

4
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 {

2
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"
)

4
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"
)

6
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 {

2
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) {

10
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 {

12
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 {

10
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"
)

10
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) {

14
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 {

12
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"
)

6
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 {

12
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 {

8
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 {

8
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 {

6
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"
)

6
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"

6
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"
)

6
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"
)

4
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 {

6
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"
)

4
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 {

4
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"
)

6
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"

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save