SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
move to https://github.com/seaweedfs/seaweedfs
chrislu26dbc6c90518
diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.mdindex edb95fac1a..77d2eb0b9b 100644--- a/.github/ISSUE_TEMPLATE.md+++ b/.github/ISSUE_TEMPLATE.md@@ -9,12 +9,12 @@ assignees: ''Sponsors SeaweedFS via Patreon https://www.patreon.com/seaweedfsReport issues here. Ask questions here https://stackoverflow.com/questions/tagged/seaweedfs-Please ask questions in https://github.com/chrislusf/seaweedfs/discussions+Please ask questions in https://github.com/seaweedfs/seaweedfs/discussionsexample of a good issue report:-https://github.com/chrislusf/seaweedfs/issues/1005+https://github.com/seaweedfs/seaweedfs/issues/1005example of a bad issue report:-https://github.com/chrislusf/seaweedfs/issues/1008+https://github.com/seaweedfs/seaweedfs/issues/1008**Describe the bug**A clear and concise description of what the bug is.diff --git a/.github/workflows/binaries_dev.yml b/.github/workflows/binaries_dev.ymlindex f906ed2bb6..cdf0bc12e5 100644--- a/.github/workflows/binaries_dev.yml+++ b/.github/workflows/binaries_dev.yml@@ -53,7 +53,7 @@ jobs:overwrite: truepre_command: export CGO_ENABLED=0 && export GODEBUG=http2client=0build_flags: -tags 5BytesOffset # optional, default is- ldflags: -extldflags -static -X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}}+ ldflags: -extldflags -static -X github.com/seaweedfs/seaweedfs/weed/util.COMMIT=${{github.sha}}# Where to run `go build .`project_path: weedbinary_name: weed-large-disk@@ -68,7 +68,7 @@ jobs:release_tag: devoverwrite: truepre_command: export CGO_ENABLED=0 && export GODEBUG=http2client=0- ldflags: -extldflags -static -X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}}+ ldflags: -extldflags -static -X github.com/seaweedfs/seaweedfs/weed/util.COMMIT=${{github.sha}}# Where to run `go build .`project_path: weedbinary_name: weed-normal-disk@@ -102,7 +102,7 @@ jobs:overwrite: truepre_command: export CGO_ENABLED=0 && export GODEBUG=http2client=0build_flags: -tags 5BytesOffset # optional, default is- ldflags: -extldflags -static -X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}}+ ldflags: -extldflags -static -X github.com/seaweedfs/seaweedfs/weed/util.COMMIT=${{github.sha}}# Where to run `go build .`project_path: weedbinary_name: weed-large-disk@@ -117,7 +117,7 @@ jobs:release_tag: devoverwrite: truepre_command: export CGO_ENABLED=0 && export GODEBUG=http2client=0- ldflags: -extldflags -static -X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}}+ ldflags: -extldflags -static -X github.com/seaweedfs/seaweedfs/weed/util.COMMIT=${{github.sha}}# Where to run `go build .`project_path: weedbinary_name: weed-normal-diskdiff --git a/.github/workflows/binaries_release0.yml b/.github/workflows/binaries_release0.ymlindex 3a6cb734d3..9228ae54c9 100644--- a/.github/workflows/binaries_release0.yml+++ b/.github/workflows/binaries_release0.yml@@ -38,7 +38,7 @@ jobs:overwrite: truepre_command: export CGO_ENABLED=0 && export GODEBUG=http2client=0# build_flags: -tags 5BytesOffset # optional, default is- ldflags: -extldflags -static -X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}}+ ldflags: -extldflags -static -X github.com/seaweedfs/seaweedfs/weed/util.COMMIT=${{github.sha}}# Where to run `go build .`project_path: weedbinary_name: weed@@ -52,7 +52,7 @@ jobs:overwrite: truepre_command: export CGO_ENABLED=0 && export GODEBUG=http2client=0build_flags: -tags 5BytesOffset # optional, default is- ldflags: -extldflags -static -X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}}+ ldflags: -extldflags -static -X github.com/seaweedfs/seaweedfs/weed/util.COMMIT=${{github.sha}}# Where to run `go build .`project_path: weedbinary_name: weeddiff --git a/.github/workflows/binaries_release1.yml b/.github/workflows/binaries_release1.ymlindex d0a51ce8f4..652e8b794c 100644--- a/.github/workflows/binaries_release1.yml+++ b/.github/workflows/binaries_release1.yml@@ -38,7 +38,7 @@ jobs:overwrite: truepre_command: export CGO_ENABLED=0 && export GODEBUG=http2client=0# build_flags: -tags 5BytesOffset # optional, default is- ldflags: -extldflags -static -X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}}+ ldflags: -extldflags -static -X github.com/seaweedfs/seaweedfs/weed/util.COMMIT=${{github.sha}}# Where to run `go build .`project_path: weedbinary_name: weed@@ -52,7 +52,7 @@ jobs:overwrite: truepre_command: export CGO_ENABLED=0 && export GODEBUG=http2client=0build_flags: -tags 5BytesOffset # optional, default is- ldflags: -extldflags -static -X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}}+ ldflags: -extldflags -static -X github.com/seaweedfs/seaweedfs/weed/util.COMMIT=${{github.sha}}# Where to run `go build .`project_path: weedbinary_name: weeddiff --git a/.github/workflows/binaries_release2.yml b/.github/workflows/binaries_release2.ymlindex 09e8fc7ae7..3005a18411 100644--- a/.github/workflows/binaries_release2.yml+++ b/.github/workflows/binaries_release2.yml@@ -38,7 +38,7 @@ jobs:overwrite: truepre_command: export CGO_ENABLED=0 && export GODEBUG=http2client=0# build_flags: -tags 5BytesOffset # optional, default is- ldflags: -extldflags -static -X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}}+ ldflags: -extldflags -static -X github.com/seaweedfs/seaweedfs/weed/util.COMMIT=${{github.sha}}# Where to run `go build .`project_path: weedbinary_name: weed@@ -52,7 +52,7 @@ jobs:overwrite: truepre_command: export CGO_ENABLED=0 && export GODEBUG=http2client=0build_flags: -tags 5BytesOffset # optional, default is- ldflags: -extldflags -static -X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}}+ ldflags: -extldflags -static -X github.com/seaweedfs/seaweedfs/weed/util.COMMIT=${{github.sha}}# Where to run `go build .`project_path: weedbinary_name: weeddiff --git a/.github/workflows/binaries_release3.yml b/.github/workflows/binaries_release3.ymlindex c96a91ceeb..cd1efb1bf3 100644--- a/.github/workflows/binaries_release3.yml+++ b/.github/workflows/binaries_release3.yml@@ -38,7 +38,7 @@ jobs:overwrite: truepre_command: export CGO_ENABLED=0 && export GODEBUG=http2client=0# build_flags: -tags 5BytesOffset # optional, default is- ldflags: -extldflags -static -X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}}+ ldflags: -extldflags -static -X github.com/seaweedfs/seaweedfs/weed/util.COMMIT=${{github.sha}}# Where to run `go build .`project_path: weedbinary_name: weed@@ -52,7 +52,7 @@ jobs:overwrite: truepre_command: export CGO_ENABLED=0 && export GODEBUG=http2client=0build_flags: -tags 5BytesOffset # optional, default is- ldflags: -extldflags -static -X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}}+ ldflags: -extldflags -static -X github.com/seaweedfs/seaweedfs/weed/util.COMMIT=${{github.sha}}# Where to run `go build .`project_path: weedbinary_name: weeddiff --git a/.github/workflows/binaries_release4.yml b/.github/workflows/binaries_release4.ymlindex ba98d0f811..b74a162201 100644--- a/.github/workflows/binaries_release4.yml+++ b/.github/workflows/binaries_release4.yml@@ -39,7 +39,7 @@ jobs:build_flags: -tags elastic,ydb,gocdk,tikvpre_command: export CGO_ENABLED=0 && export GODEBUG=http2client=0# build_flags: -tags 5BytesOffset # optional, default is- ldflags: -extldflags -static -X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}}+ ldflags: -extldflags -static -X github.com/seaweedfs/seaweedfs/weed/util.COMMIT=${{github.sha}}# Where to run `go build .`project_path: weedbinary_name: weed@@ -53,7 +53,7 @@ jobs:overwrite: truepre_command: export CGO_ENABLED=0 && export GODEBUG=http2client=0build_flags: -tags 5BytesOffset,elastic,ydb,gocdk,tikv- ldflags: -extldflags -static -X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}}+ ldflags: -extldflags -static -X github.com/seaweedfs/seaweedfs/weed/util.COMMIT=${{github.sha}}# Where to run `go build .`project_path: weedbinary_name: weeddiff --git a/README.md b/README.mdindex a0fdd1492d..fd2e610bbd 100644--- a/README.md+++ b/README.md@@ -3,9 +3,9 @@[](https://join.slack.com/t/seaweedfs/shared_invite/enQtMzI4MTMwMjU2MzA3LTEyYzZmZWYzOGQ3MDJlZWMzYmI0OTE4OTJiZjJjODBmMzUxNmYwODg0YjY3MTNlMjBmZDQ1NzQ5NDJhZWI2ZmY)[](https://twitter.com/intent/follow?screen_name=seaweedfs)-[](https://github.com/chrislusf/seaweedfs/actions/workflows/go.yml)-[](https://godoc.org/github.com/chrislusf/seaweedfs/weed)-[](https://github.com/chrislusf/seaweedfs/wiki)+[](https://github.com/seaweedfs/seaweedfs/actions/workflows/go.yml)+[](https://godoc.org/github.com/seaweedfs/seaweedfs/weed)+[](https://github.com/seaweedfs/seaweedfs/wiki)[](https://hub.docker.com/r/chrislusf/seaweedfs/)[](https://search.maven.org/search?q=g:com.github.chrislusf)@@ -15,7 +15,7 @@<h2 align="center"><a href="https://www.patreon.com/seaweedfs">Sponsor SeaweedFS via Patreon</a></h2>SeaweedFS is an independent Apache-licensed open source project with its ongoing development made-possible entirely thanks to the support of these awesome [backers](https://github.com/chrislusf/seaweedfs/blob/master/backers.md).+possible entirely thanks to the support of these awesome [backers](https://github.com/seaweedfs/seaweedfs/blob/master/backers.md).If you'd like to grow SeaweedFS even stronger, please consider joining our<a href="https://www.patreon.com/seaweedfs">sponsors on Patreon</a>.@@ -36,14 +36,14 @@ Your support will be really appreciated by me and other supporters!----- [Download Binaries for different platforms](https://github.com/chrislusf/seaweedfs/releases/latest)+- [Download Binaries for different platforms](https://github.com/seaweedfs/seaweedfs/releases/latest)- [SeaweedFS on Slack](https://join.slack.com/t/seaweedfs/shared_invite/enQtMzI4MTMwMjU2MzA3LTEyYzZmZWYzOGQ3MDJlZWMzYmI0OTE4OTJiZjJjODBmMzUxNmYwODg0YjY3MTNlMjBmZDQ1NzQ5NDJhZWI2ZmY)- [SeaweedFS on Twitter](https://twitter.com/SeaweedFS)- [SeaweedFS on Telegram](https://t.me/Seaweedfs)- [SeaweedFS on Reddit](https://www.reddit.com/r/SeaweedFS/)- [SeaweedFS Mailing List](https://groups.google.com/d/forum/seaweedfs)-- [Wiki Documentation](https://github.com/chrislusf/seaweedfs/wiki)-- [SeaweedFS White Paper](https://github.com/chrislusf/seaweedfs/wiki/SeaweedFS_Architecture.pdf)+- [Wiki Documentation](https://github.com/seaweedfs/seaweedfs/wiki)+- [SeaweedFS White Paper](https://github.com/seaweedfs/seaweedfs/wiki/SeaweedFS_Architecture.pdf)- [SeaweedFS Introduction Slides 2021.5](https://docs.google.com/presentation/d/1DcxKWlINc-HNCjhYeERkpGXXm6nTCES8mi2W5G0Z4Ts/edit?usp=sharing)- [SeaweedFS Introduction Slides 2019.3](https://www.slideshare.net/chrislusf/seaweedfs-introduction)@@ -77,7 +77,7 @@ Table of Contents`docker run -p 8333:8333 chrislusf/seaweedfs server -s3`## Quick Start with Single Binary ##-* Download the latest binary from https://github.com/chrislusf/seaweedfs/releases and unzip a single binary file `weed` or `weed.exe`+* Download the latest binary from https://github.com/seaweedfs/seaweedfs/releases and unzip a single binary file `weed` or `weed.exe`* Run `weed server -dir=/some/data/dir -s3` to start one master, one volume server, one filer, and one S3 gateway.Also, to increase capacity, just add more volume servers by running `weed volume -dir="/some/data/dir2" -mserver="<master_host>:9333" -port=8081` locally, or on a different machine, or on thousands of machines. That is it!@@ -159,25 +159,25 @@ Faster and Cheaper than direct cloud storage!* [Kubernetes CSI Driver][SeaweedFsCsiDriver] A Container Storage Interface (CSI) Driver. [](https://hub.docker.com/r/chrislusf/seaweedfs-csi-driver/)* [SeaweedFS Operator](https://github.com/seaweedfs/seaweedfs-operator)-[Filer]: https://github.com/chrislusf/seaweedfs/wiki/Directories-and-Files-[SuperLargeFiles]: https://github.com/chrislusf/seaweedfs/wiki/Data-Structure-for-Large-Files-[Mount]: https://github.com/chrislusf/seaweedfs/wiki/FUSE-Mount-[AmazonS3API]: https://github.com/chrislusf/seaweedfs/wiki/Amazon-S3-API-[BackupToCloud]: https://github.com/chrislusf/seaweedfs/wiki/Async-Replication-to-Cloud-[Hadoop]: https://github.com/chrislusf/seaweedfs/wiki/Hadoop-Compatible-File-System-[WebDAV]: https://github.com/chrislusf/seaweedfs/wiki/WebDAV-[ErasureCoding]: https://github.com/chrislusf/seaweedfs/wiki/Erasure-coding-for-warm-storage-[TieredStorage]: https://github.com/chrislusf/seaweedfs/wiki/Tiered-Storage-[CloudTier]: https://github.com/chrislusf/seaweedfs/wiki/Cloud-Tier-[FilerDataEncryption]: https://github.com/chrislusf/seaweedfs/wiki/Filer-Data-Encryption-[FilerTTL]: https://github.com/chrislusf/seaweedfs/wiki/Filer-Stores-[VolumeServerTTL]: https://github.com/chrislusf/seaweedfs/wiki/Store-file-with-a-Time-To-Live+[Filer]: https://github.com/seaweedfs/seaweedfs/wiki/Directories-and-Files+[SuperLargeFiles]: https://github.com/seaweedfs/seaweedfs/wiki/Data-Structure-for-Large-Files+[Mount]: https://github.com/seaweedfs/seaweedfs/wiki/FUSE-Mount+[AmazonS3API]: https://github.com/seaweedfs/seaweedfs/wiki/Amazon-S3-API+[BackupToCloud]: https://github.com/seaweedfs/seaweedfs/wiki/Async-Replication-to-Cloud+[Hadoop]: https://github.com/seaweedfs/seaweedfs/wiki/Hadoop-Compatible-File-System+[WebDAV]: https://github.com/seaweedfs/seaweedfs/wiki/WebDAV+[ErasureCoding]: https://github.com/seaweedfs/seaweedfs/wiki/Erasure-coding-for-warm-storage+[TieredStorage]: https://github.com/seaweedfs/seaweedfs/wiki/Tiered-Storage+[CloudTier]: https://github.com/seaweedfs/seaweedfs/wiki/Cloud-Tier+[FilerDataEncryption]: https://github.com/seaweedfs/seaweedfs/wiki/Filer-Data-Encryption+[FilerTTL]: https://github.com/seaweedfs/seaweedfs/wiki/Filer-Stores+[VolumeServerTTL]: https://github.com/seaweedfs/seaweedfs/wiki/Store-file-with-a-Time-To-Live[SeaweedFsCsiDriver]: https://github.com/seaweedfs/seaweedfs-csi-driver-[ActiveActiveAsyncReplication]: https://github.com/chrislusf/seaweedfs/wiki/Filer-Active-Active-cross-cluster-continuous-synchronization-[FilerStoreReplication]: https://github.com/chrislusf/seaweedfs/wiki/Filer-Store-Replication-[KeyLargeValueStore]: https://github.com/chrislusf/seaweedfs/wiki/Filer-as-a-Key-Large-Value-Store-[CloudDrive]: https://github.com/chrislusf/seaweedfs/wiki/Cloud-Drive-Architecture-[GatewayToRemoteObjectStore]: https://github.com/chrislusf/seaweedfs/wiki/Gateway-to-Remote-Object-Storage+[ActiveActiveAsyncReplication]: https://github.com/seaweedfs/seaweedfs/wiki/Filer-Active-Active-cross-cluster-continuous-synchronization+[FilerStoreReplication]: https://github.com/seaweedfs/seaweedfs/wiki/Filer-Store-Replication+[KeyLargeValueStore]: https://github.com/seaweedfs/seaweedfs/wiki/Filer-as-a-Key-Large-Value-Store+[CloudDrive]: https://github.com/seaweedfs/seaweedfs/wiki/Cloud-Drive-Architecture+[GatewayToRemoteObjectStore]: https://github.com/seaweedfs/seaweedfs/wiki/Gateway-to-Remote-Object-Storage[Back to TOC](#table-of-contents)@@ -300,7 +300,7 @@ The replication parameter options are:More details about replication can be found [on the wiki][Replication].-[Replication]: https://github.com/chrislusf/seaweedfs/wiki/Replication+[Replication]: https://github.com/seaweedfs/seaweedfs/wiki/ReplicationYou can also set the default replication strategy when starting the master server.@@ -325,10 +325,10 @@ When requesting a file key, an optional "dataCenter" parameter can limit the ass* [Chunking large files][feat-3]* [Collection as a Simple Name Space][feat-4]-[feat-1]: https://github.com/chrislusf/seaweedfs/wiki/Failover-Master-Server-[feat-2]: https://github.com/chrislusf/seaweedfs/wiki/Optimization#insert-with-your-own-keys-[feat-3]: https://github.com/chrislusf/seaweedfs/wiki/Optimization#upload-large-files-[feat-4]: https://github.com/chrislusf/seaweedfs/wiki/Optimization#collection-as-a-simple-name-space+[feat-1]: https://github.com/seaweedfs/seaweedfs/wiki/Failover-Master-Server+[feat-2]: https://github.com/seaweedfs/seaweedfs/wiki/Optimization#insert-with-your-own-keys+[feat-3]: https://github.com/seaweedfs/seaweedfs/wiki/Optimization#upload-large-files+[feat-4]: https://github.com/seaweedfs/seaweedfs/wiki/Optimization#collection-as-a-simple-name-space[Back to TOC](#table-of-contents)@@ -442,7 +442,7 @@ MooseFS Master Server keeps all meta data in memory. Same issue as HDFS namenode### Compared to Ceph ###-Ceph can be setup similar to SeaweedFS as a key->blob store. It is much more complicated, with the need to support layers on top of it. [Here is a more detailed comparison](https://github.com/chrislusf/seaweedfs/issues/120)+Ceph can be setup similar to SeaweedFS as a key->blob store. It is much more complicated, with the need to support layers on top of it. [Here is a more detailed comparison](https://github.com/seaweedfs/seaweedfs/issues/120)SeaweedFS has a centralized master group to look up free volumes, while Ceph uses hashing and metadata servers to locate its objects. Having a centralized master makes it easy to code and manage.@@ -502,7 +502,7 @@ make sure to define your $GOPATHStep 2: checkout this repo:```bash-git clone https://github.com/chrislusf/seaweedfs.git+git clone https://github.com/seaweedfs/seaweedfs.git```Step 3: download, compile, and install the project by executing the following command@@ -601,4 +601,3 @@ The text of this page is available for modification and reuse under the terms of## Stargazers over time[](https://starchart.cc/chrislusf/seaweedfs)-diff --git a/docker/Dockerfile.gccgo_build b/docker/Dockerfile.gccgo_buildindex 90cdf352fb..01f51a07d4 100644--- a/docker/Dockerfile.gccgo_build+++ b/docker/Dockerfile.gccgo_build@@ -1,20 +1,20 @@FROM gcc:11 as builderRUN mkdir -p /go/src/github.com/chrislusf/-RUN git clone https://github.com/chrislusf/seaweedfs /go/src/github.com/chrislusf/seaweedfs+RUN git clone https://github.com/seaweedfs/seaweedfs /go/src/github.com/seaweedfs/seaweedfsARG BRANCH=${BRANCH:-master}-RUN cd /go/src/github.com/chrislusf/seaweedfs && git checkout $BRANCH-RUN cd /go/src/github.com/chrislusf/seaweedfs/weed \+RUN cd /go/src/github.com/seaweedfs/seaweedfs && git checkout $BRANCH+RUN cd /go/src/github.com/seaweedfs/seaweedfs/weed \&& apt-get update \&& apt-get install -y golang-src \- && export LDFLAGS="-X github.com/chrislusf/seaweedfs/weed/util.COMMIT=$(git rev-parse --short HEAD)" \+ && export LDFLAGS="-X github.com/seaweedfs/seaweedfs/weed/util.COMMIT=$(git rev-parse --short HEAD)" \&& CGO_ENABLED=0 go install -ldflags "-extldflags -static ${LDFLAGS}" -compiler=gccgo -tags gccgo,noasmFROM alpine AS finalLABEL author="Chris Lu"COPY --from=builder /go/bin/weed /usr/bin/RUN mkdir -p /etc/seaweedfs-COPY --from=builder /go/src/github.com/chrislusf/seaweedfs/docker/filer.toml /etc/seaweedfs/filer.toml-COPY --from=builder /go/src/github.com/chrislusf/seaweedfs/docker/entrypoint.sh /entrypoint.sh+COPY --from=builder /go/src/github.com/seaweedfs/seaweedfs/docker/filer.toml /etc/seaweedfs/filer.toml+COPY --from=builder /go/src/github.com/seaweedfs/seaweedfs/docker/entrypoint.sh /entrypoint.shRUN apk add fuse # for weed mount# volume server gprc port@@ -41,4 +41,4 @@ WORKDIR /dataRUN chmod +x /entrypoint.sh-ENTRYPOINT ["/entrypoint.sh"]\ No newline at end of file+ENTRYPOINT ["/entrypoint.sh"]diff --git a/docker/Dockerfile.go_build b/docker/Dockerfile.go_buildindex c917ec5564..11b380e690 100644--- a/docker/Dockerfile.go_build+++ b/docker/Dockerfile.go_build@@ -1,20 +1,20 @@FROM golang:1.18-alpine as builderRUN apk add git g++ fuseRUN mkdir -p /go/src/github.com/chrislusf/-RUN git clone https://github.com/chrislusf/seaweedfs /go/src/github.com/chrislusf/seaweedfs+RUN git clone https://github.com/seaweedfs/seaweedfs /go/src/github.com/seaweedfs/seaweedfsARG BRANCH=${BRANCH:-master}ARG TAGS-RUN cd /go/src/github.com/chrislusf/seaweedfs && git checkout $BRANCH-RUN cd /go/src/github.com/chrislusf/seaweedfs/weed \- && export LDFLAGS="-X github.com/chrislusf/seaweedfs/weed/util.COMMIT=$(git rev-parse --short HEAD)" \+RUN cd /go/src/github.com/seaweedfs/seaweedfs && git checkout $BRANCH+RUN cd /go/src/github.com/seaweedfs/seaweedfs/weed \+ && export LDFLAGS="-X github.com/seaweedfs/seaweedfs/weed/util.COMMIT=$(git rev-parse --short HEAD)" \&& CGO_ENABLED=0 go install -tags "$TAGS" -ldflags "-extldflags -static ${LDFLAGS}"FROM alpine AS finalLABEL author="Chris Lu"COPY --from=builder /go/bin/weed /usr/bin/RUN mkdir -p /etc/seaweedfs-COPY --from=builder /go/src/github.com/chrislusf/seaweedfs/docker/filer.toml /etc/seaweedfs/filer.toml-COPY --from=builder /go/src/github.com/chrislusf/seaweedfs/docker/entrypoint.sh /entrypoint.sh+COPY --from=builder /go/src/github.com/seaweedfs/seaweedfs/docker/filer.toml /etc/seaweedfs/filer.toml+COPY --from=builder /go/src/github.com/seaweedfs/seaweedfs/docker/entrypoint.sh /entrypoint.shRUN apk add fuse # for weed mount# volume server gprc portdiff --git a/docker/Dockerfile.rocksdb_large b/docker/Dockerfile.rocksdb_largeindex 0025eb1166..3cb5425e39 100644--- a/docker/Dockerfile.rocksdb_large+++ b/docker/Dockerfile.rocksdb_large@@ -17,11 +17,11 @@ ENV CGO_LDFLAGS "-L/tmp/rocksdb -lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy -llz4# build SeaweedFSRUN mkdir -p /go/src/github.com/chrislusf/-RUN git clone https://github.com/chrislusf/seaweedfs /go/src/github.com/chrislusf/seaweedfs+RUN git clone https://github.com/seaweedfs/seaweedfs /go/src/github.com/seaweedfs/seaweedfsARG BRANCH=${BRANCH:-master}-RUN cd /go/src/github.com/chrislusf/seaweedfs && git checkout $BRANCH-RUN cd /go/src/github.com/chrislusf/seaweedfs/weed \- && export LDFLAGS="-X github.com/chrislusf/seaweedfs/weed/util.COMMIT=$(git rev-parse --short HEAD)" \+RUN cd /go/src/github.com/seaweedfs/seaweedfs && git checkout $BRANCH+RUN cd /go/src/github.com/seaweedfs/seaweedfs/weed \+ && export LDFLAGS="-X github.com/seaweedfs/seaweedfs/weed/util.COMMIT=$(git rev-parse --short HEAD)" \&& go install -tags "5BytesOffset rocksdb" -ldflags "-extldflags -static ${LDFLAGS}"@@ -29,8 +29,8 @@ FROM alpine AS finalLABEL author="Chris Lu"COPY --from=builder /go/bin/weed /usr/bin/RUN mkdir -p /etc/seaweedfs-COPY --from=builder /go/src/github.com/chrislusf/seaweedfs/docker/filer_rocksdb.toml /etc/seaweedfs/filer.toml-COPY --from=builder /go/src/github.com/chrislusf/seaweedfs/docker/entrypoint.sh /entrypoint.sh+COPY --from=builder /go/src/github.com/seaweedfs/seaweedfs/docker/filer_rocksdb.toml /etc/seaweedfs/filer.toml+COPY --from=builder /go/src/github.com/seaweedfs/seaweedfs/docker/entrypoint.sh /entrypoint.shRUN apk add fuse snappy gflags# volume server gprc portdiff --git a/docker/Makefile b/docker/Makefileindex 3afea17c1d..b262c4178e 100644--- a/docker/Makefile+++ b/docker/Makefile@@ -6,7 +6,7 @@ gen: devbinary:export SWCOMMIT=$(shell git rev-parse --short HEAD)- export SWLDFLAGS="-X github.com/chrislusf/seaweedfs/weed/util.COMMIT=$(SWCOMMIT)"+ export SWLDFLAGS="-X github.com/seaweedfs/seaweedfs/weed/util.COMMIT=$(SWCOMMIT)"cd ../weed; CGO_ENABLED=0 GOOS=linux go build -tags "$(tags)" -ldflags "-extldflags -static $(SWLDFLAGS)"; mv weed ../docker/build: binarydiff --git a/docker/README.md b/docker/README.mdindex 288d871588..873594f5f7 100644--- a/docker/README.md+++ b/docker/README.md@@ -24,7 +24,7 @@ docker-compose -f seaweedfs-dev-compose.yml -p seaweedfs up## Local Development```bash-cd $GOPATH/src/github.com/chrislusf/seaweedfs/docker+cd $GOPATH/src/github.com/seaweedfs/seaweedfs/dockermake```@@ -48,4 +48,4 @@ docker buildx stop $BUILDER```mc config host add local http://127.0.0.1:9000 some_access_key1 some_secret_key1mc admin trace --all --verbose local-```\ No newline at end of file+```diff --git a/go.mod b/go.modindex 599f19caa4..bb9d85646f 100644--- a/go.mod+++ b/go.mod@@ -1,4 +1,4 @@-module github.com/chrislusf/seaweedfs+module github.com/seaweedfs/seaweedfsgo 1.18diff --git a/other/java/client/src/main/proto/filer.proto b/other/java/client/src/main/proto/filer.protoindex 3f0ebe33cc..d815cfeb4f 100644--- a/other/java/client/src/main/proto/filer.proto+++ b/other/java/client/src/main/proto/filer.proto@@ -2,7 +2,7 @@ syntax = "proto3";package filer_pb;-option go_package = "github.com/chrislusf/seaweedfs/weed/pb/filer_pb";+option go_package = "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb";option java_package = "seaweedfs.client";option java_outer_classname = "FilerProto";diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yamlindex 6449e9bfb3..82dd79314b 100644--- a/snap/snapcraft.yaml+++ b/snap/snapcraft.yaml@@ -30,7 +30,7 @@ parts:plugin: go# Snapcraft will look in this location for the source of the applicationsource: .- go-importpath: github.com/chrislusf/seaweedfs+ go-importpath: github.com/seaweedfs/seaweedfsgo:# Defines the version of golang which will be bootstrapped into the snapsource-tag: go1.14diff --git a/unmaintained/change_superblock/change_superblock.go b/unmaintained/change_superblock/change_superblock.goindex 56342a0cb1..27876272c8 100644--- a/unmaintained/change_superblock/change_superblock.go+++ b/unmaintained/change_superblock/change_superblock.go@@ -7,10 +7,10 @@ import ("path""strconv"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/storage/backend"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block")var (diff --git a/unmaintained/diff_volume_servers/diff_volume_servers.go b/unmaintained/diff_volume_servers/diff_volume_servers.goindex 815eeae546..698d7dd3ba 100644--- a/unmaintained/diff_volume_servers/diff_volume_servers.go+++ b/unmaintained/diff_volume_servers/diff_volume_servers.go@@ -10,15 +10,15 @@ import ("math""os"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/operation"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- "github.com/chrislusf/seaweedfs/weed/security"- "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"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/storage/idx"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/util""google.golang.org/grpc")diff --git a/unmaintained/fix_dat/fix_dat.go b/unmaintained/fix_dat/fix_dat.goindex 457c5c592a..760fc79cac 100644--- a/unmaintained/fix_dat/fix_dat.go+++ b/unmaintained/fix_dat/fix_dat.go@@ -8,12 +8,12 @@ import ("path""strconv"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/storage/backend"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"- "github.com/chrislusf/seaweedfs/weed/storage/types"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/util")var (diff --git a/unmaintained/load_test/load_test_meta_tail/load_test_meta_tail.go b/unmaintained/load_test/load_test_meta_tail/load_test_meta_tail.goindex 5ba73c65b2..98bb75dffd 100644--- a/unmaintained/load_test/load_test_meta_tail/load_test_meta_tail.go+++ b/unmaintained/load_test/load_test_meta_tail/load_test_meta_tail.go@@ -3,9 +3,9 @@ package mainimport ("flag""fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb""google.golang.org/grpc""strconv""time"diff --git a/unmaintained/remove_duplicate_fids/remove_duplicate_fids.go b/unmaintained/remove_duplicate_fids/remove_duplicate_fids.goindex 84173a663b..354707c817 100644--- a/unmaintained/remove_duplicate_fids/remove_duplicate_fids.go+++ b/unmaintained/remove_duplicate_fids/remove_duplicate_fids.go@@ -6,11 +6,11 @@ import ("os""path/filepath"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/storage"- "github.com/chrislusf/seaweedfs/weed/storage/backend"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block")var (diff --git a/unmaintained/repeated_vacuum/repeated_vacuum.go b/unmaintained/repeated_vacuum/repeated_vacuum.goindex 937e764bb1..2316940944 100644--- a/unmaintained/repeated_vacuum/repeated_vacuum.go+++ b/unmaintained/repeated_vacuum/repeated_vacuum.go@@ -3,16 +3,16 @@ package mainimport ("flag""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb""log""math/rand""time""google.golang.org/grpc"- "github.com/chrislusf/seaweedfs/weed/operation"- "github.com/chrislusf/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/util")var (diff --git a/unmaintained/see_dat/see_dat.go b/unmaintained/see_dat/see_dat.goindex 17c4948416..8ac7732236 100644--- a/unmaintained/see_dat/see_dat.go+++ b/unmaintained/see_dat/see_dat.go@@ -2,13 +2,13 @@ package mainimport ("flag"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util""time"- "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/super_block"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block")var (diff --git a/unmaintained/see_idx/see_idx.go b/unmaintained/see_idx/see_idx.goindex 616263b1c6..856d96d544 100644--- a/unmaintained/see_idx/see_idx.go+++ b/unmaintained/see_idx/see_idx.go@@ -7,11 +7,11 @@ import ("path""strconv"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/storage/idx"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage/idx"+ "github.com/seaweedfs/seaweedfs/weed/storage/types")var (diff --git a/unmaintained/see_log_entry/see_log_entry.go b/unmaintained/see_log_entry/see_log_entry.goindex 45480d4dc2..1bd3ed1c89 100644--- a/unmaintained/see_log_entry/see_log_entry.go+++ b/unmaintained/see_log_entry/see_log_entry.go@@ -9,13 +9,13 @@ import ("github.com/golang/protobuf/proto"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")var (- logdataFile = flag.String("logdata", "", "log data file saved under "+ filer.SystemLogDir)+ logdataFile = flag.String("logdata", "", "log data file saved under "+filer.SystemLogDir))func main() {diff --git a/unmaintained/see_meta/see_meta.go b/unmaintained/see_meta/see_meta.goindex 9e496430cb..c3e2c0023a 100644--- a/unmaintained/see_meta/see_meta.go+++ b/unmaintained/see_meta/see_meta.go@@ -9,8 +9,8 @@ import ("github.com/golang/protobuf/proto"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")var (diff --git a/unmaintained/stream_read_volume/stream_read_volume.go b/unmaintained/stream_read_volume/stream_read_volume.goindex bbe5abedb7..b002c5061e 100644--- a/unmaintained/stream_read_volume/stream_read_volume.go+++ b/unmaintained/stream_read_volume/stream_read_volume.go@@ -5,11 +5,11 @@ import ("errors""flag""fmt"- "github.com/chrislusf/seaweedfs/weed/operation"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- "github.com/chrislusf/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/util""google.golang.org/grpc""io")diff --git a/unmaintained/volume_tailer/volume_tailer.go b/unmaintained/volume_tailer/volume_tailer.goindex 3c6f4a9870..8a352dbb84 100644--- a/unmaintained/volume_tailer/volume_tailer.go+++ b/unmaintained/volume_tailer/volume_tailer.go@@ -2,14 +2,14 @@ package mainimport ("flag"- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb""log""time"- "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/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ util2 "github.com/seaweedfs/seaweedfs/weed/util""golang.org/x/tools/godoc/util")@@ -38,7 +38,7 @@ func main() {sinceTimeNs = time.Now().Add(-*rewindDuration).UnixNano()}- err := operation.TailVolume(func()pb.ServerAddress{return pb.ServerAddress(*master)}, grpcDialOption, vid, uint64(sinceTimeNs), *timeoutSeconds, func(n *needle.Needle) (err error) {+ err := operation.TailVolume(func() pb.ServerAddress { return pb.ServerAddress(*master) }, grpcDialOption, vid, uint64(sinceTimeNs), *timeoutSeconds, func(n *needle.Needle) (err error) {if n.Size == 0 {println("-", n.String())return nildiff --git a/weed/cluster/cluster.go b/weed/cluster/cluster.goindex c320065d53..f0d8e3fb78 100644--- a/weed/cluster/cluster.go+++ b/weed/cluster/cluster.go@@ -1,8 +1,8 @@package clusterimport (- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb""math""sync""time"diff --git a/weed/cluster/cluster_test.go b/weed/cluster/cluster_test.goindex 57ee4a0231..53e90a7b8a 100644--- a/weed/cluster/cluster_test.go+++ b/weed/cluster/cluster_test.go@@ -1,7 +1,7 @@package clusterimport (- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb""github.com/stretchr/testify/assert""strconv""sync"diff --git a/weed/cluster/master_client.go b/weed/cluster/master_client.goindex b9b1673f3f..d1e769c1d5 100644--- a/weed/cluster/master_client.go+++ b/weed/cluster/master_client.go@@ -2,9 +2,9 @@ package clusterimport ("context"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb""google.golang.org/grpc")diff --git a/weed/command/autocomplete.go b/weed/command/autocomplete.goindex 955ce40062..f63c8df410 100644--- a/weed/command/autocomplete.go+++ b/weed/command/autocomplete.go@@ -2,9 +2,9 @@ package commandimport ("fmt"- flag "github.com/chrislusf/seaweedfs/weed/util/fla9""github.com/posener/complete"completeinstall "github.com/posener/complete/cmd/install"+ flag "github.com/seaweedfs/seaweedfs/weed/util/fla9""runtime")diff --git a/weed/command/backup.go b/weed/command/backup.goindex c43b0d351e..3b14705d7a 100644--- a/weed/command/backup.go+++ b/weed/command/backup.go@@ -2,15 +2,15 @@ package commandimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/util"- "github.com/chrislusf/seaweedfs/weed/operation"- "github.com/chrislusf/seaweedfs/weed/storage"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/storage")var (diff --git a/weed/command/benchmark.go b/weed/command/benchmark.goindex d600e32b58..41aadc6dbb 100644--- a/weed/command/benchmark.go+++ b/weed/command/benchmark.go@@ -3,7 +3,7 @@ package commandimport ("bufio""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb""io""math""math/rand"@@ -16,11 +16,11 @@ import ("google.golang.org/grpc"- "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"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/wdclient")type BenchmarkOptions struct {diff --git a/weed/command/command.go b/weed/command/command.goindex 512cd6f8f9..9fdf057e7e 100644--- a/weed/command/command.go+++ b/weed/command/command.go@@ -5,7 +5,7 @@ import ("os""strings"- flag "github.com/chrislusf/seaweedfs/weed/util/fla9"+ flag "github.com/seaweedfs/seaweedfs/weed/util/fla9")var Commands = []*Command{diff --git a/weed/command/compact.go b/weed/command/compact.goindex 6df28440a9..6c390ea1f3 100644--- a/weed/command/compact.go+++ b/weed/command/compact.go@@ -1,10 +1,10 @@package commandimport (- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/storage"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/command/download.go b/weed/command/download.goindex a3c05b53d9..de33643fc6 100644--- a/weed/command/download.go+++ b/weed/command/download.go@@ -10,10 +10,10 @@ import ("google.golang.org/grpc"- "github.com/chrislusf/seaweedfs/weed/operation"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/util")var (diff --git a/weed/command/export.go b/weed/command/export.goindex 1c32e10506..e09d570568 100644--- a/weed/command/export.go+++ b/weed/command/export.go@@ -13,13 +13,13 @@ import ("text/template""time"- "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/needle_map"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"- "github.com/chrislusf/seaweedfs/weed/storage/types"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle_map"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/util")const (diff --git a/weed/command/filer.go b/weed/command/filer.goindex 7e0e92d4a7..7418a189b3 100644--- a/weed/command/filer.go+++ b/weed/command/filer.go@@ -12,14 +12,14 @@ import ("google.golang.org/grpc/reflection"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/security"- weed_server "github.com/chrislusf/seaweedfs/weed/server"- stats_collect "github.com/chrislusf/seaweedfs/weed/stats"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/security"+ weed_server "github.com/seaweedfs/seaweedfs/weed/server"+ stats_collect "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/util")var (diff --git a/weed/command/filer_backup.go b/weed/command/filer_backup.goindex 62477227be..30b6c49628 100644--- a/weed/command/filer_backup.go+++ b/weed/command/filer_backup.go@@ -2,11 +2,11 @@ package commandimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/replication/source"- "github.com/chrislusf/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/replication/source"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/util""google.golang.org/grpc""strings""time"diff --git a/weed/command/filer_cat.go b/weed/command/filer_cat.goindex ada843dea5..c5ae7672eb 100644--- a/weed/command/filer_cat.go+++ b/weed/command/filer_cat.go@@ -3,17 +3,17 @@ package commandimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/wdclient"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/wdclient""google.golang.org/grpc""net/url""os""strings"- "github.com/chrislusf/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/util")var (diff --git a/weed/command/filer_copy.go b/weed/command/filer_copy.goindex f20ae99bfd..042952f7d0 100644--- a/weed/command/filer_copy.go+++ b/weed/command/filer_copy.go@@ -14,15 +14,15 @@ import ("google.golang.org/grpc"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/operation"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/util"- "github.com/chrislusf/seaweedfs/weed/util/grace"- "github.com/chrislusf/seaweedfs/weed/wdclient"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util/grace"+ "github.com/seaweedfs/seaweedfs/weed/wdclient")var (diff --git a/weed/command/filer_meta_backup.go b/weed/command/filer_meta_backup.goindex 54cfc31b7d..05ad5ec2f2 100644--- a/weed/command/filer_meta_backup.go+++ b/weed/command/filer_meta_backup.go@@ -3,17 +3,17 @@ package commandimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog""github.com/spf13/viper""google.golang.org/grpc""reflect""time"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/util")var (diff --git a/weed/command/filer_meta_tail.go b/weed/command/filer_meta_tail.goindex e319e93e6b..adacf49784 100644--- a/weed/command/filer_meta_tail.go+++ b/weed/command/filer_meta_tail.go@@ -2,16 +2,16 @@ package commandimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/pb""github.com/golang/protobuf/jsonpb"+ "github.com/seaweedfs/seaweedfs/weed/pb""os""path/filepath""strings""time"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/command/filer_meta_tail_elastic.go b/weed/command/filer_meta_tail_elastic.goindex 5776c4f97f..a72f889023 100644--- a/weed/command/filer_meta_tail_elastic.go+++ b/weed/command/filer_meta_tail_elastic.go@@ -5,10 +5,10 @@ package commandimport ("context"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"jsoniter "github.com/json-iterator/go"elastic "github.com/olivere/elastic/v7"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util""strings")diff --git a/weed/command/filer_meta_tail_non_elastic.go b/weed/command/filer_meta_tail_non_elastic.goindex f78f3ee092..989e32bec5 100644--- a/weed/command/filer_meta_tail_non_elastic.go+++ b/weed/command/filer_meta_tail_non_elastic.go@@ -4,7 +4,7 @@package commandimport (- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb")func sendToElasticSearchFunc(servers string, esIndex string) (func(resp *filer_pb.SubscribeMetadataResponse) error, error) {diff --git a/weed/command/filer_remote_gateway.go b/weed/command/filer_remote_gateway.goindex 9389ff79b4..8d9421d8e1 100644--- a/weed/command/filer_remote_gateway.go+++ b/weed/command/filer_remote_gateway.go@@ -3,13 +3,13 @@ package commandimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/remote_pb"- "github.com/chrislusf/seaweedfs/weed/replication/source"- "github.com/chrislusf/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb"+ "github.com/seaweedfs/seaweedfs/weed/replication/source"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/util""google.golang.org/grpc""os""time"diff --git a/weed/command/filer_remote_gateway_buckets.go b/weed/command/filer_remote_gateway_buckets.goindex 121f461141..bdba71085d 100644--- a/weed/command/filer_remote_gateway_buckets.go+++ b/weed/command/filer_remote_gateway_buckets.go@@ -2,16 +2,16 @@ package commandimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/remote_pb"- "github.com/chrislusf/seaweedfs/weed/remote_storage"- "github.com/chrislusf/seaweedfs/weed/replication/source"- "github.com/chrislusf/seaweedfs/weed/s3api/s3_constants"- "github.com/chrislusf/seaweedfs/weed/util""github.com/golang/protobuf/proto"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb"+ "github.com/seaweedfs/seaweedfs/weed/remote_storage"+ "github.com/seaweedfs/seaweedfs/weed/replication/source"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants"+ "github.com/seaweedfs/seaweedfs/weed/util""math""math/rand""path/filepath"diff --git a/weed/command/filer_remote_sync.go b/weed/command/filer_remote_sync.goindex 49334f13dc..e7f6f971b7 100644--- a/weed/command/filer_remote_sync.go+++ b/weed/command/filer_remote_sync.go@@ -2,12 +2,12 @@ package commandimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/replication/source"- "github.com/chrislusf/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/replication/source"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/util""google.golang.org/grpc""time")diff --git a/weed/command/filer_remote_sync_dir.go b/weed/command/filer_remote_sync_dir.goindex b54bfcf71b..14aed2465f 100644--- a/weed/command/filer_remote_sync_dir.go+++ b/weed/command/filer_remote_sync_dir.go@@ -7,15 +7,15 @@ import ("strings""time"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/remote_pb"- "github.com/chrislusf/seaweedfs/weed/remote_storage"- "github.com/chrislusf/seaweedfs/weed/replication/source"- "github.com/chrislusf/seaweedfs/weed/util""github.com/golang/protobuf/proto"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb"+ "github.com/seaweedfs/seaweedfs/weed/remote_storage"+ "github.com/seaweedfs/seaweedfs/weed/replication/source"+ "github.com/seaweedfs/seaweedfs/weed/util""google.golang.org/grpc")diff --git a/weed/command/filer_replication.go b/weed/command/filer_replication.goindex bf0a3e140f..ec965a5e3d 100644--- a/weed/command/filer_replication.go+++ b/weed/command/filer_replication.go@@ -4,11 +4,11 @@ import ("context""strings"- "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/sub"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/replication"+ "github.com/seaweedfs/seaweedfs/weed/replication/sink"+ "github.com/seaweedfs/seaweedfs/weed/replication/sub"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/command/filer_sync.go b/weed/command/filer_sync.goindex abf13a81d3..fe1606d8c1 100644--- a/weed/command/filer_sync.go+++ b/weed/command/filer_sync.go@@ -4,17 +4,17 @@ import ("context""errors""fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/replication"- "github.com/chrislusf/seaweedfs/weed/replication/sink"- "github.com/chrislusf/seaweedfs/weed/replication/sink/filersink"- "github.com/chrislusf/seaweedfs/weed/replication/source"- "github.com/chrislusf/seaweedfs/weed/security"- statsCollect "github.com/chrislusf/seaweedfs/weed/stats"- "github.com/chrislusf/seaweedfs/weed/util"- "github.com/chrislusf/seaweedfs/weed/util/grace"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/replication"+ "github.com/seaweedfs/seaweedfs/weed/replication/sink"+ "github.com/seaweedfs/seaweedfs/weed/replication/sink/filersink"+ "github.com/seaweedfs/seaweedfs/weed/replication/source"+ "github.com/seaweedfs/seaweedfs/weed/security"+ statsCollect "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util/grace""google.golang.org/grpc""os""strings"diff --git a/weed/command/fix.go b/weed/command/fix.goindex d19496a79d..8ab879d3b7 100644--- a/weed/command/fix.go+++ b/weed/command/fix.go@@ -8,13 +8,13 @@ import ("strconv""strings"- "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/needle_map"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"- "github.com/chrislusf/seaweedfs/weed/storage/types"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle_map"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/command/iam.go b/weed/command/iam.goindex 968d230955..43234aa70a 100644--- a/weed/command/iam.go+++ b/weed/command/iam.go@@ -5,13 +5,13 @@ import ("fmt""net/http"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/iamapi"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/util""github.com/gorilla/mux"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/iamapi"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/util""time")diff --git a/weed/command/imports.go b/weed/command/imports.goindex afdbc5a10d..bcc9e173be 100644--- a/weed/command/imports.go+++ b/weed/command/imports.go@@ -3,34 +3,34 @@ package commandimport (_ "net/http/pprof"- _ "github.com/chrislusf/seaweedfs/weed/remote_storage/azure"- _ "github.com/chrislusf/seaweedfs/weed/remote_storage/gcs"- _ "github.com/chrislusf/seaweedfs/weed/remote_storage/s3"+ _ "github.com/seaweedfs/seaweedfs/weed/remote_storage/azure"+ _ "github.com/seaweedfs/seaweedfs/weed/remote_storage/gcs"+ _ "github.com/seaweedfs/seaweedfs/weed/remote_storage/s3"- _ "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/localsink"- _ "github.com/chrislusf/seaweedfs/weed/replication/sink/s3sink"+ _ "github.com/seaweedfs/seaweedfs/weed/replication/sink/azuresink"+ _ "github.com/seaweedfs/seaweedfs/weed/replication/sink/b2sink"+ _ "github.com/seaweedfs/seaweedfs/weed/replication/sink/filersink"+ _ "github.com/seaweedfs/seaweedfs/weed/replication/sink/gcssink"+ _ "github.com/seaweedfs/seaweedfs/weed/replication/sink/localsink"+ _ "github.com/seaweedfs/seaweedfs/weed/replication/sink/s3sink"- _ "github.com/chrislusf/seaweedfs/weed/filer/arangodb"- _ "github.com/chrislusf/seaweedfs/weed/filer/cassandra"- _ "github.com/chrislusf/seaweedfs/weed/filer/elastic/v7"- _ "github.com/chrislusf/seaweedfs/weed/filer/etcd"- _ "github.com/chrislusf/seaweedfs/weed/filer/hbase"- _ "github.com/chrislusf/seaweedfs/weed/filer/leveldb"- _ "github.com/chrislusf/seaweedfs/weed/filer/leveldb2"- _ "github.com/chrislusf/seaweedfs/weed/filer/leveldb3"- _ "github.com/chrislusf/seaweedfs/weed/filer/mongodb"- _ "github.com/chrislusf/seaweedfs/weed/filer/mysql"- _ "github.com/chrislusf/seaweedfs/weed/filer/mysql2"- _ "github.com/chrislusf/seaweedfs/weed/filer/postgres"- _ "github.com/chrislusf/seaweedfs/weed/filer/postgres2"- _ "github.com/chrislusf/seaweedfs/weed/filer/redis"- _ "github.com/chrislusf/seaweedfs/weed/filer/redis2"- _ "github.com/chrislusf/seaweedfs/weed/filer/redis3"- _ "github.com/chrislusf/seaweedfs/weed/filer/sqlite"- _ "github.com/chrislusf/seaweedfs/weed/filer/tikv"- _ "github.com/chrislusf/seaweedfs/weed/filer/ydb"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/arangodb"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/cassandra"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/elastic/v7"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/etcd"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/hbase"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/leveldb"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/leveldb2"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/leveldb3"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/mongodb"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/mysql"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/mysql2"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/postgres"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/postgres2"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/redis"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/redis2"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/redis3"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/sqlite"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/tikv"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/ydb")diff --git a/weed/command/master.go b/weed/command/master.goindex 448c3491ff..93c2bb57d3 100644--- a/weed/command/master.go+++ b/weed/command/master.go@@ -9,21 +9,21 @@ import ("strings""time"- stats_collect "github.com/chrislusf/seaweedfs/weed/stats""github.com/gorilla/mux""github.com/seaweedfs/raft/protobuf"+ stats_collect "github.com/seaweedfs/seaweedfs/weed/stats""github.com/spf13/viper""google.golang.org/grpc/reflection"- "github.com/chrislusf/seaweedfs/weed/util/grace"+ "github.com/seaweedfs/seaweedfs/weed/util/grace"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/security"- weed_server "github.com/chrislusf/seaweedfs/weed/server"- "github.com/chrislusf/seaweedfs/weed/storage/backend"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/security"+ weed_server "github.com/seaweedfs/seaweedfs/weed/server"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend"+ "github.com/seaweedfs/seaweedfs/weed/util")var (@@ -174,7 +174,7 @@ func startMaster(masterOption MasterOptions, masterWhiteList []string) {} else {raftServer, err = weed_server.NewRaftServer(raftServerOption)if raftServer == nil {- glog.Fatalf("please verify %s is writable, see https://github.com/chrislusf/seaweedfs/issues/717: %s", *masterOption.metaFolder, err)+ glog.Fatalf("please verify %s is writable, see https://github.com/seaweedfs/seaweedfs/issues/717: %s", *masterOption.metaFolder, err)}}ms.SetRaftServer(raftServer)diff --git a/weed/command/master_follower.go b/weed/command/master_follower.goindex ec7d2758f3..5e5244c059 100644--- a/weed/command/master_follower.go+++ b/weed/command/master_follower.go@@ -7,13 +7,13 @@ import ("time""github.com/aws/aws-sdk-go/aws"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/security"- weed_server "github.com/chrislusf/seaweedfs/weed/server"- "github.com/chrislusf/seaweedfs/weed/util""github.com/gorilla/mux"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/security"+ weed_server "github.com/seaweedfs/seaweedfs/weed/server"+ "github.com/seaweedfs/seaweedfs/weed/util""google.golang.org/grpc/reflection")diff --git a/weed/command/mount_std.go b/weed/command/mount_std.goindex 1aff3c5bb4..db5899109a 100644--- a/weed/command/mount_std.go+++ b/weed/command/mount_std.go@@ -6,16 +6,16 @@ package commandimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/mount"- "github.com/chrislusf/seaweedfs/weed/mount/meta_cache"- "github.com/chrislusf/seaweedfs/weed/mount/unmount"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/mount_pb"- "github.com/chrislusf/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/storage/types""github.com/hanwen/go-fuse/v2/fuse"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/mount"+ "github.com/seaweedfs/seaweedfs/weed/mount/meta_cache"+ "github.com/seaweedfs/seaweedfs/weed/mount/unmount"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/mount_pb"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/storage/types""google.golang.org/grpc/reflection""net""net/http"@@ -26,8 +26,8 @@ import ("strings""time"- "github.com/chrislusf/seaweedfs/weed/util"- "github.com/chrislusf/seaweedfs/weed/util/grace"+ "github.com/seaweedfs/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util/grace")func runMount(cmd *Command, args []string) bool {diff --git a/weed/command/mq_broker.go b/weed/command/mq_broker.goindex 1b31d01411..e4087ad2c1 100644--- a/weed/command/mq_broker.go+++ b/weed/command/mq_broker.go@@ -3,14 +3,14 @@ package commandimport ("google.golang.org/grpc/reflection"- "github.com/chrislusf/seaweedfs/weed/util/grace"-- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/mq/broker"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/mq_pb"- "github.com/chrislusf/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util/grace"++ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/mq/broker"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/mq_pb"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/util")var (diff --git a/weed/command/s3.go b/weed/command/s3.goindex 42e447d908..8e88bfc2ce 100644--- a/weed/command/s3.go+++ b/weed/command/s3.go@@ -3,22 +3,22 @@ package commandimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/s3api/s3err"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err""google.golang.org/grpc/reflection""net/http""time"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/s3_pb"- "github.com/chrislusf/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/s3_pb"+ "github.com/seaweedfs/seaweedfs/weed/security""github.com/gorilla/mux"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/s3api"- stats_collect "github.com/chrislusf/seaweedfs/weed/stats"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/s3api"+ stats_collect "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/util")var (diff --git a/weed/command/scaffold.go b/weed/command/scaffold.goindex fb81f99661..2c3a89adaf 100644--- a/weed/command/scaffold.go+++ b/weed/command/scaffold.go@@ -2,10 +2,10 @@ package commandimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util""path/filepath"- "github.com/chrislusf/seaweedfs/weed/command/scaffold"+ "github.com/seaweedfs/seaweedfs/weed/command/scaffold")func init() {diff --git a/weed/command/server.go b/weed/command/server.goindex b993d9428f..f7cfa4805f 100644--- a/weed/command/server.go+++ b/weed/command/server.go@@ -7,12 +7,12 @@ import ("strings""time"- stats_collect "github.com/chrislusf/seaweedfs/weed/stats"+ stats_collect "github.com/seaweedfs/seaweedfs/weed/stats"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/util"- "github.com/chrislusf/seaweedfs/weed/util/grace"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util/grace")type ServerOptions struct {diff --git a/weed/command/shell.go b/weed/command/shell.goindex c32a8e6141..f562f624e3 100644--- a/weed/command/shell.go+++ b/weed/command/shell.go@@ -2,11 +2,11 @@ package commandimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/shell"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/shell"+ "github.com/seaweedfs/seaweedfs/weed/util")var (diff --git a/weed/command/update.go b/weed/command/update.goindex 2d0dc42ade..aa974e6820 100644--- a/weed/command/update.go+++ b/weed/command/update.go@@ -19,8 +19,8 @@ import ("strings""time"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/util""golang.org/x/net/context/ctxhttp")@@ -76,8 +76,8 @@ func init() {var cmdUpdate = &Command{UsageLine: "update [-dir=/path/to/dir] [-name=name] [-version=x.xx]",- Short: "get latest or specific version from https://github.com/chrislusf/seaweedfs",- Long: `get latest or specific version from https://github.com/chrislusf/seaweedfs`,+ Short: "get latest or specific version from https://github.com/seaweedfs/seaweedfs",+ Long: `get latest or specific version from https://github.com/seaweedfs/seaweedfs`,}func runUpdate(cmd *Command, args []string) bool {diff --git a/weed/command/upload.go b/weed/command/upload.goindex f2b0b7fe48..389a725521 100644--- a/weed/command/upload.go+++ b/weed/command/upload.go@@ -4,15 +4,15 @@ import ("context""encoding/json""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb""google.golang.org/grpc""os""path/filepath"- "github.com/chrislusf/seaweedfs/weed/operation"- "github.com/chrislusf/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/util")var (diff --git a/weed/command/version.go b/weed/command/version.goindex 9caf7dc4ec..8e95746918 100644--- a/weed/command/version.go+++ b/weed/command/version.go@@ -4,7 +4,7 @@ import ("fmt""runtime"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util")var cmdVersion = &Command{diff --git a/weed/command/volume.go b/weed/command/volume.goindex 158bdf1629..45d13ac1f4 100644--- a/weed/command/volume.go+++ b/weed/command/volume.go@@ -10,25 +10,25 @@ import ("strings""time"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/storage/types""github.com/spf13/viper""google.golang.org/grpc"- "github.com/chrislusf/seaweedfs/weed/util/grace"+ "github.com/seaweedfs/seaweedfs/weed/util/grace"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/util/httpdown"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/util/httpdown""google.golang.org/grpc/reflection"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- weed_server "github.com/chrislusf/seaweedfs/weed/server"- stats_collect "github.com/chrislusf/seaweedfs/weed/stats"- "github.com/chrislusf/seaweedfs/weed/storage"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ weed_server "github.com/seaweedfs/seaweedfs/weed/server"+ stats_collect "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/storage"+ "github.com/seaweedfs/seaweedfs/weed/util")var (diff --git a/weed/command/volume_test.go b/weed/command/volume_test.goindex 7399f12489..801041a88c 100644--- a/weed/command/volume_test.go+++ b/weed/command/volume_test.go@@ -5,7 +5,7 @@ import ("testing""time"- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/glog")func TestXYZ(t *testing.T) {diff --git a/weed/command/webdav.go b/weed/command/webdav.goindex 689bf3c30b..ea19ad1a72 100644--- a/weed/command/webdav.go+++ b/weed/command/webdav.go@@ -9,12 +9,12 @@ import ("strconv""time"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/server"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/server"+ "github.com/seaweedfs/seaweedfs/weed/util")var (diff --git a/weed/filer/abstract_sql/abstract_sql_store.go b/weed/filer/abstract_sql/abstract_sql_store.goindex a159d5272c..40b719f276 100644--- a/weed/filer/abstract_sql/abstract_sql_store.go+++ b/weed/filer/abstract_sql/abstract_sql_store.go@@ -4,10 +4,10 @@ import ("context""database/sql""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util""strings""sync")diff --git a/weed/filer/abstract_sql/abstract_sql_store_kv.go b/weed/filer/abstract_sql/abstract_sql_store_kv.goindex aaf1c196cf..221902aaaa 100644--- a/weed/filer/abstract_sql/abstract_sql_store_kv.go+++ b/weed/filer/abstract_sql/abstract_sql_store_kv.go@@ -5,9 +5,9 @@ import ("database/sql""encoding/base64""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/util""strings")diff --git a/weed/filer/arangodb/arangodb_store.go b/weed/filer/arangodb/arangodb_store.goindex 13d14b2b05..75e65f7e0d 100644--- a/weed/filer/arangodb/arangodb_store.go+++ b/weed/filer/arangodb/arangodb_store.go@@ -11,10 +11,10 @@ import ("github.com/arangodb/go-driver""github.com/arangodb/go-driver/http"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/filer/arangodb/arangodb_store_bucket.go b/weed/filer/arangodb/arangodb_store_bucket.goindex 810d639a79..b35a5c9b37 100644--- a/weed/filer/arangodb/arangodb_store_bucket.go+++ b/weed/filer/arangodb/arangodb_store_bucket.go@@ -5,9 +5,9 @@ import ("github.com/arangodb/go-driver""time"- "github.com/chrislusf/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/glog")var _ filer.BucketAware = (*ArangodbStore)(nil)diff --git a/weed/filer/arangodb/arangodb_store_kv.go b/weed/filer/arangodb/arangodb_store_kv.goindex c1307e78dc..2ca85ccce7 100644--- a/weed/filer/arangodb/arangodb_store_kv.go+++ b/weed/filer/arangodb/arangodb_store_kv.go@@ -5,8 +5,8 @@ import ("fmt""github.com/arangodb/go-driver"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog")func (store *ArangodbStore) KvPut(ctx context.Context, key []byte, value []byte) (err error) {diff --git a/weed/filer/arangodb/helpers.go b/weed/filer/arangodb/helpers.goindex 943189781d..35796a8f85 100644--- a/weed/filer/arangodb/helpers.go+++ b/weed/filer/arangodb/helpers.go@@ -9,7 +9,7 @@ import ("strings""github.com/arangodb/go-driver"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util")//convert a string into arango-key safe hex bytes hashdiff --git a/weed/filer/cassandra/cassandra_store.go b/weed/filer/cassandra/cassandra_store.goindex d8c094a457..49ff29c44c 100644--- a/weed/filer/cassandra/cassandra_store.go+++ b/weed/filer/cassandra/cassandra_store.go@@ -6,10 +6,10 @@ import ("github.com/gocql/gocql""time"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/filer/cassandra/cassandra_store_kv.go b/weed/filer/cassandra/cassandra_store_kv.goindex 3e97302380..79ce3d2a03 100644--- a/weed/filer/cassandra/cassandra_store_kv.go+++ b/weed/filer/cassandra/cassandra_store_kv.go@@ -4,8 +4,8 @@ import ("context""encoding/base64""fmt"- "github.com/chrislusf/seaweedfs/weed/filer""github.com/gocql/gocql"+ "github.com/seaweedfs/seaweedfs/weed/filer")func (store *CassandraStore) KvPut(ctx context.Context, key []byte, value []byte) (err error) {diff --git a/weed/filer/configuration.go b/weed/filer/configuration.goindex 85fc65d132..563ef1d559 100644--- a/weed/filer/configuration.go+++ b/weed/filer/configuration.go@@ -1,8 +1,8 @@package filerimport (- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/util""os""reflect""strings"diff --git a/weed/filer/elastic/v7/elastic_store.go b/weed/filer/elastic/v7/elastic_store.goindex cb2c66f5a0..7bd34852f4 100644--- a/weed/filer/elastic/v7/elastic_store.go+++ b/weed/filer/elastic/v7/elastic_store.go@@ -9,12 +9,12 @@ import ("math""strings"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- weed_util "github.com/chrislusf/seaweedfs/weed/util"jsoniter "github.com/json-iterator/go"elastic "github.com/olivere/elastic/v7"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ weed_util "github.com/seaweedfs/seaweedfs/weed/util")var (diff --git a/weed/filer/elastic/v7/elastic_store_kv.go b/weed/filer/elastic/v7/elastic_store_kv.goindex 43835c1538..8861254316 100644--- a/weed/filer/elastic/v7/elastic_store_kv.go+++ b/weed/filer/elastic/v7/elastic_store_kv.go@@ -7,11 +7,11 @@ import ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"jsoniter "github.com/json-iterator/go"elastic "github.com/olivere/elastic/v7"+ "github.com/seaweedfs/seaweedfs/weed/glog")func (store *ElasticStore) KvDelete(ctx context.Context, key []byte) (err error) {diff --git a/weed/filer/entry.go b/weed/filer/entry.goindex 8dd00f0100..eae6624d68 100644--- a/weed/filer/entry.go+++ b/weed/filer/entry.go@@ -4,8 +4,8 @@ import ("os""time"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")type Attr struct {diff --git a/weed/filer/entry_codec.go b/weed/filer/entry_codec.goindex 3d29ba0b46..4b142885d8 100644--- a/weed/filer/entry_codec.go+++ b/weed/filer/entry_codec.go@@ -8,7 +8,7 @@ import ("github.com/golang/protobuf/proto"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb")func (entry *Entry) EncodeAttributesAndChunks() ([]byte, error) {diff --git a/weed/filer/etcd/etcd_store.go b/weed/filer/etcd/etcd_store.goindex 0dd7dbee2e..26b9ae1f60 100644--- a/weed/filer/etcd/etcd_store.go+++ b/weed/filer/etcd/etcd_store.go@@ -9,10 +9,10 @@ import ("go.etcd.io/etcd/client/v3"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- weed_util "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ weed_util "github.com/seaweedfs/seaweedfs/weed/util")const (diff --git a/weed/filer/etcd/etcd_store_kv.go b/weed/filer/etcd/etcd_store_kv.goindex df252f46cf..fe887e4f19 100644--- a/weed/filer/etcd/etcd_store_kv.go+++ b/weed/filer/etcd/etcd_store_kv.go@@ -3,7 +3,7 @@ package etcdimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/filer")func (store *EtcdStore) KvPut(ctx context.Context, key []byte, value []byte) (err error) {diff --git a/weed/filer/etcd/etcd_store_test.go b/weed/filer/etcd/etcd_store_test.goindex 824c28f5a8..03b676982d 100644--- a/weed/filer/etcd/etcd_store_test.go+++ b/weed/filer/etcd/etcd_store_test.go@@ -1,7 +1,7 @@package etcdimport (- "github.com/chrislusf/seaweedfs/weed/filer/store_test"+ "github.com/seaweedfs/seaweedfs/weed/filer/store_test""testing")diff --git a/weed/filer/filechunk_manifest.go b/weed/filer/filechunk_manifest.goindex 4eb657dfa5..bc6c5ef77a 100644--- a/weed/filer/filechunk_manifest.go+++ b/weed/filer/filechunk_manifest.go@@ -10,13 +10,13 @@ import ("sync""time"- "github.com/chrislusf/seaweedfs/weed/wdclient"+ "github.com/seaweedfs/seaweedfs/weed/wdclient""github.com/golang/protobuf/proto"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")const (diff --git a/weed/filer/filechunk_manifest_test.go b/weed/filer/filechunk_manifest_test.goindex ce12c5da6e..a03f26a6d0 100644--- a/weed/filer/filechunk_manifest_test.go+++ b/weed/filer/filechunk_manifest_test.go@@ -7,7 +7,7 @@ import ("github.com/stretchr/testify/assert"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb")func TestDoMaybeManifestize(t *testing.T) {diff --git a/weed/filer/filechunks.go b/weed/filer/filechunks.goindex 4c732ddcda..3b99e07854 100644--- a/weed/filer/filechunks.go+++ b/weed/filer/filechunks.go@@ -3,12 +3,12 @@ package filerimport ("bytes""fmt"- "github.com/chrislusf/seaweedfs/weed/wdclient"+ "github.com/seaweedfs/seaweedfs/weed/wdclient""golang.org/x/exp/slices""math"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")func TotalSize(chunks []*filer_pb.FileChunk) (size uint64) {diff --git a/weed/filer/filechunks2_test.go b/weed/filer/filechunks2_test.goindex 39dec87c98..fe35b4a052 100644--- a/weed/filer/filechunks2_test.go+++ b/weed/filer/filechunks2_test.go@@ -4,8 +4,8 @@ import ("golang.org/x/exp/slices""testing"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb")func TestCompactFileChunksRealCase(t *testing.T) {diff --git a/weed/filer/filechunks_read.go b/weed/filer/filechunks_read.goindex 1d0bd837ad..96ea92afbe 100644--- a/weed/filer/filechunks_read.go+++ b/weed/filer/filechunks_read.go@@ -1,7 +1,7 @@package filerimport (- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb""golang.org/x/exp/slices")diff --git a/weed/filer/filechunks_read_test.go b/weed/filer/filechunks_read_test.goindex e70c66e6f8..b3fa52ebdd 100644--- a/weed/filer/filechunks_read_test.go+++ b/weed/filer/filechunks_read_test.go@@ -2,7 +2,7 @@ package filerimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb""math/rand""testing")diff --git a/weed/filer/filechunks_test.go b/weed/filer/filechunks_test.goindex b0ea208483..c3d3d51c6e 100644--- a/weed/filer/filechunks_test.go+++ b/weed/filer/filechunks_test.go@@ -10,7 +10,7 @@ import ("github.com/stretchr/testify/assert"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb")func TestCompactFileChunks(t *testing.T) {diff --git a/weed/filer/filer.go b/weed/filer/filer.goindex fcb22fec64..9931751123 100644--- a/weed/filer/filer.go+++ b/weed/filer/filer.go@@ -3,9 +3,9 @@ package filerimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/cluster"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/cluster"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb""os""sort""strings"@@ -13,11 +13,11 @@ import ("google.golang.org/grpc"- "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/util/log_buffer"- "github.com/chrislusf/seaweedfs/weed/wdclient"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util/log_buffer"+ "github.com/seaweedfs/seaweedfs/weed/wdclient")const (diff --git a/weed/filer/filer_conf.go b/weed/filer/filer_conf.goindex 32fc647d92..2636699601 100644--- a/weed/filer/filer_conf.go+++ b/weed/filer/filer_conf.go@@ -4,15 +4,15 @@ import ("bytes""context""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/wdclient"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/wdclient""google.golang.org/grpc""io"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util""github.com/golang/protobuf/jsonpb"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util""github.com/viant/ptrie")diff --git a/weed/filer/filer_conf_test.go b/weed/filer/filer_conf_test.goindex 1576c7d82b..02615b8140 100644--- a/weed/filer/filer_conf_test.go+++ b/weed/filer/filer_conf_test.go@@ -3,7 +3,7 @@ package filerimport ("testing"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb""github.com/stretchr/testify/assert")diff --git a/weed/filer/filer_delete_entry.go b/weed/filer/filer_delete_entry.goindex 0fc2f6c3cf..169d77d7b9 100644--- a/weed/filer/filer_delete_entry.go+++ b/weed/filer/filer_delete_entry.go@@ -3,10 +3,10 @@ package filerimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")const (diff --git a/weed/filer/filer_deletion.go b/weed/filer/filer_deletion.goindex e73f94151e..bdc556f24b 100644--- a/weed/filer/filer_deletion.go+++ b/weed/filer/filer_deletion.go@@ -5,10 +5,10 @@ import ("strings""time"- "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/wdclient"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/wdclient")func LookupByMasterClientFn(masterClient *wdclient.MasterClient) func(vids []string) (map[string]*operation.LookupResult, error) {diff --git a/weed/filer/filer_hardlink.go b/weed/filer/filer_hardlink.goindex 7a91602fd1..cad153d79b 100644--- a/weed/filer/filer_hardlink.go+++ b/weed/filer/filer_hardlink.go@@ -1,7 +1,7 @@package filerimport (- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util")const (diff --git a/weed/filer/filer_notify.go b/weed/filer/filer_notify.goindex 66c77631ed..2757e6c652 100644--- a/weed/filer/filer_notify.go+++ b/weed/filer/filer_notify.go@@ -10,10 +10,10 @@ import ("github.com/golang/protobuf/proto"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/notification"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/notification"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")func (f *Filer) NotifyUpdateEvent(ctx context.Context, oldEntry, newEntry *Entry, deleteChunks, isFromOtherCluster bool, signatures []int32) {diff --git a/weed/filer/filer_notify_append.go b/weed/filer/filer_notify_append.goindex 25b99d0f70..94d976f1ee 100644--- a/weed/filer/filer_notify_append.go+++ b/weed/filer/filer_notify_append.go@@ -6,9 +6,9 @@ import ("os""time"- "github.com/chrislusf/seaweedfs/weed/operation"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")func (f *Filer) appendToFile(targetFile string, data []byte) error {diff --git a/weed/filer/filer_notify_test.go b/weed/filer/filer_notify_test.goindex 6a2be8f186..4d2983d00d 100644--- a/weed/filer/filer_notify_test.go+++ b/weed/filer/filer_notify_test.go@@ -4,8 +4,8 @@ import ("testing""time"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util""github.com/golang/protobuf/proto")diff --git a/weed/filer/filer_on_meta_event.go b/weed/filer/filer_on_meta_event.goindex 79176821f6..fe3fe23c4a 100644--- a/weed/filer/filer_on_meta_event.go+++ b/weed/filer/filer_on_meta_event.go@@ -2,9 +2,9 @@ package filerimport ("bytes"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")// onMetadataChangeEvent is triggered after filer processed change events from local or remote filersdiff --git a/weed/filer/filer_rename.go b/weed/filer/filer_rename.goindex b6f0cf6deb..fdd6051a8e 100644--- a/weed/filer/filer_rename.go+++ b/weed/filer/filer_rename.go@@ -2,7 +2,7 @@ package filerimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util""strings")diff --git a/weed/filer/filer_search.go b/weed/filer/filer_search.goindex 112df79842..6c7ba0747c 100644--- a/weed/filer/filer_search.go+++ b/weed/filer/filer_search.go@@ -2,7 +2,7 @@ package filerimport ("context"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util""math""path/filepath""strings"diff --git a/weed/filer/filerstore.go b/weed/filer/filerstore.goindex 260945b336..87e212ea50 100644--- a/weed/filer/filerstore.go+++ b/weed/filer/filerstore.go@@ -3,7 +3,7 @@ package filerimport ("context""errors"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util""io")diff --git a/weed/filer/filerstore_hardlink.go b/weed/filer/filerstore_hardlink.goindex ae2f5fee7c..12402e82f1 100644--- a/weed/filer/filerstore_hardlink.go+++ b/weed/filer/filerstore_hardlink.go@@ -4,8 +4,8 @@ import ("bytes""context""fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb")func (fsw *FilerStoreWrapper) handleUpdateToHardLinks(ctx context.Context, entry *Entry) error {diff --git a/weed/filer/filerstore_translate_path.go b/weed/filer/filerstore_translate_path.goindex 9e74dd41cd..900154fde1 100644--- a/weed/filer/filerstore_translate_path.go+++ b/weed/filer/filerstore_translate_path.go@@ -2,7 +2,7 @@ package filerimport ("context"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util""math""strings")diff --git a/weed/filer/filerstore_wrapper.go b/weed/filer/filerstore_wrapper.goindex 3ece25ce6e..4e2f4834f7 100644--- a/weed/filer/filerstore_wrapper.go+++ b/weed/filer/filerstore_wrapper.go@@ -2,16 +2,16 @@ package filerimport ("context"- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/glog""github.com/viant/ptrie""io""math""strings""time"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/stats"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/util")var (diff --git a/weed/filer/hbase/hbase_store.go b/weed/filer/hbase/hbase_store.goindex c5d6eb48c9..1bd5b519f4 100644--- a/weed/filer/hbase/hbase_store.go+++ b/weed/filer/hbase/hbase_store.go@@ -4,10 +4,10 @@ import ("bytes""context""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util""github.com/tsuna/gohbase""github.com/tsuna/gohbase/hrpc""io"diff --git a/weed/filer/hbase/hbase_store_kv.go b/weed/filer/hbase/hbase_store_kv.goindex 990e55a24a..0939b87527 100644--- a/weed/filer/hbase/hbase_store_kv.go+++ b/weed/filer/hbase/hbase_store_kv.go@@ -2,7 +2,7 @@ package hbaseimport ("context"- "github.com/chrislusf/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/filer""github.com/tsuna/gohbase/hrpc""time")diff --git a/weed/filer/leveldb/leveldb_store.go b/weed/filer/leveldb/leveldb_store.goindex 6abb37f990..ebf63e5d32 100644--- a/weed/filer/leveldb/leveldb_store.go+++ b/weed/filer/leveldb/leveldb_store.go@@ -12,10 +12,10 @@ import ("io""os"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- weed_util "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ weed_util "github.com/seaweedfs/seaweedfs/weed/util")const (diff --git a/weed/filer/leveldb/leveldb_store_kv.go b/weed/filer/leveldb/leveldb_store_kv.goindex f686cbf213..7f6507f27a 100644--- a/weed/filer/leveldb/leveldb_store_kv.go+++ b/weed/filer/leveldb/leveldb_store_kv.go@@ -3,7 +3,7 @@ package leveldbimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/filer""github.com/syndtr/goleveldb/leveldb")diff --git a/weed/filer/leveldb/leveldb_store_test.go b/weed/filer/leveldb/leveldb_store_test.goindex 4cd8b88e83..7013f67a77 100644--- a/weed/filer/leveldb/leveldb_store_test.go+++ b/weed/filer/leveldb/leveldb_store_test.go@@ -7,8 +7,8 @@ import ("testing""time"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/util")func TestCreateAndFind(t *testing.T) {diff --git a/weed/filer/leveldb2/leveldb2_store.go b/weed/filer/leveldb2/leveldb2_store.goindex d68493bd75..9befbdc1c0 100644--- a/weed/filer/leveldb2/leveldb2_store.go+++ b/weed/filer/leveldb2/leveldb2_store.go@@ -14,10 +14,10 @@ import ("github.com/syndtr/goleveldb/leveldb/opt"leveldb_util "github.com/syndtr/goleveldb/leveldb/util"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- weed_util "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ weed_util "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/filer/leveldb2/leveldb2_store_kv.go b/weed/filer/leveldb2/leveldb2_store_kv.goindex b415d3c321..3d65f98e89 100644--- a/weed/filer/leveldb2/leveldb2_store_kv.go+++ b/weed/filer/leveldb2/leveldb2_store_kv.go@@ -4,7 +4,7 @@ import ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/filer""github.com/syndtr/goleveldb/leveldb")diff --git a/weed/filer/leveldb2/leveldb2_store_test.go b/weed/filer/leveldb2/leveldb2_store_test.goindex 1f8e331161..f7ec99e067 100644--- a/weed/filer/leveldb2/leveldb2_store_test.go+++ b/weed/filer/leveldb2/leveldb2_store_test.go@@ -4,8 +4,8 @@ import ("context""testing"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/util")func TestCreateAndFind(t *testing.T) {diff --git a/weed/filer/leveldb3/leveldb3_store.go b/weed/filer/leveldb3/leveldb3_store.goindex 8da4a9e7f1..4ceeb0bbbd 100644--- a/weed/filer/leveldb3/leveldb3_store.go+++ b/weed/filer/leveldb3/leveldb3_store.go@@ -16,10 +16,10 @@ import ("github.com/syndtr/goleveldb/leveldb/opt"leveldb_util "github.com/syndtr/goleveldb/leveldb/util"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- weed_util "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ weed_util "github.com/seaweedfs/seaweedfs/weed/util")const (diff --git a/weed/filer/leveldb3/leveldb3_store_bucket.go b/weed/filer/leveldb3/leveldb3_store_bucket.goindex 823fe363bc..8cd3732aed 100644--- a/weed/filer/leveldb3/leveldb3_store_bucket.go+++ b/weed/filer/leveldb3/leveldb3_store_bucket.go@@ -1,7 +1,7 @@package leveldbimport (- "github.com/chrislusf/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/filer""os")diff --git a/weed/filer/leveldb3/leveldb3_store_kv.go b/weed/filer/leveldb3/leveldb3_store_kv.goindex 18d782b803..a40909f900 100644--- a/weed/filer/leveldb3/leveldb3_store_kv.go+++ b/weed/filer/leveldb3/leveldb3_store_kv.go@@ -4,7 +4,7 @@ import ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/filer""github.com/syndtr/goleveldb/leveldb")diff --git a/weed/filer/leveldb3/leveldb3_store_test.go b/weed/filer/leveldb3/leveldb3_store_test.goindex 823c3a1bf5..e2e4d5099a 100644--- a/weed/filer/leveldb3/leveldb3_store_test.go+++ b/weed/filer/leveldb3/leveldb3_store_test.go@@ -4,8 +4,8 @@ import ("context""testing"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/util")func TestCreateAndFind(t *testing.T) {diff --git a/weed/filer/meta_aggregator.go b/weed/filer/meta_aggregator.goindex a6c32428db..e684e9bd83 100644--- a/weed/filer/meta_aggregator.go+++ b/weed/filer/meta_aggregator.go@@ -3,9 +3,9 @@ package filerimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/cluster"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/cluster"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/util""io""strings""sync"@@ -14,10 +14,10 @@ import ("github.com/golang/protobuf/proto""google.golang.org/grpc"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util/log_buffer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util/log_buffer")type MetaAggregator struct {diff --git a/weed/filer/meta_replay.go b/weed/filer/meta_replay.goindex feb76278bb..51c4e69877 100644--- a/weed/filer/meta_replay.go+++ b/weed/filer/meta_replay.go@@ -3,9 +3,9 @@ package filerimport ("context"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")func Replay(filerStore FilerStore, resp *filer_pb.SubscribeMetadataResponse) error {diff --git a/weed/filer/mongodb/mongodb_store.go b/weed/filer/mongodb/mongodb_store.goindex 83686bfe7c..f4ab566035 100644--- a/weed/filer/mongodb/mongodb_store.go+++ b/weed/filer/mongodb/mongodb_store.go@@ -3,10 +3,10 @@ package mongodbimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util""go.mongodb.org/mongo-driver/bson""go.mongodb.org/mongo-driver/mongo""go.mongodb.org/mongo-driver/mongo/options"diff --git a/weed/filer/mongodb/mongodb_store_kv.go b/weed/filer/mongodb/mongodb_store_kv.goindex 59b8f1d939..f52dbfc034 100644--- a/weed/filer/mongodb/mongodb_store_kv.go+++ b/weed/filer/mongodb/mongodb_store_kv.go@@ -3,8 +3,8 @@ package mongodbimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog""go.mongodb.org/mongo-driver/bson""go.mongodb.org/mongo-driver/mongo""go.mongodb.org/mongo-driver/mongo/options"diff --git a/weed/filer/mysql/mysql_sql_gen.go b/weed/filer/mysql/mysql_sql_gen.goindex 93d3e3f9eb..3b0fc940ed 100644--- a/weed/filer/mysql/mysql_sql_gen.go+++ b/weed/filer/mysql/mysql_sql_gen.go@@ -3,8 +3,8 @@ package mysqlimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/filer/abstract_sql"_ "github.com/go-sql-driver/mysql"+ "github.com/seaweedfs/seaweedfs/weed/filer/abstract_sql")type SqlGenMysql struct {diff --git a/weed/filer/mysql/mysql_store.go b/weed/filer/mysql/mysql_store.goindex fbaa4d5f9a..97e066ce3c 100644--- a/weed/filer/mysql/mysql_store.go+++ b/weed/filer/mysql/mysql_store.go@@ -5,11 +5,11 @@ import ("fmt""time"- "github.com/chrislusf/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/filer/abstract_sql"- "github.com/chrislusf/seaweedfs/weed/util"_ "github.com/go-sql-driver/mysql"+ "github.com/seaweedfs/seaweedfs/weed/filer/abstract_sql"+ "github.com/seaweedfs/seaweedfs/weed/util")const (diff --git a/weed/filer/mysql2/mysql2_store.go b/weed/filer/mysql2/mysql2_store.goindex 792c79e44a..6d4229580f 100644--- a/weed/filer/mysql2/mysql2_store.go+++ b/weed/filer/mysql2/mysql2_store.go@@ -7,11 +7,11 @@ import ("strings""time"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/filer/abstract_sql"- "github.com/chrislusf/seaweedfs/weed/filer/mysql"- "github.com/chrislusf/seaweedfs/weed/util"_ "github.com/go-sql-driver/mysql"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/filer/abstract_sql"+ "github.com/seaweedfs/seaweedfs/weed/filer/mysql"+ "github.com/seaweedfs/seaweedfs/weed/util")const (diff --git a/weed/filer/postgres/postgres_sql_gen.go b/weed/filer/postgres/postgres_sql_gen.goindex 6cee3d2da9..e8ed2cd474 100644--- a/weed/filer/postgres/postgres_sql_gen.go+++ b/weed/filer/postgres/postgres_sql_gen.go@@ -3,8 +3,8 @@ package postgresimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/filer/abstract_sql"_ "github.com/lib/pq"+ "github.com/seaweedfs/seaweedfs/weed/filer/abstract_sql")type SqlGenPostgres struct {diff --git a/weed/filer/postgres/postgres_store.go b/weed/filer/postgres/postgres_store.goindex a1e16a92ae..ed38babcd1 100644--- a/weed/filer/postgres/postgres_store.go+++ b/weed/filer/postgres/postgres_store.go@@ -5,10 +5,10 @@ import ("fmt""time"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/filer/abstract_sql"- "github.com/chrislusf/seaweedfs/weed/util"_ "github.com/lib/pq"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/filer/abstract_sql"+ "github.com/seaweedfs/seaweedfs/weed/util")const (diff --git a/weed/filer/postgres2/postgres2_store.go b/weed/filer/postgres2/postgres2_store.goindex 3c57e4cb45..d95b1c424c 100644--- a/weed/filer/postgres2/postgres2_store.go+++ b/weed/filer/postgres2/postgres2_store.go@@ -6,11 +6,11 @@ import ("fmt""time"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/filer/abstract_sql"- "github.com/chrislusf/seaweedfs/weed/filer/postgres"- "github.com/chrislusf/seaweedfs/weed/util"_ "github.com/lib/pq"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/filer/abstract_sql"+ "github.com/seaweedfs/seaweedfs/weed/filer/postgres"+ "github.com/seaweedfs/seaweedfs/weed/util")const (diff --git a/weed/filer/read_remote.go b/weed/filer/read_remote.goindex 6372dac72b..cf0d8cbee5 100644--- a/weed/filer/read_remote.go+++ b/weed/filer/read_remote.go@@ -2,9 +2,9 @@ package filerimport ("context"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/remote_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")func (entry *Entry) IsInRemoteOnly() bool {diff --git a/weed/filer/read_write.go b/weed/filer/read_write.goindex 8d0e6567be..3aef33a032 100644--- a/weed/filer/read_write.go+++ b/weed/filer/read_write.go@@ -4,8 +4,8 @@ import ("bytes""time"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/wdclient"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/wdclient")func ReadEntry(masterClient *wdclient.MasterClient, filerClient filer_pb.SeaweedFilerClient, dir, name string, byteBuffer *bytes.Buffer) error {diff --git a/weed/filer/reader_at.go b/weed/filer/reader_at.goindex b938083d84..70228705bf 100644--- a/weed/filer/reader_at.go+++ b/weed/filer/reader_at.go@@ -7,11 +7,11 @@ import ("math/rand""sync"- "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/util/chunk_cache"- "github.com/chrislusf/seaweedfs/weed/wdclient"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util/chunk_cache"+ "github.com/seaweedfs/seaweedfs/weed/wdclient")type ChunkReadAt struct {diff --git a/weed/filer/reader_cache.go b/weed/filer/reader_cache.goindex 4f375e7645..bb7f4c87ed 100644--- a/weed/filer/reader_cache.go+++ b/weed/filer/reader_cache.go@@ -2,9 +2,9 @@ package filerimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/util/chunk_cache"- "github.com/chrislusf/seaweedfs/weed/util/mem"- "github.com/chrislusf/seaweedfs/weed/wdclient"+ "github.com/seaweedfs/seaweedfs/weed/util/chunk_cache"+ "github.com/seaweedfs/seaweedfs/weed/util/mem"+ "github.com/seaweedfs/seaweedfs/weed/wdclient""sync""time")diff --git a/weed/filer/redis/redis_cluster_store.go b/weed/filer/redis/redis_cluster_store.goindex 9572058a84..b24a9f5d3c 100644--- a/weed/filer/redis/redis_cluster_store.go+++ b/weed/filer/redis/redis_cluster_store.go@@ -1,9 +1,9 @@package redisimport (- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/util""github.com/go-redis/redis/v8"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/filer/redis/redis_store.go b/weed/filer/redis/redis_store.goindex 665352a636..c3f7194e6f 100644--- a/weed/filer/redis/redis_store.go+++ b/weed/filer/redis/redis_store.go@@ -1,9 +1,9 @@package redisimport (- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/util""github.com/go-redis/redis/v8"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/filer/redis/universal_redis_store.go b/weed/filer/redis/universal_redis_store.goindex 89684647bb..f5dc513c40 100644--- a/weed/filer/redis/universal_redis_store.go+++ b/weed/filer/redis/universal_redis_store.go@@ -9,10 +9,10 @@ import ("github.com/go-redis/redis/v8"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")const (diff --git a/weed/filer/redis/universal_redis_store_kv.go b/weed/filer/redis/universal_redis_store_kv.goindex ad6e389ed5..12ab70ceca 100644--- a/weed/filer/redis/universal_redis_store_kv.go+++ b/weed/filer/redis/universal_redis_store_kv.go@@ -4,8 +4,8 @@ import ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/filer""github.com/go-redis/redis/v8"+ "github.com/seaweedfs/seaweedfs/weed/filer")func (store *UniversalRedisStore) KvPut(ctx context.Context, key []byte, value []byte) (err error) {diff --git a/weed/filer/redis2/redis_cluster_store.go b/weed/filer/redis2/redis_cluster_store.goindex 22d09da25e..835bb51543 100644--- a/weed/filer/redis2/redis_cluster_store.go+++ b/weed/filer/redis2/redis_cluster_store.go@@ -1,9 +1,9 @@package redis2import (- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/util""github.com/go-redis/redis/v8"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/filer/redis2/redis_sentinel_store.go b/weed/filer/redis2/redis_sentinel_store.goindex 802588b2bf..313977dc7d 100644--- a/weed/filer/redis2/redis_sentinel_store.go+++ b/weed/filer/redis2/redis_sentinel_store.go@@ -1,9 +1,9 @@package redis2import (- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/util""github.com/go-redis/redis/v8"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/util""time")diff --git a/weed/filer/redis2/redis_store.go b/weed/filer/redis2/redis_store.goindex 8eb97e374f..52b29121dc 100644--- a/weed/filer/redis2/redis_store.go+++ b/weed/filer/redis2/redis_store.go@@ -1,9 +1,9 @@package redis2import (- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/util""github.com/go-redis/redis/v8"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/filer/redis2/universal_redis_store.go b/weed/filer/redis2/universal_redis_store.goindex 7a34092a0c..8b23472b95 100644--- a/weed/filer/redis2/universal_redis_store.go+++ b/weed/filer/redis2/universal_redis_store.go@@ -7,10 +7,10 @@ import ("github.com/go-redis/redis/v8"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")const (diff --git a/weed/filer/redis2/universal_redis_store_kv.go b/weed/filer/redis2/universal_redis_store_kv.goindex bde994dc9f..a68a3449cf 100644--- a/weed/filer/redis2/universal_redis_store_kv.go+++ b/weed/filer/redis2/universal_redis_store_kv.go@@ -4,8 +4,8 @@ import ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/filer""github.com/go-redis/redis/v8"+ "github.com/seaweedfs/seaweedfs/weed/filer")func (store *UniversalRedis2Store) KvPut(ctx context.Context, key []byte, value []byte) (err error) {diff --git a/weed/filer/redis3/ItemList.go b/weed/filer/redis3/ItemList.goindex af3b8ae5a0..7c53c9b2cb 100644--- a/weed/filer/redis3/ItemList.go+++ b/weed/filer/redis3/ItemList.go@@ -4,8 +4,8 @@ import ("bytes""context""fmt"- "github.com/chrislusf/seaweedfs/weed/util/skiplist""github.com/go-redis/redis/v8"+ "github.com/seaweedfs/seaweedfs/weed/util/skiplist")type ItemList struct {diff --git a/weed/filer/redis3/item_list_serde.go b/weed/filer/redis3/item_list_serde.goindex d0310ce408..6f0ac66e26 100644--- a/weed/filer/redis3/item_list_serde.go+++ b/weed/filer/redis3/item_list_serde.go@@ -1,10 +1,10 @@package redis3import (- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/util/skiplist""github.com/go-redis/redis/v8""github.com/golang/protobuf/proto"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/util/skiplist")func LoadItemList(data []byte, prefix string, client redis.UniversalClient, store skiplist.ListStore, batchSize int) *ItemList {diff --git a/weed/filer/redis3/kv_directory_children.go b/weed/filer/redis3/kv_directory_children.goindex d92dddfe69..422500ed75 100644--- a/weed/filer/redis3/kv_directory_children.go+++ b/weed/filer/redis3/kv_directory_children.go@@ -3,8 +3,8 @@ package redis3import ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/glog""github.com/go-redis/redis/v8"+ "github.com/seaweedfs/seaweedfs/weed/glog")const maxNameBatchSizeLimit = 1000000diff --git a/weed/filer/redis3/redis_cluster_store.go b/weed/filer/redis3/redis_cluster_store.goindex 73fc0dd20e..1efa8e9b0a 100644--- a/weed/filer/redis3/redis_cluster_store.go+++ b/weed/filer/redis3/redis_cluster_store.go@@ -1,11 +1,11 @@package redis3import (- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/util""github.com/go-redis/redis/v8""github.com/go-redsync/redsync/v4""github.com/go-redsync/redsync/v4/redis/goredis/v8"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/filer/redis3/redis_sentinel_store.go b/weed/filer/redis3/redis_sentinel_store.goindex a87302167d..4135d99561 100644--- a/weed/filer/redis3/redis_sentinel_store.go+++ b/weed/filer/redis3/redis_sentinel_store.go@@ -3,11 +3,11 @@ package redis3import ("time"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/util""github.com/go-redis/redis/v8""github.com/go-redsync/redsync/v4""github.com/go-redsync/redsync/v4/redis/goredis/v8"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/filer/redis3/redis_store.go b/weed/filer/redis3/redis_store.goindex 2eec3d37ad..9b98459e63 100644--- a/weed/filer/redis3/redis_store.go+++ b/weed/filer/redis3/redis_store.go@@ -1,11 +1,11 @@package redis3import (- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/util""github.com/go-redis/redis/v8""github.com/go-redsync/redsync/v4""github.com/go-redsync/redsync/v4/redis/goredis/v8"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/filer/redis3/skiplist_element_store.go b/weed/filer/redis3/skiplist_element_store.goindex 8c101d006e..7d885c2202 100644--- a/weed/filer/redis3/skiplist_element_store.go+++ b/weed/filer/redis3/skiplist_element_store.go@@ -3,10 +3,10 @@ package redis3import ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/util/skiplist""github.com/go-redis/redis/v8""github.com/golang/protobuf/proto"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/util/skiplist")type SkipListElementStore struct {diff --git a/weed/filer/redis3/universal_redis_store.go b/weed/filer/redis3/universal_redis_store.goindex 10a87e2a45..b076f78e7b 100644--- a/weed/filer/redis3/universal_redis_store.go+++ b/weed/filer/redis3/universal_redis_store.go@@ -8,10 +8,10 @@ import ("github.com/go-redis/redis/v8"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")const (diff --git a/weed/filer/redis3/universal_redis_store_kv.go b/weed/filer/redis3/universal_redis_store_kv.goindex a9c440a375..280eb4a964 100644--- a/weed/filer/redis3/universal_redis_store_kv.go+++ b/weed/filer/redis3/universal_redis_store_kv.go@@ -4,8 +4,8 @@ import ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/filer""github.com/go-redis/redis/v8"+ "github.com/seaweedfs/seaweedfs/weed/filer")func (store *UniversalRedis3Store) KvPut(ctx context.Context, key []byte, value []byte) (err error) {diff --git a/weed/filer/redis_lua/redis_cluster_store.go b/weed/filer/redis_lua/redis_cluster_store.goindex b68d1092c4..ae274bb098 100644--- a/weed/filer/redis_lua/redis_cluster_store.go+++ b/weed/filer/redis_lua/redis_cluster_store.go@@ -1,9 +1,9 @@package redis_luaimport (- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/util""github.com/go-redis/redis/v8"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/filer/redis_lua/redis_sentinel_store.go b/weed/filer/redis_lua/redis_sentinel_store.goindex 5530c098eb..ac8ae75d7d 100644--- a/weed/filer/redis_lua/redis_sentinel_store.go+++ b/weed/filer/redis_lua/redis_sentinel_store.go@@ -1,9 +1,9 @@package redis_luaimport (- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/util""github.com/go-redis/redis/v8"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/util""time")diff --git a/weed/filer/redis_lua/redis_store.go b/weed/filer/redis_lua/redis_store.goindex a7d11c73c3..e88f3a3dc9 100644--- a/weed/filer/redis_lua/redis_store.go+++ b/weed/filer/redis_lua/redis_store.go@@ -1,9 +1,9 @@package redis_luaimport (- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/util""github.com/go-redis/redis/v8"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/filer/redis_lua/universal_redis_store.go b/weed/filer/redis_lua/universal_redis_store.goindex 0ab0f2f243..7da279fb67 100644--- a/weed/filer/redis_lua/universal_redis_store.go+++ b/weed/filer/redis_lua/universal_redis_store.go@@ -7,11 +7,11 @@ import ("github.com/go-redis/redis/v8"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/filer/redis_lua/stored_procedure"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/filer/redis_lua/stored_procedure"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")const (diff --git a/weed/filer/redis_lua/universal_redis_store_kv.go b/weed/filer/redis_lua/universal_redis_store_kv.goindex 3df980b667..a03ae6573d 100644--- a/weed/filer/redis_lua/universal_redis_store_kv.go+++ b/weed/filer/redis_lua/universal_redis_store_kv.go@@ -4,8 +4,8 @@ import ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/filer""github.com/go-redis/redis/v8"+ "github.com/seaweedfs/seaweedfs/weed/filer")func (store *UniversalRedisLuaStore) KvPut(ctx context.Context, key []byte, value []byte) (err error) {diff --git a/weed/filer/remote_mapping.go b/weed/filer/remote_mapping.goindex b0534e2cab..3451773ad9 100644--- a/weed/filer/remote_mapping.go+++ b/weed/filer/remote_mapping.go@@ -2,10 +2,10 @@ package filerimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/remote_pb""github.com/golang/protobuf/proto"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb""google.golang.org/grpc")diff --git a/weed/filer/remote_storage.go b/weed/filer/remote_storage.goindex 5362ba7385..2933508af7 100644--- a/weed/filer/remote_storage.go+++ b/weed/filer/remote_storage.go@@ -3,17 +3,17 @@ package filerimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/remote_pb"- "github.com/chrislusf/seaweedfs/weed/remote_storage"- "github.com/chrislusf/seaweedfs/weed/util""github.com/golang/protobuf/proto"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb"+ "github.com/seaweedfs/seaweedfs/weed/remote_storage"+ "github.com/seaweedfs/seaweedfs/weed/util""google.golang.org/grpc""math""strings"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb""github.com/viant/ptrie")diff --git a/weed/filer/remote_storage_test.go b/weed/filer/remote_storage_test.goindex 9f4d7af2f8..b3785db855 100644--- a/weed/filer/remote_storage_test.go+++ b/weed/filer/remote_storage_test.go@@ -1,7 +1,7 @@package filerimport (- "github.com/chrislusf/seaweedfs/weed/pb/remote_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb""github.com/stretchr/testify/assert""testing")diff --git a/weed/filer/rocksdb/README.md b/weed/filer/rocksdb/README.mdindex 6bae6d34e7..8eb9051e94 100644--- a/weed/filer/rocksdb/README.md+++ b/weed/filer/rocksdb/README.md@@ -36,6 +36,6 @@ go get github.com/tecbot/gorocksdb# compile with rocksdb```-cd ~/go/src/github.com/chrislusf/seaweedfs/weed+cd ~/go/src/github.com/seaweedfs/seaweedfs/weedgo install -tags rocksdb```diff --git a/weed/filer/rocksdb/rocksdb_store.go b/weed/filer/rocksdb/rocksdb_store.goindex f48c3988cd..64de3ec082 100644--- a/weed/filer/rocksdb/rocksdb_store.go+++ b/weed/filer/rocksdb/rocksdb_store.go@@ -1,3 +1,4 @@+//go:build rocksdb// +build rocksdbpackage rocksdb@@ -12,10 +13,10 @@ import (gorocksdb "github.com/linxGnu/grocksdb"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- weed_util "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ weed_util "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/filer/rocksdb/rocksdb_store_kv.go b/weed/filer/rocksdb/rocksdb_store_kv.goindex cf1214d5be..b94aab1ec8 100644--- a/weed/filer/rocksdb/rocksdb_store_kv.go+++ b/weed/filer/rocksdb/rocksdb_store_kv.go@@ -1,3 +1,4 @@+//go:build rocksdb// +build rocksdbpackage rocksdb@@ -6,7 +7,7 @@ import ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/filer")func (store *RocksDBStore) KvPut(ctx context.Context, key []byte, value []byte) (err error) {diff --git a/weed/filer/rocksdb/rocksdb_store_test.go b/weed/filer/rocksdb/rocksdb_store_test.goindex faabcd3417..e89327baa1 100644--- a/weed/filer/rocksdb/rocksdb_store_test.go+++ b/weed/filer/rocksdb/rocksdb_store_test.go@@ -10,8 +10,8 @@ import ("testing""time"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/util")func TestCreateAndFind(t *testing.T) {diff --git a/weed/filer/rocksdb/rocksdb_ttl.go b/weed/filer/rocksdb/rocksdb_ttl.goindex 7e96430835..08ad31061a 100644--- a/weed/filer/rocksdb/rocksdb_ttl.go+++ b/weed/filer/rocksdb/rocksdb_ttl.go@@ -1,4 +1,5 @@-//+build rocksdb+//go:build rocksdb+// +build rocksdbpackage rocksdb@@ -7,7 +8,7 @@ import (gorocksdb "github.com/linxGnu/grocksdb"- "github.com/chrislusf/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/filer")type TTLFilter struct {diff --git a/weed/filer/s3iam_conf.go b/weed/filer/s3iam_conf.goindex d8f3c24459..ee55a09c18 100644--- a/weed/filer/s3iam_conf.go+++ b/weed/filer/s3iam_conf.go@@ -5,9 +5,9 @@ import ("fmt""io"- "github.com/chrislusf/seaweedfs/weed/pb/iam_pb""github.com/golang/protobuf/jsonpb""github.com/golang/protobuf/proto"+ "github.com/seaweedfs/seaweedfs/weed/pb/iam_pb")func ParseS3ConfigurationFromBytes[T proto.Message](content []byte, config T) error {diff --git a/weed/filer/s3iam_conf_test.go b/weed/filer/s3iam_conf_test.goindex bd9eb85aee..66944aa44a 100644--- a/weed/filer/s3iam_conf_test.go+++ b/weed/filer/s3iam_conf_test.go@@ -4,9 +4,9 @@ import ("bytes""testing"- . "github.com/chrislusf/seaweedfs/weed/s3api/s3_constants"+ . "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants"- "github.com/chrislusf/seaweedfs/weed/pb/iam_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/iam_pb""github.com/stretchr/testify/assert")diff --git a/weed/filer/sqlite/sqlite_store.go b/weed/filer/sqlite/sqlite_store.goindex 70a4bf390c..2bacf051aa 100644--- a/weed/filer/sqlite/sqlite_store.go+++ b/weed/filer/sqlite/sqlite_store.go@@ -11,10 +11,10 @@ import ("database/sql""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/filer/abstract_sql"- "github.com/chrislusf/seaweedfs/weed/filer/mysql"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/filer/abstract_sql"+ "github.com/seaweedfs/seaweedfs/weed/filer/mysql"+ "github.com/seaweedfs/seaweedfs/weed/util"_ "modernc.org/sqlite")diff --git a/weed/filer/store_test/test_suite.go b/weed/filer/store_test/test_suite.goindex ad578442c9..1e41495894 100644--- a/weed/filer/store_test/test_suite.go+++ b/weed/filer/store_test/test_suite.go@@ -3,8 +3,8 @@ package store_testimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/util""github.com/stretchr/testify/assert""os""testing"diff --git a/weed/filer/stream.go b/weed/filer/stream.goindex ed30ce5b01..9ac74d0a0f 100644--- a/weed/filer/stream.go+++ b/weed/filer/stream.go@@ -11,11 +11,11 @@ import ("sync""time"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/stats"- "github.com/chrislusf/seaweedfs/weed/util"- "github.com/chrislusf/seaweedfs/weed/wdclient"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/wdclient")var getLookupFileIdBackoffSchedule = []time.Duration{diff --git a/weed/filer/tikv/tikv_store.go b/weed/filer/tikv/tikv_store.goindex ca6794f9c5..40d1c1dc56 100644--- a/weed/filer/tikv/tikv_store.go+++ b/weed/filer/tikv/tikv_store.go@@ -11,10 +11,10 @@ import ("io""strings"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util""github.com/tikv/client-go/v2/config""github.com/tikv/client-go/v2/txnkv")diff --git a/weed/filer/tikv/tikv_store_kv.go b/weed/filer/tikv/tikv_store_kv.goindex 1d9428c696..a2aaafb7a1 100644--- a/weed/filer/tikv/tikv_store_kv.go+++ b/weed/filer/tikv/tikv_store_kv.go@@ -6,7 +6,7 @@ package tikvimport ("context"- "github.com/chrislusf/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/filer""github.com/tikv/client-go/v2/txnkv")diff --git a/weed/filer/ydb/ydb_queries.go b/weed/filer/ydb/ydb_queries.goindex f1db9a143e..73a8cfeba5 100644--- a/weed/filer/ydb/ydb_queries.go+++ b/weed/filer/ydb/ydb_queries.go@@ -3,7 +3,7 @@package ydb-import asql "github.com/chrislusf/seaweedfs/weed/filer/abstract_sql"+import asql "github.com/seaweedfs/seaweedfs/weed/filer/abstract_sql"const (upsertQuery = `diff --git a/weed/filer/ydb/ydb_store.go b/weed/filer/ydb/ydb_store.goindex d5751bb5a6..7fa4b22894 100644--- a/weed/filer/ydb/ydb_store.go+++ b/weed/filer/ydb/ydb_store.go@@ -6,11 +6,11 @@ package ydbimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/filer/abstract_sql"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/filer/abstract_sql"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util"environ "github.com/ydb-platform/ydb-go-sdk-auth-environ""github.com/ydb-platform/ydb-go-sdk/v3""github.com/ydb-platform/ydb-go-sdk/v3/sugar"diff --git a/weed/filer/ydb/ydb_store_kv.go b/weed/filer/ydb/ydb_store_kv.goindex 72bbfff42f..b5d356b4c3 100644--- a/weed/filer/ydb/ydb_store_kv.go+++ b/weed/filer/ydb/ydb_store_kv.go@@ -6,9 +6,9 @@ package ydbimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/filer/abstract_sql"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/filer/abstract_sql"+ "github.com/seaweedfs/seaweedfs/weed/util""github.com/ydb-platform/ydb-go-sdk/v3/table""github.com/ydb-platform/ydb-go-sdk/v3/table/result/named""github.com/ydb-platform/ydb-go-sdk/v3/table/types"diff --git a/weed/filer/ydb/ydb_store_test.go b/weed/filer/ydb/ydb_store_test.goindex cb3c770182..b692ba29f2 100644--- a/weed/filer/ydb/ydb_store_test.go+++ b/weed/filer/ydb/ydb_store_test.go@@ -4,7 +4,7 @@package ydbimport (- "github.com/chrislusf/seaweedfs/weed/filer/store_test"+ "github.com/seaweedfs/seaweedfs/weed/filer/store_test""testing")diff --git a/weed/ftpd/ftp_server.go b/weed/ftpd/ftp_server.goindex 253ff3edd8..d51f3624dd 100644--- a/weed/ftpd/ftp_server.go+++ b/weed/ftpd/ftp_server.go@@ -3,7 +3,7 @@ package ftpdimport ("crypto/tls""errors"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util""net"ftpserver "github.com/fclairamb/ftpserverlib"diff --git a/weed/glog/glog.go b/weed/glog/glog.goindex 2eaa9d2be9..d8a0109397 100644--- a/weed/glog/glog.go+++ b/weed/glog/glog.go@@ -75,7 +75,7 @@ import ("bytes""errors""fmt"- flag "github.com/chrislusf/seaweedfs/weed/util/fla9"+ flag "github.com/seaweedfs/seaweedfs/weed/util/fla9""io"stdLog "log""os"diff --git a/weed/glog/glog_file.go b/weed/glog/glog_file.goindex 3f700d8fc1..5acafa03ae 100644--- a/weed/glog/glog_file.go+++ b/weed/glog/glog_file.go@@ -21,7 +21,7 @@ package glogimport ("errors""fmt"- flag "github.com/chrislusf/seaweedfs/weed/util/fla9"+ flag "github.com/seaweedfs/seaweedfs/weed/util/fla9""os""os/user""path/filepath"diff --git a/weed/iamapi/iamapi_handlers.go b/weed/iamapi/iamapi_handlers.goindex a59834e888..5007c34c63 100644--- a/weed/iamapi/iamapi_handlers.go+++ b/weed/iamapi/iamapi_handlers.go@@ -3,8 +3,8 @@ package iamapiimport ("fmt""github.com/aws/aws-sdk-go/service/iam"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/s3api/s3err"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err""net/http")diff --git a/weed/iamapi/iamapi_management_handlers.go b/weed/iamapi/iamapi_management_handlers.goindex 77efcf24ea..6a8a1b3d30 100644--- a/weed/iamapi/iamapi_management_handlers.go+++ b/weed/iamapi/iamapi_management_handlers.go@@ -12,10 +12,10 @@ import ("sync""time"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/iam_pb"- "github.com/chrislusf/seaweedfs/weed/s3api/s3_constants"- "github.com/chrislusf/seaweedfs/weed/s3api/s3err"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/iam_pb"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err""github.com/aws/aws-sdk-go/service/iam")diff --git a/weed/iamapi/iamapi_server.go b/weed/iamapi/iamapi_server.goindex cdeb9b9275..ab6de21dbf 100644--- a/weed/iamapi/iamapi_server.go+++ b/weed/iamapi/iamapi_server.go@@ -8,16 +8,16 @@ import ("fmt""net/http"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/iam_pb"- "github.com/chrislusf/seaweedfs/weed/s3api"- . "github.com/chrislusf/seaweedfs/weed/s3api/s3_constants"- "github.com/chrislusf/seaweedfs/weed/s3api/s3err"- "github.com/chrislusf/seaweedfs/weed/util"- "github.com/chrislusf/seaweedfs/weed/wdclient""github.com/gorilla/mux"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/iam_pb"+ "github.com/seaweedfs/seaweedfs/weed/s3api"+ . "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err"+ "github.com/seaweedfs/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/wdclient""google.golang.org/grpc")diff --git a/weed/iamapi/iamapi_test.go b/weed/iamapi/iamapi_test.goindex 375e9a2f34..efd74a0597 100644--- a/weed/iamapi/iamapi_test.go+++ b/weed/iamapi/iamapi_test.go@@ -10,9 +10,9 @@ import ("github.com/aws/aws-sdk-go/aws""github.com/aws/aws-sdk-go/aws/session""github.com/aws/aws-sdk-go/service/iam"- "github.com/chrislusf/seaweedfs/weed/pb/iam_pb""github.com/gorilla/mux""github.com/jinzhu/copier"+ "github.com/seaweedfs/seaweedfs/weed/pb/iam_pb""github.com/stretchr/testify/assert")diff --git a/weed/images/orientation_test.go b/weed/images/orientation_test.goindex 92bf4fb8f9..c90b85a445 100644--- a/weed/images/orientation_test.go+++ b/weed/images/orientation_test.go@@ -1,7 +1,7 @@package imagesimport (- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util""os""testing")diff --git a/weed/images/resizing.go b/weed/images/resizing.goindex 20b9a50308..9d7780e450 100644--- a/weed/images/resizing.go+++ b/weed/images/resizing.go@@ -10,7 +10,7 @@ import ("github.com/disintegration/imaging"- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/glog"_ "golang.org/x/image/webp")diff --git a/weed/images/resizing_test.go b/weed/images/resizing_test.goindex 035c42b4d1..8e4bfaa25a 100644--- a/weed/images/resizing_test.go+++ b/weed/images/resizing_test.go@@ -2,7 +2,7 @@ package imagesimport ("bytes"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util""os""testing")diff --git a/weed/mount/dirty_pages_chunked.go b/weed/mount/dirty_pages_chunked.goindex 52308e0e5c..d0795148b8 100644--- a/weed/mount/dirty_pages_chunked.go+++ b/weed/mount/dirty_pages_chunked.go@@ -2,9 +2,9 @@ package mountimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/mount/page_writer"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/mount/page_writer"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb""io""sync""time"diff --git a/weed/mount/filehandle.go b/weed/mount/filehandle.goindex 0dfcbd7f6d..8175c61f48 100644--- a/weed/mount/filehandle.go+++ b/weed/mount/filehandle.go@@ -1,10 +1,10 @@package mountimport (- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util""golang.org/x/exp/slices""sync")diff --git a/weed/mount/filehandle_map.go b/weed/mount/filehandle_map.goindex e6e2d15c98..a5e1016ca3 100644--- a/weed/mount/filehandle_map.go+++ b/weed/mount/filehandle_map.go@@ -1,7 +1,7 @@package mountimport (- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb""sync")diff --git a/weed/mount/filehandle_read.go b/weed/mount/filehandle_read.goindex 45fc10a0b9..78f3ff5a90 100644--- a/weed/mount/filehandle_read.go+++ b/weed/mount/filehandle_read.go@@ -3,9 +3,9 @@ package mountimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb""io")diff --git a/weed/mount/inode_to_path.go b/weed/mount/inode_to_path.goindex c287f4791b..512d60f45e 100644--- a/weed/mount/inode_to_path.go+++ b/weed/mount/inode_to_path.go@@ -1,9 +1,9 @@package mountimport (- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/util""github.com/hanwen/go-fuse/v2/fuse"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/util""sync""time")diff --git a/weed/mount/inode_to_path_test.go b/weed/mount/inode_to_path_test.goindex 0e7af21ee1..bbe9c4faa6 100644--- a/weed/mount/inode_to_path_test.go+++ b/weed/mount/inode_to_path_test.go@@ -1,7 +1,7 @@package mountimport (- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util""testing")diff --git a/weed/mount/meta_cache/cache_config.go b/weed/mount/meta_cache/cache_config.goindex e6593ebde7..b806df76cf 100644--- a/weed/mount/meta_cache/cache_config.go+++ b/weed/mount/meta_cache/cache_config.go@@ -1,6 +1,6 @@package meta_cache-import "github.com/chrislusf/seaweedfs/weed/util"+import "github.com/seaweedfs/seaweedfs/weed/util"var (_ = util.Configuration(&cacheConfig{})diff --git a/weed/mount/meta_cache/meta_cache.go b/weed/mount/meta_cache/meta_cache.goindex 8c434787a8..9b757afdb8 100644--- a/weed/mount/meta_cache/meta_cache.go+++ b/weed/mount/meta_cache/meta_cache.go@@ -2,11 +2,11 @@ package meta_cacheimport ("context"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/filer/leveldb"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/filer/leveldb"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util""os")diff --git a/weed/mount/meta_cache/meta_cache_init.go b/weed/mount/meta_cache/meta_cache_init.goindex f360f1f2bb..1cab499e04 100644--- a/weed/mount/meta_cache/meta_cache_init.go+++ b/weed/mount/meta_cache/meta_cache_init.go@@ -4,10 +4,10 @@ import ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")func EnsureVisited(mc *MetaCache, client filer_pb.FilerClient, dirPath util.FullPath) error {diff --git a/weed/mount/meta_cache/meta_cache_subscribe.go b/weed/mount/meta_cache/meta_cache_subscribe.goindex 7086cd0a37..8b02058eac 100644--- a/weed/mount/meta_cache/meta_cache_subscribe.go+++ b/weed/mount/meta_cache/meta_cache_subscribe.go@@ -2,11 +2,11 @@ package meta_cacheimport ("context"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")func SubscribeMetaEvents(mc *MetaCache, selfSignature int32, client filer_pb.FilerClient, dir string, lastTsNs int64) error {diff --git a/weed/mount/page_writer.go b/weed/mount/page_writer.goindex 7e3db8e280..6f254108d0 100644--- a/weed/mount/page_writer.go+++ b/weed/mount/page_writer.go@@ -1,8 +1,8 @@package mountimport (- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/mount/page_writer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/mount/page_writer")type PageWriter struct {diff --git a/weed/mount/page_writer/page_chunk_mem.go b/weed/mount/page_writer/page_chunk_mem.goindex 52db6d4f9b..8498ec1e0b 100644--- a/weed/mount/page_writer/page_chunk_mem.go+++ b/weed/mount/page_writer/page_chunk_mem.go@@ -1,8 +1,8 @@package page_writerimport (- "github.com/chrislusf/seaweedfs/weed/util"- "github.com/chrislusf/seaweedfs/weed/util/mem"+ "github.com/seaweedfs/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util/mem""sync/atomic")diff --git a/weed/mount/page_writer/page_chunk_swapfile.go b/weed/mount/page_writer/page_chunk_swapfile.goindex b56589bfce..4fbd18b168 100644--- a/weed/mount/page_writer/page_chunk_swapfile.go+++ b/weed/mount/page_writer/page_chunk_swapfile.go@@ -1,9 +1,9 @@package page_writerimport (- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/util"- "github.com/chrislusf/seaweedfs/weed/util/mem"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util/mem""os""sync")diff --git a/weed/mount/page_writer/upload_pipeline.go b/weed/mount/page_writer/upload_pipeline.goindex 0c7446cad6..4ed5ed7676 100644--- a/weed/mount/page_writer/upload_pipeline.go+++ b/weed/mount/page_writer/upload_pipeline.go@@ -2,8 +2,8 @@ package page_writerimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/util""sync""sync/atomic""time"diff --git a/weed/mount/page_writer/upload_pipeline_test.go b/weed/mount/page_writer/upload_pipeline_test.goindex f130c97c11..27da7036d0 100644--- a/weed/mount/page_writer/upload_pipeline_test.go+++ b/weed/mount/page_writer/upload_pipeline_test.go@@ -1,7 +1,7 @@package page_writerimport (- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util""testing")diff --git a/weed/mount/weedfs.go b/weed/mount/weedfs.goindex f360594f97..06dfb9bbb5 100644--- a/weed/mount/weedfs.go+++ b/weed/mount/weedfs.go@@ -2,17 +2,17 @@ package mountimport ("context"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/mount/meta_cache"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/mount_pb"- "github.com/chrislusf/seaweedfs/weed/storage/types"- "github.com/chrislusf/seaweedfs/weed/util"- "github.com/chrislusf/seaweedfs/weed/util/chunk_cache"- "github.com/chrislusf/seaweedfs/weed/util/grace"- "github.com/chrislusf/seaweedfs/weed/wdclient""github.com/hanwen/go-fuse/v2/fuse"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/mount/meta_cache"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/mount_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util/chunk_cache"+ "github.com/seaweedfs/seaweedfs/weed/util/grace"+ "github.com/seaweedfs/seaweedfs/weed/wdclient""google.golang.org/grpc""math/rand""os"diff --git a/weed/mount/weedfs_attr.go b/weed/mount/weedfs_attr.goindex dc7a3bc85f..89aa25cb34 100644--- a/weed/mount/weedfs_attr.go+++ b/weed/mount/weedfs_attr.go@@ -1,10 +1,10 @@package mountimport (- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb""github.com/hanwen/go-fuse/v2/fuse"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb""os""syscall""time"diff --git a/weed/mount/weedfs_dir_lookup.go b/weed/mount/weedfs_dir_lookup.goindex fdc16aad5b..7a9b7fecc5 100644--- a/weed/mount/weedfs_dir_lookup.go+++ b/weed/mount/weedfs_dir_lookup.go@@ -2,11 +2,11 @@ package mountimport ("context"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/mount/meta_cache"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb""github.com/hanwen/go-fuse/v2/fuse"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/mount/meta_cache"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb")// Lookup is called by the kernel when the VFS wants to knowdiff --git a/weed/mount/weedfs_dir_mkrm.go b/weed/mount/weedfs_dir_mkrm.goindex 4246f0a4ca..9f03d81c23 100644--- a/weed/mount/weedfs_dir_mkrm.go+++ b/weed/mount/weedfs_dir_mkrm.go@@ -3,10 +3,10 @@ package mountimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb""github.com/hanwen/go-fuse/v2/fuse"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb""os""strings""syscall"diff --git a/weed/mount/weedfs_dir_read.go b/weed/mount/weedfs_dir_read.goindex dd34e1ab58..ea64feeb7a 100644--- a/weed/mount/weedfs_dir_read.go+++ b/weed/mount/weedfs_dir_read.go@@ -2,10 +2,10 @@ package mountimport ("context"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/mount/meta_cache""github.com/hanwen/go-fuse/v2/fuse"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/mount/meta_cache""math""sync")diff --git a/weed/mount/weedfs_file_mkrm.go b/weed/mount/weedfs_file_mkrm.goindex 86d4c4d418..02171fe99d 100644--- a/weed/mount/weedfs_file_mkrm.go+++ b/weed/mount/weedfs_file_mkrm.go@@ -3,10 +3,10 @@ package mountimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb""github.com/hanwen/go-fuse/v2/fuse"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb""syscall""time")diff --git a/weed/mount/weedfs_file_read.go b/weed/mount/weedfs_file_read.goindex 00143a5b44..2af42b333f 100644--- a/weed/mount/weedfs_file_read.go+++ b/weed/mount/weedfs_file_read.go@@ -1,8 +1,8 @@package mountimport (- "github.com/chrislusf/seaweedfs/weed/glog""github.com/hanwen/go-fuse/v2/fuse"+ "github.com/seaweedfs/seaweedfs/weed/glog""io")diff --git a/weed/mount/weedfs_file_sync.go b/weed/mount/weedfs_file_sync.goindex b7fffaaa3e..4e1a9f3f08 100644--- a/weed/mount/weedfs_file_sync.go+++ b/weed/mount/weedfs_file_sync.go@@ -3,10 +3,10 @@ package mountimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb""github.com/hanwen/go-fuse/v2/fuse"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb""syscall""time")diff --git a/weed/mount/weedfs_filehandle.go b/weed/mount/weedfs_filehandle.goindex ec174dd116..9710b104f1 100644--- a/weed/mount/weedfs_filehandle.go+++ b/weed/mount/weedfs_filehandle.go@@ -1,8 +1,8 @@package mountimport (- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb""github.com/hanwen/go-fuse/v2/fuse"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb")func (wfs *WFS) AcquireHandle(inode uint64, uid, gid uint32) (fileHandle *FileHandle, status fuse.Status) {diff --git a/weed/mount/weedfs_forget.go b/weed/mount/weedfs_forget.goindex 4212adeb64..2f9cff7e69 100644--- a/weed/mount/weedfs_forget.go+++ b/weed/mount/weedfs_forget.go@@ -2,7 +2,7 @@ package mountimport ("context"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util")// Forget is called when the kernel discards entries from itsdiff --git a/weed/mount/weedfs_grpc_server.go b/weed/mount/weedfs_grpc_server.goindex 4b2fdffa6c..f867f2d80e 100644--- a/weed/mount/weedfs_grpc_server.go+++ b/weed/mount/weedfs_grpc_server.go@@ -3,8 +3,8 @@ package mountimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/mount_pb"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/mount_pb")func (wfs *WFS) Configure(ctx context.Context, request *mount_pb.ConfigureRequest) (*mount_pb.ConfigureResponse, error) {diff --git a/weed/mount/weedfs_link.go b/weed/mount/weedfs_link.goindex 56c89dabe1..d4ba63fc36 100644--- a/weed/mount/weedfs_link.go+++ b/weed/mount/weedfs_link.go@@ -2,10 +2,10 @@ package mountimport ("context"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb""github.com/hanwen/go-fuse/v2/fuse"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb""syscall""time")diff --git a/weed/mount/weedfs_quota.go b/weed/mount/weedfs_quota.goindex ac3e58e625..23f487549d 100644--- a/weed/mount/weedfs_quota.go+++ b/weed/mount/weedfs_quota.go@@ -3,8 +3,8 @@ package mountimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb""time")diff --git a/weed/mount/weedfs_rename.go b/weed/mount/weedfs_rename.goindex eae86270f2..fc2243aac3 100644--- a/weed/mount/weedfs_rename.go+++ b/weed/mount/weedfs_rename.go@@ -3,12 +3,12 @@ package mountimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util""github.com/hanwen/go-fuse/v2/fs""github.com/hanwen/go-fuse/v2/fuse"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util""io""strings""syscall"diff --git a/weed/mount/weedfs_stats.go b/weed/mount/weedfs_stats.goindex 21f6648893..9ef9072d69 100644--- a/weed/mount/weedfs_stats.go+++ b/weed/mount/weedfs_stats.go@@ -3,9 +3,9 @@ package mountimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb""github.com/hanwen/go-fuse/v2/fuse"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb""math""time")diff --git a/weed/mount/weedfs_symlink.go b/weed/mount/weedfs_symlink.goindex b8be55011b..e484c88dbf 100644--- a/weed/mount/weedfs_symlink.go+++ b/weed/mount/weedfs_symlink.go@@ -3,10 +3,10 @@ package mountimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb""github.com/hanwen/go-fuse/v2/fuse"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb""os""syscall""time"diff --git a/weed/mount/weedfs_write.go b/weed/mount/weedfs_write.goindex 723ce9c346..378fd0a0f1 100644--- a/weed/mount/weedfs_write.go+++ b/weed/mount/weedfs_write.go@@ -5,12 +5,12 @@ import ("fmt""io"- "github.com/chrislusf/seaweedfs/weed/filer"- "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"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/util")func (wfs *WFS) saveDataAsChunk(fullPath util.FullPath) filer.SaveDataAsChunkFunctionType {diff --git a/weed/mount/wfs_filer_client.go b/weed/mount/wfs_filer_client.goindex e8feb83423..35ab9b40c2 100644--- a/weed/mount/wfs_filer_client.go+++ b/weed/mount/wfs_filer_client.go@@ -1,12 +1,12 @@package mountimport (- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/util""google.golang.org/grpc"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb")var _ = filer_pb.FilerClient(&WFS{})diff --git a/weed/mount/wfs_save.go b/weed/mount/wfs_save.goindex 964f1713d8..56ad470116 100644--- a/weed/mount/wfs_save.go+++ b/weed/mount/wfs_save.go@@ -3,11 +3,11 @@ package mountimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util""github.com/hanwen/go-fuse/v2/fuse"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util""syscall")diff --git a/weed/mq/broker/brokder_grpc_admin.go b/weed/mq/broker/brokder_grpc_admin.goindex 0dfb69c501..cbd17b3b91 100644--- a/weed/mq/broker/brokder_grpc_admin.go+++ b/weed/mq/broker/brokder_grpc_admin.go@@ -2,12 +2,12 @@ package brokerimport ("context"- "github.com/chrislusf/seaweedfs/weed/cluster"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/mq"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/pb/mq_pb"+ "github.com/seaweedfs/seaweedfs/weed/cluster"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/mq"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/mq_pb""sort""sync")diff --git a/weed/mq/broker/broker_segment_serde.go b/weed/mq/broker/broker_segment_serde.goindex 25fca005b7..c0741071ff 100644--- a/weed/mq/broker/broker_segment_serde.go+++ b/weed/mq/broker/broker_segment_serde.go@@ -3,12 +3,12 @@ package brokerimport ("bytes""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/mq"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/mq_pb""github.com/golang/protobuf/jsonpb"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/mq"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/mq_pb""time")diff --git a/weed/mq/broker/broker_server.go b/weed/mq/broker/broker_server.goindex b95db0ecf7..512667d159 100644--- a/weed/mq/broker/broker_server.go+++ b/weed/mq/broker/broker_server.go@@ -1,15 +1,15 @@package brokerimport (- "github.com/chrislusf/seaweedfs/weed/cluster"- "github.com/chrislusf/seaweedfs/weed/pb/mq_pb"- "github.com/chrislusf/seaweedfs/weed/wdclient"+ "github.com/seaweedfs/seaweedfs/weed/cluster"+ "github.com/seaweedfs/seaweedfs/weed/pb/mq_pb"+ "github.com/seaweedfs/seaweedfs/weed/wdclient""google.golang.org/grpc""time"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb")type MessageQueueBrokerOption struct {diff --git a/weed/mq/segment/message_serde.go b/weed/mq/segment/message_serde.goindex 8efa9fe214..66a76c57d2 100644--- a/weed/mq/segment/message_serde.go+++ b/weed/mq/segment/message_serde.go@@ -1,8 +1,8 @@package segmentimport (- "github.com/chrislusf/seaweedfs/weed/pb/message_fbs"flatbuffers "github.com/google/flatbuffers/go"+ "github.com/seaweedfs/seaweedfs/weed/pb/message_fbs")type MessageBatchBuilder struct {diff --git a/weed/mq/segment/message_serde_test.go b/weed/mq/segment/message_serde_test.goindex bf561d2c0a..cb7ad15013 100644--- a/weed/mq/segment/message_serde_test.go+++ b/weed/mq/segment/message_serde_test.go@@ -1,8 +1,8 @@package segmentimport (- "github.com/chrislusf/seaweedfs/weed/pb/message_fbs"flatbuffers "github.com/google/flatbuffers/go"+ "github.com/seaweedfs/seaweedfs/weed/pb/message_fbs""github.com/stretchr/testify/assert""testing")diff --git a/weed/mq/topic.go b/weed/mq/topic.goindex 12a7491338..96544bac9d 100644--- a/weed/mq/topic.go+++ b/weed/mq/topic.go@@ -2,8 +2,8 @@ package mqimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/pb/mq_pb"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/pb/mq_pb""time")diff --git a/weed/notification/aws_sqs/aws_sqs_pub.go b/weed/notification/aws_sqs/aws_sqs_pub.goindex d881049dd6..36b883544a 100644--- a/weed/notification/aws_sqs/aws_sqs_pub.go+++ b/weed/notification/aws_sqs/aws_sqs_pub.go@@ -8,10 +8,10 @@ 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/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/notification"- "github.com/chrislusf/seaweedfs/weed/util""github.com/golang/protobuf/proto"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/notification"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/notification/configuration.go b/weed/notification/configuration.goindex 541a453e96..497b2a74b0 100644--- a/weed/notification/configuration.go+++ b/weed/notification/configuration.go@@ -1,9 +1,9 @@package notificationimport (- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/util""github.com/golang/protobuf/proto"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/util")type MessageQueue interface {diff --git a/weed/notification/gocdk_pub_sub/gocdk_pub_sub.go b/weed/notification/gocdk_pub_sub/gocdk_pub_sub.goindex f31b6997e1..dfe2ff061c 100644--- a/weed/notification/gocdk_pub_sub/gocdk_pub_sub.go+++ b/weed/notification/gocdk_pub_sub/gocdk_pub_sub.go@@ -29,9 +29,9 @@ import ("path""time"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/notification"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/notification"+ "github.com/seaweedfs/seaweedfs/weed/util"// _ "gocloud.dev/pubsub/azuresb"_ "gocloud.dev/pubsub/gcppubsub"_ "gocloud.dev/pubsub/natspubsub"diff --git a/weed/notification/google_pub_sub/google_pub_sub.go b/weed/notification/google_pub_sub/google_pub_sub.goindex 363a86eb66..0b6ec2dba4 100644--- a/weed/notification/google_pub_sub/google_pub_sub.go+++ b/weed/notification/google_pub_sub/google_pub_sub.go@@ -6,10 +6,10 @@ import ("os""cloud.google.com/go/pubsub"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/notification"- "github.com/chrislusf/seaweedfs/weed/util""github.com/golang/protobuf/proto"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/notification"+ "github.com/seaweedfs/seaweedfs/weed/util""google.golang.org/api/option")diff --git a/weed/notification/kafka/kafka_queue.go b/weed/notification/kafka/kafka_queue.goindex 8d83b5892a..4d4616e384 100644--- a/weed/notification/kafka/kafka_queue.go+++ b/weed/notification/kafka/kafka_queue.go@@ -2,10 +2,10 @@ package kafkaimport ("github.com/Shopify/sarama"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/notification"- "github.com/chrislusf/seaweedfs/weed/util""github.com/golang/protobuf/proto"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/notification"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/notification/log/log_queue.go b/weed/notification/log/log_queue.goindex 1ca4786a15..60d5861067 100644--- a/weed/notification/log/log_queue.go+++ b/weed/notification/log/log_queue.go@@ -1,10 +1,10 @@package kafkaimport (- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/notification"- "github.com/chrislusf/seaweedfs/weed/util""github.com/golang/protobuf/proto"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/notification"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/operation/assign_file_id.go b/weed/operation/assign_file_id.goindex b716300e2f..93d02b68d8 100644--- a/weed/operation/assign_file_id.go+++ b/weed/operation/assign_file_id.go@@ -3,12 +3,12 @@ package operationimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle""google.golang.org/grpc"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/security")type VolumeAssignRequest struct {diff --git a/weed/operation/chunked_file.go b/weed/operation/chunked_file.goindex 45068bbcc6..790a8012e4 100644--- a/weed/operation/chunked_file.go+++ b/weed/operation/chunked_file.go@@ -11,9 +11,9 @@ import ("google.golang.org/grpc"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/util")var (diff --git a/weed/operation/delete_content.go b/weed/operation/delete_content.goindex 587cf1d011..cee80fb472 100644--- a/weed/operation/delete_content.go+++ b/weed/operation/delete_content.go@@ -4,13 +4,13 @@ import ("context""errors""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb""google.golang.org/grpc""net/http""strings""sync"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb")type DeleteResult struct {diff --git a/weed/operation/grpc_client.go b/weed/operation/grpc_client.goindex 9b68d22862..c06e501a52 100644--- a/weed/operation/grpc_client.go+++ b/weed/operation/grpc_client.go@@ -3,9 +3,9 @@ package operationimport ("google.golang.org/grpc"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb")func WithVolumeServerClient(streamingMode bool, volumeServer pb.ServerAddress, grpcDialOption grpc.DialOption, fn func(volume_server_pb.VolumeServerClient) error) error {diff --git a/weed/operation/lookup.go b/weed/operation/lookup.goindex 1eb5dd320e..8e6926fc79 100644--- a/weed/operation/lookup.go+++ b/weed/operation/lookup.go@@ -4,13 +4,13 @@ import ("context""errors""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb""google.golang.org/grpc""math/rand""strings""time"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb")type Location struct {diff --git a/weed/operation/lookup_vid_cache.go b/weed/operation/lookup_vid_cache.goindex ccc1f2beb4..248fc17dee 100644--- a/weed/operation/lookup_vid_cache.go+++ b/weed/operation/lookup_vid_cache.go@@ -6,7 +6,7 @@ import ("sync""time"- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/glog")var ErrorNotFound = errors.New("not found")diff --git a/weed/operation/needle_parse_test.go b/weed/operation/needle_parse_test.goindex 2b44b3b261..07b0153a9a 100644--- a/weed/operation/needle_parse_test.go+++ b/weed/operation/needle_parse_test.go@@ -9,8 +9,8 @@ import ("github.com/stretchr/testify/assert"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/util")type MockClient struct {diff --git a/weed/operation/submit.go b/weed/operation/submit.goindex 648df174a2..3eb38c31ea 100644--- a/weed/operation/submit.go+++ b/weed/operation/submit.go@@ -1,7 +1,7 @@package operationimport (- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb""io""mime""net/url"@@ -12,8 +12,8 @@ import ("google.golang.org/grpc"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/security")type FilePart struct {diff --git a/weed/operation/sync_volume.go b/weed/operation/sync_volume.goindex de71a198d5..cb091aed8a 100644--- a/weed/operation/sync_volume.go+++ b/weed/operation/sync_volume.go@@ -2,8 +2,8 @@ package operationimport ("context"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb""google.golang.org/grpc")diff --git a/weed/operation/tail_volume.go b/weed/operation/tail_volume.goindex d3449873b7..a7d9425a89 100644--- a/weed/operation/tail_volume.go+++ b/weed/operation/tail_volume.go@@ -3,13 +3,13 @@ package operationimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb""io""google.golang.org/grpc"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle")func TailVolume(masterFn GetMasterFn, grpcDialOption grpc.DialOption, vid needle.VolumeId, sinceNs uint64, timeoutSeconds int, fn func(n *needle.Needle) error) error {diff --git a/weed/operation/upload_content.go b/weed/operation/upload_content.goindex 3d41d2eb57..bd61b047fe 100644--- a/weed/operation/upload_content.go+++ b/weed/operation/upload_content.go@@ -4,10 +4,10 @@ import ("bytes""encoding/json""fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/util""io""mime""mime/multipart"diff --git a/weed/pb/filer.proto b/weed/pb/filer.protoindex 3f0ebe33cc..d815cfeb4f 100644--- a/weed/pb/filer.proto+++ b/weed/pb/filer.proto@@ -2,7 +2,7 @@ syntax = "proto3";package filer_pb;-option go_package = "github.com/chrislusf/seaweedfs/weed/pb/filer_pb";+option go_package = "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb";option java_package = "seaweedfs.client";option java_outer_classname = "FilerProto";diff --git a/weed/pb/filer_pb/filer_client.go b/weed/pb/filer_pb/filer_client.goindex 266bdae51a..ce6cac8569 100644--- a/weed/pb/filer_pb/filer_client.go+++ b/weed/pb/filer_pb/filer_client.go@@ -10,8 +10,8 @@ import ("strings""time"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/util")var (diff --git a/weed/pb/filer_pb/filer_client_bfs.go b/weed/pb/filer_pb/filer_client_bfs.goindex 4e5b65f12e..6ae4a50cfe 100644--- a/weed/pb/filer_pb/filer_client_bfs.go+++ b/weed/pb/filer_pb/filer_client_bfs.go@@ -5,7 +5,7 @@ import ("sync""time"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util")func TraverseBfs(filerClient FilerClient, parentPath util.FullPath, fn func(parentPath util.FullPath, entry *Entry)) (err error) {diff --git a/weed/pb/filer_pb/filer_pb_helper.go b/weed/pb/filer_pb/filer_pb_helper.goindex 2c9526b800..12ead208a2 100644--- a/weed/pb/filer_pb/filer_pb_helper.go+++ b/weed/pb/filer_pb/filer_pb_helper.go@@ -7,9 +7,9 @@ import ("os""strings"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/storage/needle""github.com/golang/protobuf/proto"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle""github.com/viant/ptrie")diff --git a/weed/pb/filer_pb_tail.go b/weed/pb/filer_pb_tail.goindex 88d1a55e1f..f7e09b3869 100644--- a/weed/pb/filer_pb_tail.go+++ b/weed/pb/filer_pb_tail.go@@ -3,9 +3,9 @@ package pbimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util""google.golang.org/grpc""io""time"diff --git a/weed/pb/grpc_client_server.go b/weed/pb/grpc_client_server.goindex a97135060f..4d3587b587 100644--- a/weed/pb/grpc_client_server.go+++ b/weed/pb/grpc_client_server.go@@ -3,9 +3,9 @@ package pbimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/util""math/rand""net/http""strconv"@@ -16,9 +16,9 @@ import ("google.golang.org/grpc""google.golang.org/grpc/keepalive"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/pb/mq_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/mq_pb")const (diff --git a/weed/pb/iam.proto b/weed/pb/iam.protoindex 558bd2b709..1703f2c2b7 100644--- a/weed/pb/iam.proto+++ b/weed/pb/iam.proto@@ -2,7 +2,7 @@ syntax = "proto3";package iam_pb;-option go_package = "github.com/chrislusf/seaweedfs/weed/pb/iam_pb";+option go_package = "github.com/seaweedfs/seaweedfs/weed/pb/iam_pb";option java_package = "seaweedfs.client";option java_outer_classname = "IamProto";@@ -48,4 +48,4 @@ message Resource {string bucket = 1;// string path = 2;}-*/\ No newline at end of file+*/diff --git a/weed/pb/master.proto b/weed/pb/master.protoindex 3f115c22a3..9f4fd51273 100644--- a/weed/pb/master.proto+++ b/weed/pb/master.proto@@ -2,7 +2,7 @@ syntax = "proto3";package master_pb;-option go_package = "github.com/chrislusf/seaweedfs/weed/pb/master_pb";+option go_package = "github.com/seaweedfs/seaweedfs/weed/pb/master_pb";//////////////////////////////////////////////////diff --git a/weed/pb/mount.proto b/weed/pb/mount.protoindex ec0847f124..4df2990e44 100644--- a/weed/pb/mount.proto+++ b/weed/pb/mount.proto@@ -2,7 +2,7 @@ syntax = "proto3";package messaging_pb;-option go_package = "github.com/chrislusf/seaweedfs/weed/pb/mount_pb";+option go_package = "github.com/seaweedfs/seaweedfs/weed/pb/mount_pb";option java_package = "seaweedfs.client";option java_outer_classname = "MountProto";diff --git a/weed/pb/mq.proto b/weed/pb/mq.protoindex 2cbe798392..0612f349f6 100644--- a/weed/pb/mq.proto+++ b/weed/pb/mq.proto@@ -2,7 +2,7 @@ syntax = "proto3";package messaging_pb;-option go_package = "github.com/chrislusf/seaweedfs/weed/pb/mq_pb";+option go_package = "github.com/seaweedfs/seaweedfs/weed/pb/mq_pb";option java_package = "seaweedfs.mq";option java_outer_classname = "MessagQueueProto";diff --git a/weed/pb/proto_read_write_test.go b/weed/pb/proto_read_write_test.goindex d6b2faaeff..c7cecf671c 100644--- a/weed/pb/proto_read_write_test.go+++ b/weed/pb/proto_read_write_test.go@@ -4,8 +4,8 @@ import ("fmt""testing"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb""github.com/golang/protobuf/jsonpb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb")func TestJsonpMarshalUnmarshal(t *testing.T) {diff --git a/weed/pb/remote.proto b/weed/pb/remote.protoindex 13f7a878bb..7b9d2f8516 100644--- a/weed/pb/remote.proto+++ b/weed/pb/remote.proto@@ -2,7 +2,7 @@ syntax = "proto3";package remote_pb;-option go_package = "github.com/chrislusf/seaweedfs/weed/pb/remote_pb";+option go_package = "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb";option java_package = "seaweedfs.client";option java_outer_classname = "FilerProto";diff --git a/weed/pb/s3.proto b/weed/pb/s3.protoindex 45a877fac6..0367d3168d 100644--- a/weed/pb/s3.proto+++ b/weed/pb/s3.proto@@ -2,7 +2,7 @@ syntax = "proto3";package messaging_pb;-option go_package = "github.com/chrislusf/seaweedfs/weed/pb/s3_pb";+option go_package = "github.com/seaweedfs/seaweedfs/weed/pb/s3_pb";option java_package = "seaweedfs.client";option java_outer_classname = "S3Proto";diff --git a/weed/pb/server_address.go b/weed/pb/server_address.goindex a66d0d831a..56d0dba246 100644--- a/weed/pb/server_address.go+++ b/weed/pb/server_address.go@@ -2,8 +2,8 @@ package pbimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/util""net""strconv""strings"diff --git a/weed/pb/volume_server.proto b/weed/pb/volume_server.protoindex 6b5fbe2f9e..bd741d1342 100644--- a/weed/pb/volume_server.proto+++ b/weed/pb/volume_server.proto@@ -1,7 +1,7 @@syntax = "proto3";package volume_server_pb;-option go_package = "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb";+option go_package = "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb";import "remote.proto";diff --git a/weed/pb/volume_server_pb/volume_server.pb.go b/weed/pb/volume_server_pb/volume_server.pb.goindex 4e4690f136..b2d1601461 100644--- a/weed/pb/volume_server_pb/volume_server.pb.go+++ b/weed/pb/volume_server_pb/volume_server.pb.go@@ -7,7 +7,7 @@package volume_server_pbimport (- remote_pb "github.com/chrislusf/seaweedfs/weed/pb/remote_pb"+ remote_pb "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb"protoreflect "google.golang.org/protobuf/reflect/protoreflect"protoimpl "google.golang.org/protobuf/runtime/protoimpl"reflect "reflect"diff --git a/weed/query/json/query_json.go b/weed/query/json/query_json.goindex 46f3b1b569..7492205bed 100644--- a/weed/query/json/query_json.go+++ b/weed/query/json/query_json.go@@ -3,7 +3,7 @@ package jsonimport ("strconv"- "github.com/chrislusf/seaweedfs/weed/query/sqltypes"+ "github.com/seaweedfs/seaweedfs/weed/query/sqltypes""github.com/tidwall/gjson""github.com/tidwall/match")diff --git a/weed/query/json/seralize.go b/weed/query/json/seralize.goindex 9bbddc2fff..6538fefaae 100644--- a/weed/query/json/seralize.go+++ b/weed/query/json/seralize.go@@ -1,6 +1,6 @@package json-import "github.com/chrislusf/seaweedfs/weed/query/sqltypes"+import "github.com/seaweedfs/seaweedfs/weed/query/sqltypes"func ToJson(buf []byte, selections []string, values []sqltypes.Value) []byte {buf = append(buf, '{')diff --git a/weed/remote_storage/azure/azure_storage_client.go b/weed/remote_storage/azure/azure_storage_client.goindex 1a259a3e22..8f28661b56 100644--- a/weed/remote_storage/azure/azure_storage_client.go+++ b/weed/remote_storage/azure/azure_storage_client.go@@ -9,11 +9,11 @@ import ("reflect""github.com/Azure/azure-storage-blob-go/azblob"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/remote_pb"- "github.com/chrislusf/seaweedfs/weed/remote_storage"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb"+ "github.com/seaweedfs/seaweedfs/weed/remote_storage"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/remote_storage/gcs/gcs_storage_client.go b/weed/remote_storage/gcs/gcs_storage_client.goindex 788d4b1e0d..baeb192d84 100644--- a/weed/remote_storage/gcs/gcs_storage_client.go+++ b/weed/remote_storage/gcs/gcs_storage_client.go@@ -8,11 +8,11 @@ import ("reflect""cloud.google.com/go/storage"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/remote_pb"- "github.com/chrislusf/seaweedfs/weed/remote_storage"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb"+ "github.com/seaweedfs/seaweedfs/weed/remote_storage"+ "github.com/seaweedfs/seaweedfs/weed/util""google.golang.org/api/iterator""google.golang.org/api/option")diff --git a/weed/remote_storage/remote_storage.go b/weed/remote_storage/remote_storage.goindex e4a027199e..4523806d30 100644--- a/weed/remote_storage/remote_storage.go+++ b/weed/remote_storage/remote_storage.go@@ -2,9 +2,9 @@ package remote_storageimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/remote_pb""github.com/golang/protobuf/proto"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb""io""sort""strings"diff --git a/weed/remote_storage/s3/aliyun.go b/weed/remote_storage/s3/aliyun.goindex d6923aa6b8..08b3071e67 100644--- a/weed/remote_storage/s3/aliyun.go+++ b/weed/remote_storage/s3/aliyun.go@@ -6,9 +6,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/s3"- "github.com/chrislusf/seaweedfs/weed/pb/remote_pb"- "github.com/chrislusf/seaweedfs/weed/remote_storage"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb"+ "github.com/seaweedfs/seaweedfs/weed/remote_storage"+ "github.com/seaweedfs/seaweedfs/weed/util""os")diff --git a/weed/remote_storage/s3/backblaze.go b/weed/remote_storage/s3/backblaze.goindex 09a033f8ce..4daf7bcceb 100644--- a/weed/remote_storage/s3/backblaze.go+++ b/weed/remote_storage/s3/backblaze.go@@ -6,8 +6,8 @@ import ("github.com/aws/aws-sdk-go/aws/credentials""github.com/aws/aws-sdk-go/aws/session""github.com/aws/aws-sdk-go/service/s3"- "github.com/chrislusf/seaweedfs/weed/pb/remote_pb"- "github.com/chrislusf/seaweedfs/weed/remote_storage"+ "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb"+ "github.com/seaweedfs/seaweedfs/weed/remote_storage")func init() {diff --git a/weed/remote_storage/s3/baidu.go b/weed/remote_storage/s3/baidu.goindex 23bce409ed..e562410fd8 100644--- a/weed/remote_storage/s3/baidu.go+++ b/weed/remote_storage/s3/baidu.go@@ -6,9 +6,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/s3"- "github.com/chrislusf/seaweedfs/weed/pb/remote_pb"- "github.com/chrislusf/seaweedfs/weed/remote_storage"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb"+ "github.com/seaweedfs/seaweedfs/weed/remote_storage"+ "github.com/seaweedfs/seaweedfs/weed/util""os")diff --git a/weed/remote_storage/s3/contabo.go b/weed/remote_storage/s3/contabo.goindex 2e85422dcb..69d161c07e 100644--- a/weed/remote_storage/s3/contabo.go+++ b/weed/remote_storage/s3/contabo.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/s3"- "github.com/chrislusf/seaweedfs/weed/pb/remote_pb"- "github.com/chrislusf/seaweedfs/weed/remote_storage"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb"+ "github.com/seaweedfs/seaweedfs/weed/remote_storage"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/remote_storage/s3/filebase.go b/weed/remote_storage/s3/filebase.goindex 23787e0e2b..903b258586 100644--- a/weed/remote_storage/s3/filebase.go+++ b/weed/remote_storage/s3/filebase.go@@ -7,9 +7,9 @@ import ("github.com/aws/aws-sdk-go/aws/session"v4 "github.com/aws/aws-sdk-go/aws/signer/v4""github.com/aws/aws-sdk-go/service/s3"- "github.com/chrislusf/seaweedfs/weed/pb/remote_pb"- "github.com/chrislusf/seaweedfs/weed/remote_storage"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb"+ "github.com/seaweedfs/seaweedfs/weed/remote_storage"+ "github.com/seaweedfs/seaweedfs/weed/util""os")diff --git a/weed/remote_storage/s3/s3_storage_client.go b/weed/remote_storage/s3/s3_storage_client.goindex b3c3cb3aa3..6a9e216e17 100644--- a/weed/remote_storage/s3/s3_storage_client.go+++ b/weed/remote_storage/s3/s3_storage_client.go@@ -10,11 +10,11 @@ import ("github.com/aws/aws-sdk-go/service/s3""github.com/aws/aws-sdk-go/service/s3/s3iface""github.com/aws/aws-sdk-go/service/s3/s3manager"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/remote_pb"- "github.com/chrislusf/seaweedfs/weed/remote_storage"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb"+ "github.com/seaweedfs/seaweedfs/weed/remote_storage"+ "github.com/seaweedfs/seaweedfs/weed/util""io""reflect")diff --git a/weed/remote_storage/s3/storj.go b/weed/remote_storage/s3/storj.goindex 2de7ad3579..e2523b4048 100644--- a/weed/remote_storage/s3/storj.go+++ b/weed/remote_storage/s3/storj.go@@ -6,9 +6,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/s3"- "github.com/chrislusf/seaweedfs/weed/pb/remote_pb"- "github.com/chrislusf/seaweedfs/weed/remote_storage"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb"+ "github.com/seaweedfs/seaweedfs/weed/remote_storage"+ "github.com/seaweedfs/seaweedfs/weed/util""os")diff --git a/weed/remote_storage/s3/tencent.go b/weed/remote_storage/s3/tencent.goindex ab027a1f4e..36952545ad 100644--- a/weed/remote_storage/s3/tencent.go+++ b/weed/remote_storage/s3/tencent.go@@ -6,9 +6,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/s3"- "github.com/chrislusf/seaweedfs/weed/pb/remote_pb"- "github.com/chrislusf/seaweedfs/weed/remote_storage"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb"+ "github.com/seaweedfs/seaweedfs/weed/remote_storage"+ "github.com/seaweedfs/seaweedfs/weed/util""os")diff --git a/weed/remote_storage/s3/wasabi.go b/weed/remote_storage/s3/wasabi.goindex 64dd0bbf22..0cabd33875 100644--- a/weed/remote_storage/s3/wasabi.go+++ b/weed/remote_storage/s3/wasabi.go@@ -7,9 +7,9 @@ import ("github.com/aws/aws-sdk-go/aws/request""github.com/aws/aws-sdk-go/aws/session""github.com/aws/aws-sdk-go/service/s3"- "github.com/chrislusf/seaweedfs/weed/pb/remote_pb"- "github.com/chrislusf/seaweedfs/weed/remote_storage"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb"+ "github.com/seaweedfs/seaweedfs/weed/remote_storage"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/remote_storage/track_sync_offset.go b/weed/remote_storage/track_sync_offset.goindex 25ac0d3407..cdf6c99bf4 100644--- a/weed/remote_storage/track_sync_offset.go+++ b/weed/remote_storage/track_sync_offset.go@@ -3,9 +3,9 @@ package remote_storageimport ("context""errors"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util""google.golang.org/grpc")diff --git a/weed/remote_storage/traverse_bfs.go b/weed/remote_storage/traverse_bfs.goindex a73a1d5fd7..983555f6c5 100644--- a/weed/remote_storage/traverse_bfs.go+++ b/weed/remote_storage/traverse_bfs.go@@ -1,8 +1,8 @@package remote_storageimport (- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util""sync""time")diff --git a/weed/replication/repl_util/replication_util.go b/weed/replication/repl_util/replication_util.goindex f135e62101..ec0e80b2e7 100644--- a/weed/replication/repl_util/replication_util.go+++ b/weed/replication/repl_util/replication_util.go@@ -1,10 +1,10 @@package repl_utilimport (- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/replication/source"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/replication/source"+ "github.com/seaweedfs/seaweedfs/weed/util")func CopyFromChunkViews(chunkViews []*filer.ChunkView, filerSource *source.FilerSource, writeFunc func(data []byte) error) error {diff --git a/weed/replication/replicator.go b/weed/replication/replicator.goindex 8fee23b950..cd2b416f90 100644--- a/weed/replication/replicator.go+++ b/weed/replication/replicator.go@@ -3,16 +3,16 @@ package replicationimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb""google.golang.org/grpc""strings""time"- "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"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/replication/sink"+ "github.com/seaweedfs/seaweedfs/weed/replication/source"+ "github.com/seaweedfs/seaweedfs/weed/util")type Replicator struct {diff --git a/weed/replication/sink/azuresink/azure_sink.go b/weed/replication/sink/azuresink/azure_sink.goindex 3097ef439f..363f3e7a98 100644--- a/weed/replication/sink/azuresink/azure_sink.go+++ b/weed/replication/sink/azuresink/azure_sink.go@@ -4,17 +4,17 @@ import ("bytes""context""fmt"- "github.com/chrislusf/seaweedfs/weed/replication/repl_util"+ "github.com/seaweedfs/seaweedfs/weed/replication/repl_util""net/url""strings""github.com/Azure/azure-storage-blob-go/azblob"- "github.com/chrislusf/seaweedfs/weed/filer"- "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"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/replication/sink"+ "github.com/seaweedfs/seaweedfs/weed/replication/source"+ "github.com/seaweedfs/seaweedfs/weed/util")type AzureSink struct {diff --git a/weed/replication/sink/b2sink/b2_sink.go b/weed/replication/sink/b2sink/b2_sink.goindex 4143c039d3..fe65a94472 100644--- a/weed/replication/sink/b2sink/b2_sink.go+++ b/weed/replication/sink/b2sink/b2_sink.go@@ -2,15 +2,15 @@ package B2Sinkimport ("context"- "github.com/chrislusf/seaweedfs/weed/replication/repl_util"+ "github.com/seaweedfs/seaweedfs/weed/replication/repl_util""strings"- "github.com/chrislusf/seaweedfs/weed/filer"- "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"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/replication/sink"+ "github.com/seaweedfs/seaweedfs/weed/replication/source"+ "github.com/seaweedfs/seaweedfs/weed/util")type B2Sink struct {diff --git a/weed/replication/sink/filersink/fetch_write.go b/weed/replication/sink/filersink/fetch_write.goindex 825d2af95f..540e16da49 100644--- a/weed/replication/sink/filersink/fetch_write.go+++ b/weed/replication/sink/filersink/fetch_write.go@@ -3,16 +3,16 @@ package filersinkimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util""sync""google.golang.org/grpc"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/operation"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/security")func (fs *FilerSink) replicateChunks(sourceChunks []*filer_pb.FileChunk, path string) (replicatedChunks []*filer_pb.FileChunk, err error) {diff --git a/weed/replication/sink/filersink/filer_sink.go b/weed/replication/sink/filersink/filer_sink.goindex 9471409fcb..4df69f3fcc 100644--- a/weed/replication/sink/filersink/filer_sink.go+++ b/weed/replication/sink/filersink/filer_sink.go@@ -3,20 +3,20 @@ package filersinkimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/wdclient"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/wdclient""math""google.golang.org/grpc"- "github.com/chrislusf/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/filer"- "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"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/replication/sink"+ "github.com/seaweedfs/seaweedfs/weed/replication/source"+ "github.com/seaweedfs/seaweedfs/weed/util")type FilerSink struct {diff --git a/weed/replication/sink/gcssink/gcs_sink.go b/weed/replication/sink/gcssink/gcs_sink.goindex 6f16595e9c..2d48f3682f 100644--- a/weed/replication/sink/gcssink/gcs_sink.go+++ b/weed/replication/sink/gcssink/gcs_sink.go@@ -3,18 +3,18 @@ package gcssinkimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/replication/repl_util"+ "github.com/seaweedfs/seaweedfs/weed/replication/repl_util""os""cloud.google.com/go/storage""google.golang.org/api/option"- "github.com/chrislusf/seaweedfs/weed/filer"- "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"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/replication/sink"+ "github.com/seaweedfs/seaweedfs/weed/replication/source"+ "github.com/seaweedfs/seaweedfs/weed/util")type GcsSink struct {diff --git a/weed/replication/sink/localsink/local_incremental_sink.go b/weed/replication/sink/localsink/local_incremental_sink.goindex a1d49e28af..6e0585d7ba 100644--- a/weed/replication/sink/localsink/local_incremental_sink.go+++ b/weed/replication/sink/localsink/local_incremental_sink.go@@ -1,7 +1,7 @@package localsinkimport (- "github.com/chrislusf/seaweedfs/weed/replication/sink"+ "github.com/seaweedfs/seaweedfs/weed/replication/sink")type LocalIncSink struct {diff --git a/weed/replication/sink/localsink/local_sink.go b/weed/replication/sink/localsink/local_sink.goindex 0a2109a229..56e102ebc5 100644--- a/weed/replication/sink/localsink/local_sink.go+++ b/weed/replication/sink/localsink/local_sink.go@@ -1,14 +1,14 @@package localsinkimport (- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/replication/repl_util"- "github.com/chrislusf/seaweedfs/weed/replication/sink"- "github.com/chrislusf/seaweedfs/weed/replication/source"- "github.com/chrislusf/seaweedfs/weed/s3api/s3_constants"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/replication/repl_util"+ "github.com/seaweedfs/seaweedfs/weed/replication/sink"+ "github.com/seaweedfs/seaweedfs/weed/replication/source"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants"+ "github.com/seaweedfs/seaweedfs/weed/util""os""path/filepath""strings"diff --git a/weed/replication/sink/replication_sink.go b/weed/replication/sink/replication_sink.goindex 4ffd094626..29e6bbf8cd 100644--- a/weed/replication/sink/replication_sink.go+++ b/weed/replication/sink/replication_sink.go@@ -1,9 +1,9 @@package sinkimport (- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/replication/source"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/replication/source"+ "github.com/seaweedfs/seaweedfs/weed/util")type ReplicationSink interface {diff --git a/weed/replication/sink/s3sink/s3_sink.go b/weed/replication/sink/s3sink/s3_sink.goindex a118324c22..4fb59fb37e 100644--- a/weed/replication/sink/s3sink/s3_sink.go+++ b/weed/replication/sink/s3sink/s3_sink.go@@ -12,12 +12,12 @@ import ("github.com/aws/aws-sdk-go/service/s3""github.com/aws/aws-sdk-go/service/s3/s3iface"- "github.com/chrislusf/seaweedfs/weed/filer"- "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"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/replication/sink"+ "github.com/seaweedfs/seaweedfs/weed/replication/source"+ "github.com/seaweedfs/seaweedfs/weed/util")type S3Sink struct {diff --git a/weed/replication/sink/s3sink/s3_write.go b/weed/replication/sink/s3sink/s3_write.goindex 7d8932fb0a..3f0f482fa7 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/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/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.goindex 4108f3821a..f6b3103552 100644--- a/weed/replication/source/filer_source.go+++ b/weed/replication/source/filer_source.go@@ -9,12 +9,12 @@ import ("google.golang.org/grpc"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")type ReplicationSource interface {diff --git a/weed/replication/sub/notification_aws_sqs.go b/weed/replication/sub/notification_aws_sqs.goindex 08133533ff..a15b5b64e9 100644--- a/weed/replication/sub/notification_aws_sqs.go+++ b/weed/replication/sub/notification_aws_sqs.go@@ -8,10 +8,10 @@ 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/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util""github.com/golang/protobuf/proto"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/replication/sub/notification_gocdk_pub_sub.go b/weed/replication/sub/notification_gocdk_pub_sub.goindex ad40311903..70c7cf293d 100644--- a/weed/replication/sub/notification_gocdk_pub_sub.go+++ b/weed/replication/sub/notification_gocdk_pub_sub.go@@ -5,10 +5,10 @@ package subimport ("context"- "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"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util""github.com/streadway/amqp""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.goindex f7c767d4ae..06f0cbf05f 100644--- a/weed/replication/sub/notification_google_pub_sub.go+++ b/weed/replication/sub/notification_google_pub_sub.go@@ -6,10 +6,10 @@ import ("os""cloud.google.com/go/pubsub"- "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"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util""google.golang.org/api/option")diff --git a/weed/replication/sub/notification_kafka.go b/weed/replication/sub/notification_kafka.goindex 11bd2ffb4a..c9573bdbfe 100644--- a/weed/replication/sub/notification_kafka.go+++ b/weed/replication/sub/notification_kafka.go@@ -8,10 +8,10 @@ import ("time""github.com/Shopify/sarama"- "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"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/replication/sub/notifications.go b/weed/replication/sub/notifications.goindex d5a910db90..4ec2144581 100644--- a/weed/replication/sub/notifications.go+++ b/weed/replication/sub/notifications.go@@ -1,8 +1,8 @@package subimport (- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")type NotificationInput interface {diff --git a/weed/s3api/auth_credentials.go b/weed/s3api/auth_credentials.goindex f9e97ea22b..b83eb16ddf 100644--- a/weed/s3api/auth_credentials.go+++ b/weed/s3api/auth_credentials.go@@ -7,13 +7,13 @@ import ("strings""sync"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/iam_pb"- "github.com/chrislusf/seaweedfs/weed/s3api/s3_constants"- "github.com/chrislusf/seaweedfs/weed/s3api/s3err"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/iam_pb"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err")type Action stringdiff --git a/weed/s3api/auth_credentials_subscribe.go b/weed/s3api/auth_credentials_subscribe.goindex 55e63326da..cd1cdf8a32 100644--- a/weed/s3api/auth_credentials_subscribe.go+++ b/weed/s3api/auth_credentials_subscribe.go@@ -1,12 +1,12 @@package s3apiimport (- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/s3api/s3_constants"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants"+ "github.com/seaweedfs/seaweedfs/weed/util")func (s3a *S3ApiServer) subscribeMetaEvents(clientName string, prefix string, lastTsNs int64) {diff --git a/weed/s3api/auth_credentials_test.go b/weed/s3api/auth_credentials_test.goindex 4545d13bc0..52f83e6d3a 100644--- a/weed/s3api/auth_credentials_test.go+++ b/weed/s3api/auth_credentials_test.go@@ -1,13 +1,13 @@package s3apiimport (- . "github.com/chrislusf/seaweedfs/weed/s3api/s3_constants"+ . "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants""github.com/stretchr/testify/assert""testing""github.com/golang/protobuf/jsonpb"- "github.com/chrislusf/seaweedfs/weed/pb/iam_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/iam_pb")func TestIdentityListFileFormat(t *testing.T) {diff --git a/weed/s3api/auth_signature_v2.go b/weed/s3api/auth_signature_v2.goindex 5694a96ac9..e57ed51dbf 100644--- a/weed/s3api/auth_signature_v2.go+++ b/weed/s3api/auth_signature_v2.go@@ -23,7 +23,7 @@ import ("crypto/subtle""encoding/base64""fmt"- "github.com/chrislusf/seaweedfs/weed/s3api/s3err"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err""net""net/http""net/url"diff --git a/weed/s3api/auth_signature_v4.go b/weed/s3api/auth_signature_v4.goindex a49caad065..e7020e9ed8 100644--- a/weed/s3api/auth_signature_v4.go+++ b/weed/s3api/auth_signature_v4.go@@ -33,7 +33,7 @@ import ("time""unicode/utf8"- "github.com/chrislusf/seaweedfs/weed/s3api/s3err"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err")func (iam *IdentityAccessManagement) reqSignatureV4Verify(r *http.Request) (*Identity, s3err.ErrorCode) {diff --git a/weed/s3api/auto_signature_v4_test.go b/weed/s3api/auto_signature_v4_test.goindex a58551187a..9daf7bebab 100644--- a/weed/s3api/auto_signature_v4_test.go+++ b/weed/s3api/auto_signature_v4_test.go@@ -18,7 +18,7 @@ import ("time""unicode/utf8"- "github.com/chrislusf/seaweedfs/weed/s3api/s3err"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err")// TestIsRequestPresignedSignatureV4 - Test validates the logic for presign signature verision v4 detection.diff --git a/weed/s3api/chunked_reader_v4.go b/weed/s3api/chunked_reader_v4.goindex 2678f312f5..ed7b5d0e16 100644--- a/weed/s3api/chunked_reader_v4.go+++ b/weed/s3api/chunked_reader_v4.go@@ -24,8 +24,8 @@ import ("crypto/sha256""encoding/hex""errors"- "github.com/chrislusf/seaweedfs/weed/s3api/s3_constants"- "github.com/chrislusf/seaweedfs/weed/s3api/s3err"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err""hash""io""net/http"diff --git a/weed/s3api/filer_multipart.go b/weed/s3api/filer_multipart.goindex 32b93307a0..1193cc6f9d 100644--- a/weed/s3api/filer_multipart.go+++ b/weed/s3api/filer_multipart.go@@ -4,7 +4,7 @@ import ("encoding/hex""encoding/xml""fmt"- "github.com/chrislusf/seaweedfs/weed/s3api/s3err"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err""golang.org/x/exp/slices""math""path/filepath"@@ -16,9 +16,9 @@ import ("github.com/aws/aws-sdk-go/aws""github.com/aws/aws-sdk-go/service/s3"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb")type InitiateMultipartUploadResult struct {diff --git a/weed/s3api/filer_multipart_test.go b/weed/s3api/filer_multipart_test.goindex fe2b9c0cea..128bde9447 100644--- a/weed/s3api/filer_multipart_test.go+++ b/weed/s3api/filer_multipart_test.go@@ -3,7 +3,7 @@ package s3apiimport ("github.com/aws/aws-sdk-go/aws""github.com/aws/aws-sdk-go/service/s3"- "github.com/chrislusf/seaweedfs/weed/s3api/s3err"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err""github.com/stretchr/testify/assert""testing""time"diff --git a/weed/s3api/filer_util.go b/weed/s3api/filer_util.goindex dbd6673394..aab190ff1a 100644--- a/weed/s3api/filer_util.go+++ b/weed/s3api/filer_util.go@@ -3,9 +3,9 @@ package s3apiimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util""strings")diff --git a/weed/s3api/filer_util_tags.go b/weed/s3api/filer_util_tags.goindex 18d4d69c51..c2bdc72944 100644--- a/weed/s3api/filer_util_tags.go+++ b/weed/s3api/filer_util_tags.go@@ -1,10 +1,10 @@package s3apiimport (- "github.com/chrislusf/seaweedfs/weed/s3api/s3_constants"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants""strings"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb")const (diff --git a/weed/s3api/policy/post-policy.go b/weed/s3api/policy/post-policy.goindex 5ef8d397d6..40e1b99bad 100644--- a/weed/s3api/policy/post-policy.go+++ b/weed/s3api/policy/post-policy.go@@ -20,7 +20,7 @@ package policyimport ("encoding/base64""fmt"- "github.com/chrislusf/seaweedfs/weed/s3api/s3err"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err""net/http""strings""time"diff --git a/weed/s3api/s3api_bucket_handlers.go b/weed/s3api/s3api_bucket_handlers.goindex c057ec10c4..e253168380 100644--- a/weed/s3api/s3api_bucket_handlers.go+++ b/weed/s3api/s3api_bucket_handlers.go@@ -9,17 +9,17 @@ import ("net/http""time"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/s3api/s3_constants"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/s3api/s3err"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err""github.com/aws/aws-sdk-go/aws""github.com/aws/aws-sdk-go/service/s3"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb")type ListAllMyBucketsResult struct {diff --git a/weed/s3api/s3api_bucket_handlers_test.go b/weed/s3api/s3api_bucket_handlers_test.goindex d5622c51cb..1cff45aa03 100644--- a/weed/s3api/s3api_bucket_handlers_test.go+++ b/weed/s3api/s3api_bucket_handlers_test.go@@ -1,7 +1,7 @@package s3apiimport (- "github.com/chrislusf/seaweedfs/weed/s3api/s3err"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err""testing""time"diff --git a/weed/s3api/s3api_bucket_skip_handlers.go b/weed/s3api/s3api_bucket_skip_handlers.goindex f4ca1177d2..70fd384248 100644--- a/weed/s3api/s3api_bucket_skip_handlers.go+++ b/weed/s3api/s3api_bucket_skip_handlers.go@@ -3,7 +3,7 @@ package s3apiimport ("net/http"- "github.com/chrislusf/seaweedfs/weed/s3api/s3err"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err")// GetBucketCorsHandler Get bucket CORSdiff --git a/weed/s3api/s3api_circuit_breaker.go b/weed/s3api/s3api_circuit_breaker.goindex 68fb0a5d21..870c65d2b5 100644--- a/weed/s3api/s3api_circuit_breaker.go+++ b/weed/s3api/s3api_circuit_breaker.go@@ -2,14 +2,14 @@ package s3apiimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/s3_pb"- "github.com/chrislusf/seaweedfs/weed/s3api/s3_constants"- "github.com/chrislusf/seaweedfs/weed/s3api/s3err""github.com/gorilla/mux"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/s3_pb"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err""net/http""sync""sync/atomic"diff --git a/weed/s3api/s3api_circuit_breaker_test.go b/weed/s3api/s3api_circuit_breaker_test.goindex 5848cf164a..aa81675444 100644--- a/weed/s3api/s3api_circuit_breaker_test.go+++ b/weed/s3api/s3api_circuit_breaker_test.go@@ -1,9 +1,9 @@package s3apiimport (- "github.com/chrislusf/seaweedfs/weed/pb/s3_pb"- "github.com/chrislusf/seaweedfs/weed/s3api/s3_constants"- "github.com/chrislusf/seaweedfs/weed/s3api/s3err"+ "github.com/seaweedfs/seaweedfs/weed/pb/s3_pb"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err""net/http""sync""sync/atomic"diff --git a/weed/s3api/s3api_handlers.go b/weed/s3api/s3api_handlers.goindex 4ace4bb21e..cd365d87bb 100644--- a/weed/s3api/s3api_handlers.go+++ b/weed/s3api/s3api_handlers.go@@ -3,12 +3,12 @@ package s3apiimport ("encoding/base64""fmt"- "github.com/chrislusf/seaweedfs/weed/s3api/s3err"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err""google.golang.org/grpc""net/http"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb")var _ = filer_pb.FilerClient(&S3ApiServer{})diff --git a/weed/s3api/s3api_object_copy_handlers.go b/weed/s3api/s3api_object_copy_handlers.goindex 950e7a8fb0..a5e8f128cd 100644--- a/weed/s3api/s3api_object_copy_handlers.go+++ b/weed/s3api/s3api_object_copy_handlers.go@@ -2,9 +2,9 @@ package s3apiimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/s3api/s3_constants"- "github.com/chrislusf/seaweedfs/weed/s3api/s3err"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err""modernc.org/strutil""net/http""net/url"@@ -12,7 +12,7 @@ import ("strings""time"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util")const (diff --git a/weed/s3api/s3api_object_copy_handlers_test.go b/weed/s3api/s3api_object_copy_handlers_test.goindex 29d519c242..a537b6f3c4 100644--- a/weed/s3api/s3api_object_copy_handlers_test.go+++ b/weed/s3api/s3api_object_copy_handlers_test.go@@ -2,7 +2,7 @@ package s3apiimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/s3api/s3_constants"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants""net/http""reflect""sort"diff --git a/weed/s3api/s3api_object_handlers.go b/weed/s3api/s3api_object_handlers.goindex e49d613c4a..05908a30a3 100644--- a/weed/s3api/s3api_object_handlers.go+++ b/weed/s3api/s3api_object_handlers.go@@ -6,9 +6,9 @@ import ("encoding/json""encoding/xml""fmt"- "github.com/chrislusf/seaweedfs/weed/s3api/s3_constants"- "github.com/chrislusf/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/util/mem"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/util/mem""golang.org/x/exp/slices""io""net/http"@@ -16,15 +16,15 @@ import ("strings""time"- "github.com/chrislusf/seaweedfs/weed/filer""github.com/pquerna/cachecontrol/cacheobject"+ "github.com/seaweedfs/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/s3api/s3err"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- weed_server "github.com/chrislusf/seaweedfs/weed/server"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ weed_server "github.com/seaweedfs/seaweedfs/weed/server"+ "github.com/seaweedfs/seaweedfs/weed/util")const (diff --git a/weed/s3api/s3api_object_handlers_postpolicy.go b/weed/s3api/s3api_object_handlers_postpolicy.goindex 5704fcf383..456a736d94 100644--- a/weed/s3api/s3api_object_handlers_postpolicy.go+++ b/weed/s3api/s3api_object_handlers_postpolicy.go@@ -11,11 +11,11 @@ import ("net/url""strings"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/s3api/policy"- "github.com/chrislusf/seaweedfs/weed/s3api/s3err""github.com/dustin/go-humanize""github.com/gorilla/mux"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/s3api/policy"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err")func (s3a *S3ApiServer) PostPolicyBucketHandler(w http.ResponseWriter, r *http.Request) {diff --git a/weed/s3api/s3api_object_multipart_handlers.go b/weed/s3api/s3api_object_multipart_handlers.goindex feb289ef3a..898f5c16b8 100644--- a/weed/s3api/s3api_object_multipart_handlers.go+++ b/weed/s3api/s3api_object_multipart_handlers.go@@ -10,10 +10,10 @@ import ("strconv""strings"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/s3api/s3_constants"- "github.com/chrislusf/seaweedfs/weed/s3api/s3err"- weed_server "github.com/chrislusf/seaweedfs/weed/server"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err"+ weed_server "github.com/seaweedfs/seaweedfs/weed/server""github.com/aws/aws-sdk-go/aws""github.com/aws/aws-sdk-go/service/s3"diff --git a/weed/s3api/s3api_object_tagging_handlers.go b/weed/s3api/s3api_object_tagging_handlers.goindex 1791d7dc8f..23ca051334 100644--- a/weed/s3api/s3api_object_tagging_handlers.go+++ b/weed/s3api/s3api_object_tagging_handlers.go@@ -3,14 +3,14 @@ package s3apiimport ("encoding/xml""fmt"- "github.com/chrislusf/seaweedfs/weed/s3api/s3_constants"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants""io""net/http"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/s3api/s3err"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err"+ "github.com/seaweedfs/seaweedfs/weed/util")// GetObjectTaggingHandler - GET object taggingdiff --git a/weed/s3api/s3api_objects_list_handlers.go b/weed/s3api/s3api_objects_list_handlers.goindex e558029376..15d4cece6a 100644--- a/weed/s3api/s3api_objects_list_handlers.go+++ b/weed/s3api/s3api_objects_list_handlers.go@@ -4,8 +4,8 @@ import ("context""encoding/xml""fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/s3api/s3_constants"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants""io""net/http""net/url"@@ -14,9 +14,9 @@ import ("strings""time"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/s3api/s3err"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err")type ListBucketResultV2 struct {diff --git a/weed/s3api/s3api_objects_list_handlers_test.go b/weed/s3api/s3api_objects_list_handlers_test.goindex 641f995b74..8734ff2ffa 100644--- a/weed/s3api/s3api_objects_list_handlers_test.go+++ b/weed/s3api/s3api_objects_list_handlers_test.go@@ -1,7 +1,7 @@package s3apiimport (- "github.com/chrislusf/seaweedfs/weed/s3api/s3err"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err""testing""time")diff --git a/weed/s3api/s3api_server.go b/weed/s3api/s3api_server.goindex cc5ca5231c..1098966e79 100644--- a/weed/s3api/s3api_server.go+++ b/weed/s3api/s3api_server.go@@ -3,19 +3,19 @@ package s3apiimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/pb/s3_pb"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/pb/s3_pb""net""net/http""strings""time"- "github.com/chrislusf/seaweedfs/weed/pb"- . "github.com/chrislusf/seaweedfs/weed/s3api/s3_constants"- "github.com/chrislusf/seaweedfs/weed/s3api/s3err"- "github.com/chrislusf/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/util""github.com/gorilla/mux"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ . "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/util""google.golang.org/grpc")diff --git a/weed/s3api/s3api_server_grpc.go b/weed/s3api/s3api_server_grpc.goindex e93d0056fe..93da82c180 100644--- a/weed/s3api/s3api_server_grpc.go+++ b/weed/s3api/s3api_server_grpc.go@@ -2,7 +2,7 @@ package s3apiimport ("context"- "github.com/chrislusf/seaweedfs/weed/pb/s3_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/s3_pb")func (s3a *S3ApiServer) Configure(ctx context.Context, request *s3_pb.S3ConfigureRequest) (*s3_pb.S3ConfigureResponse, error) {diff --git a/weed/s3api/s3api_status_handlers.go b/weed/s3api/s3api_status_handlers.goindex fafb6ac2fc..e5d8b96b8b 100644--- a/weed/s3api/s3api_status_handlers.go+++ b/weed/s3api/s3api_status_handlers.go@@ -1,7 +1,7 @@package s3apiimport (- "github.com/chrislusf/seaweedfs/weed/s3api/s3err"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err""net/http")diff --git a/weed/s3api/s3api_test.go b/weed/s3api/s3api_test.goindex 6fcf8b1650..80dced5999 100644--- a/weed/s3api/s3api_test.go+++ b/weed/s3api/s3api_test.go@@ -1,7 +1,7 @@package s3apiimport (- "github.com/chrislusf/seaweedfs/weed/s3api/s3err"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err""testing""time")diff --git a/weed/s3api/s3err/audit_fluent.go b/weed/s3api/s3err/audit_fluent.goindex 2deb56896e..2e936020c3 100644--- a/weed/s3api/s3err/audit_fluent.go+++ b/weed/s3api/s3err/audit_fluent.go@@ -3,9 +3,9 @@ package s3errimport ("encoding/json""fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/s3api/s3_constants""github.com/fluent/fluent-logger-golang/fluent"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants""net/http""os""time"diff --git a/weed/s3api/s3err/error_handler.go b/weed/s3api/s3err/error_handler.goindex 6753a1641c..6c3f139384 100644--- a/weed/s3api/s3err/error_handler.go+++ b/weed/s3api/s3err/error_handler.go@@ -4,8 +4,8 @@ import ("bytes""encoding/xml""fmt"- "github.com/chrislusf/seaweedfs/weed/glog""github.com/gorilla/mux"+ "github.com/seaweedfs/seaweedfs/weed/glog""net/http""strconv""strings"diff --git a/weed/s3api/stats.go b/weed/s3api/stats.goindex 003807a258..cfdb3fb69b 100644--- a/weed/s3api/stats.go+++ b/weed/s3api/stats.go@@ -1,8 +1,8 @@package s3apiimport (- "github.com/chrislusf/seaweedfs/weed/s3api/s3_constants"- stats_collect "github.com/chrislusf/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants"+ stats_collect "github.com/seaweedfs/seaweedfs/weed/stats""net/http""strconv""time"diff --git a/weed/s3api/tags_test.go b/weed/s3api/tags_test.goindex fb464fcae9..3047c19056 100644--- a/weed/s3api/tags_test.go+++ b/weed/s3api/tags_test.go@@ -2,7 +2,7 @@ package s3apiimport ("encoding/xml"- "github.com/chrislusf/seaweedfs/weed/s3api/s3err"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3err""github.com/stretchr/testify/assert""testing")diff --git a/weed/security/guard.go b/weed/security/guard.goindex 8cb52620ee..33927a9241 100644--- a/weed/security/guard.go+++ b/weed/security/guard.go@@ -7,7 +7,7 @@ import ("net/http""strings"- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/glog")var (diff --git a/weed/security/jwt.go b/weed/security/jwt.goindex 82ba0df12a..5d9534c7ba 100644--- a/weed/security/jwt.go+++ b/weed/security/jwt.go@@ -6,8 +6,8 @@ import ("strings""time"- "github.com/chrislusf/seaweedfs/weed/glog""github.com/golang-jwt/jwt"+ "github.com/seaweedfs/seaweedfs/weed/glog")type EncodedJwt stringdiff --git a/weed/security/tls.go b/weed/security/tls.goindex bfa9d43c74..f60c8b0a43 100644--- a/weed/security/tls.go+++ b/weed/security/tls.go@@ -10,8 +10,8 @@ import ("strings""time"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/util""google.golang.org/grpc")diff --git a/weed/sequence/snowflake_sequencer.go b/weed/sequence/snowflake_sequencer.goindex 381933b3a2..b631983494 100644--- a/weed/sequence/snowflake_sequencer.go+++ b/weed/sequence/snowflake_sequencer.go@@ -5,7 +5,7 @@ import ("hash/fnv""github.com/bwmarrin/snowflake"- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/glog")// a simple snowflake Sequencerdiff --git a/weed/sequence/snowflake_sequencer_test.go b/weed/sequence/snowflake_sequencer_test.goindex 731e330c54..7e8c1d0469 100644--- a/weed/sequence/snowflake_sequencer_test.go+++ b/weed/sequence/snowflake_sequencer_test.go@@ -2,7 +2,7 @@ package sequenceimport ("encoding/hex"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/storage/types""github.com/stretchr/testify/assert""testing")diff --git a/weed/server/common.go b/weed/server/common.goindex f02ec67ac9..c99ef36407 100644--- a/weed/server/common.go+++ b/weed/server/common.go@@ -6,7 +6,7 @@ import ("encoding/json""errors""fmt"- "github.com/chrislusf/seaweedfs/weed/s3api/s3_constants"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants""io""io/fs""mime/multipart"@@ -19,11 +19,11 @@ import ("google.golang.org/grpc"- "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/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/util""github.com/gorilla/mux")diff --git a/weed/server/filer_grpc_server.go b/weed/server/filer_grpc_server.goindex 17d17c5881..aeb288f487 100644--- a/weed/server/filer_grpc_server.go+++ b/weed/server/filer_grpc_server.go@@ -8,13 +8,13 @@ import ("strconv""time"- "github.com/chrislusf/seaweedfs/weed/filer"- "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"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/util")func (fs *FilerServer) LookupDirectoryEntry(ctx context.Context, req *filer_pb.LookupDirectoryEntryRequest) (*filer_pb.LookupDirectoryEntryResponse, error) {diff --git a/weed/server/filer_grpc_server_admin.go b/weed/server/filer_grpc_server_admin.goindex 21fd8cc196..50c52c650d 100644--- a/weed/server/filer_grpc_server_admin.go+++ b/weed/server/filer_grpc_server_admin.go@@ -3,13 +3,13 @@ package weed_serverimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/cluster"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/cluster"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/util""time")diff --git a/weed/server/filer_grpc_server_kv.go b/weed/server/filer_grpc_server_kv.goindex 3cb47115e2..26a616c18e 100644--- a/weed/server/filer_grpc_server_kv.go+++ b/weed/server/filer_grpc_server_kv.go@@ -2,8 +2,8 @@ package weed_serverimport ("context"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb")func (fs *FilerServer) KvGet(ctx context.Context, req *filer_pb.KvGetRequest) (*filer_pb.KvGetResponse, error) {diff --git a/weed/server/filer_grpc_server_remote.go b/weed/server/filer_grpc_server_remote.goindex 3be986023d..22ff52d0cc 100644--- a/weed/server/filer_grpc_server_remote.go+++ b/weed/server/filer_grpc_server_remote.go@@ -7,15 +7,15 @@ import ("sync""time"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/operation"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/remote_pb"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/util""github.com/golang/protobuf/proto"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/util")func (fs *FilerServer) CacheRemoteObjectToLocalCluster(ctx context.Context, req *filer_pb.CacheRemoteObjectToLocalClusterRequest) (*filer_pb.CacheRemoteObjectToLocalClusterResponse, error) {diff --git a/weed/server/filer_grpc_server_rename.go b/weed/server/filer_grpc_server_rename.goindex 7d6650b533..452ceba710 100644--- a/weed/server/filer_grpc_server_rename.go+++ b/weed/server/filer_grpc_server_rename.go@@ -6,10 +6,10 @@ import ("path/filepath""time"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")func (fs *FilerServer) AtomicRenameEntry(ctx context.Context, req *filer_pb.AtomicRenameEntryRequest) (*filer_pb.AtomicRenameEntryResponse, error) {diff --git a/weed/server/filer_grpc_server_sub_meta.go b/weed/server/filer_grpc_server_sub_meta.goindex 8d6dd987f5..768e86ffec 100644--- a/weed/server/filer_grpc_server_sub_meta.go+++ b/weed/server/filer_grpc_server_sub_meta.go@@ -2,17 +2,17 @@ package weed_serverimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/stats""strings""time""github.com/golang/protobuf/proto"- "github.com/chrislusf/seaweedfs/weed/filer"- "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/util/log_buffer"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util/log_buffer")const (diff --git a/weed/server/filer_server.go b/weed/server/filer_server.goindex 31f8c80222..1e220d5dbb 100644--- a/weed/server/filer_server.go+++ b/weed/server/filer_server.go@@ -8,45 +8,45 @@ import ("sync""time"- "github.com/chrislusf/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/stats""google.golang.org/grpc"- "github.com/chrislusf/seaweedfs/weed/util/grace"-- "github.com/chrislusf/seaweedfs/weed/operation"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/util"-- "github.com/chrislusf/seaweedfs/weed/filer"- _ "github.com/chrislusf/seaweedfs/weed/filer/arangodb"- _ "github.com/chrislusf/seaweedfs/weed/filer/cassandra"- _ "github.com/chrislusf/seaweedfs/weed/filer/elastic/v7"- _ "github.com/chrislusf/seaweedfs/weed/filer/etcd"- _ "github.com/chrislusf/seaweedfs/weed/filer/hbase"- _ "github.com/chrislusf/seaweedfs/weed/filer/leveldb"- _ "github.com/chrislusf/seaweedfs/weed/filer/leveldb2"- _ "github.com/chrislusf/seaweedfs/weed/filer/leveldb3"- _ "github.com/chrislusf/seaweedfs/weed/filer/mongodb"- _ "github.com/chrislusf/seaweedfs/weed/filer/mysql"- _ "github.com/chrislusf/seaweedfs/weed/filer/mysql2"- _ "github.com/chrislusf/seaweedfs/weed/filer/postgres"- _ "github.com/chrislusf/seaweedfs/weed/filer/postgres2"- _ "github.com/chrislusf/seaweedfs/weed/filer/redis"- _ "github.com/chrislusf/seaweedfs/weed/filer/redis2"- _ "github.com/chrislusf/seaweedfs/weed/filer/redis3"- _ "github.com/chrislusf/seaweedfs/weed/filer/sqlite"- _ "github.com/chrislusf/seaweedfs/weed/filer/ydb"- "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/seaweedfs/seaweedfs/weed/util/grace"++ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/util"++ "github.com/seaweedfs/seaweedfs/weed/filer"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/arangodb"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/cassandra"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/elastic/v7"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/etcd"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/hbase"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/leveldb"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/leveldb2"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/leveldb3"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/mongodb"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/mysql"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/mysql2"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/postgres"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/postgres2"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/redis"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/redis2"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/redis3"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/sqlite"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/ydb"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/notification"+ _ "github.com/seaweedfs/seaweedfs/weed/notification/aws_sqs"+ _ "github.com/seaweedfs/seaweedfs/weed/notification/gocdk_pub_sub"+ _ "github.com/seaweedfs/seaweedfs/weed/notification/google_pub_sub"+ _ "github.com/seaweedfs/seaweedfs/weed/notification/kafka"+ _ "github.com/seaweedfs/seaweedfs/weed/notification/log"+ "github.com/seaweedfs/seaweedfs/weed/security")type FilerOption struct {@@ -146,7 +146,7 @@ func NewFilerServer(defaultMux, readonlyMux *http.ServeMux, option *FilerOption)v.SetDefault("filer.options.buckets_folder", "/buckets")fs.filer.DirBucketsPath = v.GetString("filer.options.buckets_folder")// TODO deprecated, will be be removed after 2020-12-31- // replaced by https://github.com/chrislusf/seaweedfs/wiki/Path-Specific-Configuration+ // replaced by https://github.com/seaweedfs/seaweedfs/wiki/Path-Specific-Configuration// fs.filer.FsyncBuckets = v.GetStringSlice("filer.options.buckets_fsync")isFresh := fs.filer.LoadConfiguration(v)diff --git a/weed/server/filer_server_handlers.go b/weed/server/filer_server_handlers.goindex 6f0d0b7cab..762e87e4b2 100644--- a/weed/server/filer_server_handlers.go+++ b/weed/server/filer_server_handlers.go@@ -2,15 +2,15 @@ package weed_serverimport ("errors"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/util""net/http""strings""sync/atomic""time"- "github.com/chrislusf/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/stats")func (fs *FilerServer) filerHandler(w http.ResponseWriter, r *http.Request) {diff --git a/weed/server/filer_server_handlers_proxy.go b/weed/server/filer_server_handlers_proxy.goindex 301d609ec5..db46f00b3b 100644--- a/weed/server/filer_server_handlers_proxy.go+++ b/weed/server/filer_server_handlers_proxy.go@@ -1,9 +1,9 @@package weed_serverimport (- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/util"- "github.com/chrislusf/seaweedfs/weed/util/mem"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util/mem""io""math/rand""net/http"diff --git a/weed/server/filer_server_handlers_read.go b/weed/server/filer_server_handlers_read.goindex 28573f7b38..04017894b1 100644--- a/weed/server/filer_server_handlers_read.go+++ b/weed/server/filer_server_handlers_read.go@@ -4,8 +4,8 @@ import ("bytes""context""fmt"- "github.com/chrislusf/seaweedfs/weed/s3api/s3_constants"- "github.com/chrislusf/seaweedfs/weed/util/mem"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants"+ "github.com/seaweedfs/seaweedfs/weed/util/mem""io""math""mime"@@ -15,12 +15,12 @@ import ("strings""time"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/images"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/stats"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/images"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/util")// Validates the preconditions. Returns true if GET/HEAD operation should not proceed.diff --git a/weed/server/filer_server_handlers_read_dir.go b/weed/server/filer_server_handlers_read_dir.goindex eaf17fa18c..757b67dc73 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/chrislusf/seaweedfs/weed/glog"- ui "github.com/chrislusf/seaweedfs/weed/server/filer_ui"- "github.com/chrislusf/seaweedfs/weed/stats"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ ui "github.com/seaweedfs/seaweedfs/weed/server/filer_ui"+ "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/util")// listDirectoryHandler lists directories and folers under a directorydiff --git a/weed/server/filer_server_handlers_tagging.go b/weed/server/filer_server_handlers_tagging.goindex ae2093947a..a67610d442 100644--- a/weed/server/filer_server_handlers_tagging.go+++ b/weed/server/filer_server_handlers_tagging.go@@ -5,9 +5,9 @@ import ("net/http""strings"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/util")// add or replace one file Seaweed- prefixed attributesdiff --git a/weed/server/filer_server_handlers_write.go b/weed/server/filer_server_handlers_write.goindex bbaf28aa83..b3fd22a60a 100644--- a/weed/server/filer_server_handlers_write.go+++ b/weed/server/filer_server_handlers_write.go@@ -4,19 +4,19 @@ import ("context""errors""fmt"- "github.com/chrislusf/seaweedfs/weed/s3api/s3_constants"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants""net/http""os""strings""time"- "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/storage/needle"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/util")var (diff --git a/weed/server/filer_server_handlers_write_autochunk.go b/weed/server/filer_server_handlers_write_autochunk.goindex 9c2b9959fe..8ad3f1a1a2 100644--- a/weed/server/filer_server_handlers_write_autochunk.go+++ b/weed/server/filer_server_handlers_write_autochunk.go@@ -3,7 +3,7 @@ package weed_serverimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/s3api/s3_constants"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants""io""net/http""os"@@ -12,13 +12,13 @@ import ("strings""time"- "github.com/chrislusf/seaweedfs/weed/filer"- "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/stats"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/util")func (fs *FilerServer) autoChunk(ctx context.Context, w http.ResponseWriter, r *http.Request, contentLength int64, so *operation.StorageOption) {diff --git a/weed/server/filer_server_handlers_write_cipher.go b/weed/server/filer_server_handlers_write_cipher.goindex 1f10d044e2..058d356463 100644--- a/weed/server/filer_server_handlers_write_cipher.go+++ b/weed/server/filer_server_handlers_write_cipher.go@@ -8,12 +8,12 @@ import ("strings""time"- "github.com/chrislusf/seaweedfs/weed/filer"- "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/storage/needle"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/util")// handling single chunk POST or PUT uploaddiff --git a/weed/server/filer_server_handlers_write_merge.go b/weed/server/filer_server_handlers_write_merge.goindex dadc6f7265..672a82672c 100644--- a/weed/server/filer_server_handlers_write_merge.go+++ b/weed/server/filer_server_handlers_write_merge.go@@ -1,8 +1,8 @@package weed_serverimport (- "github.com/chrislusf/seaweedfs/weed/operation"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb")func (fs *FilerServer) maybeMergeChunks(so *operation.StorageOption, inputChunks []*filer_pb.FileChunk) (mergedChunks []*filer_pb.FileChunk, err error) {diff --git a/weed/server/filer_server_handlers_write_upload.go b/weed/server/filer_server_handlers_write_upload.goindex fe33464022..c6d00d9ec4 100644--- a/weed/server/filer_server_handlers_write_upload.go+++ b/weed/server/filer_server_handlers_write_upload.go@@ -14,13 +14,13 @@ import ("sync/atomic""time"- "github.com/chrislusf/seaweedfs/weed/filer"- "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"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/util")var bufPool = sync.Pool{diff --git a/weed/server/filer_server_rocksdb.go b/weed/server/filer_server_rocksdb.goindex 75965e7619..57b1d08f81 100644--- a/weed/server/filer_server_rocksdb.go+++ b/weed/server/filer_server_rocksdb.go@@ -4,5 +4,5 @@package weed_serverimport (- _ "github.com/chrislusf/seaweedfs/weed/filer/rocksdb"+ _ "github.com/seaweedfs/seaweedfs/weed/filer/rocksdb")diff --git a/weed/server/filer_ui/breadcrumb.go b/weed/server/filer_ui/breadcrumb.goindex 3201ff76cb..abb6cce9a2 100644--- a/weed/server/filer_ui/breadcrumb.go+++ b/weed/server/filer_ui/breadcrumb.go@@ -3,7 +3,7 @@ package filer_uiimport ("strings"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util")type Breadcrumb struct {diff --git a/weed/server/filer_ui/filer.html b/weed/server/filer_ui/filer.htmlindex c9d832e8f6..90e3be39e9 100644--- a/weed/server/filer_ui/filer.html+++ b/weed/server/filer_ui/filer.html@@ -81,7 +81,7 @@<div class="container"><div class="page-header"><h1>- <a href="https://github.com/chrislusf/seaweedfs"><img src="/seaweedfsstatic/seaweed50x50.png"></img></a>+ <a href="https://github.com/seaweedfs/seaweedfs"><img src="/seaweedfsstatic/seaweed50x50.png"></img></a>SeaweedFS Filer</h1></div>diff --git a/weed/server/master_grpc_server.go b/weed/server/master_grpc_server.goindex f451b37446..975aab1c13 100644--- a/weed/server/master_grpc_server.go+++ b/weed/server/master_grpc_server.go@@ -4,23 +4,23 @@ import ("context""errors""fmt"- "github.com/chrislusf/seaweedfs/weed/cluster"+ "github.com/seaweedfs/seaweedfs/weed/cluster""net""sort""time"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/stats"- "github.com/chrislusf/seaweedfs/weed/storage/backend"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend"+ "github.com/seaweedfs/seaweedfs/weed/util""github.com/seaweedfs/raft""google.golang.org/grpc/peer"- "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"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/topology")func (ms *MasterServer) RegisterUuids(heartbeat *master_pb.Heartbeat) (duplicated_uuids []string, err error) {diff --git a/weed/server/master_grpc_server_admin.go b/weed/server/master_grpc_server_admin.goindex 1f37e979a6..2eb25c10b3 100644--- a/weed/server/master_grpc_server_admin.go+++ b/weed/server/master_grpc_server_admin.go@@ -3,16 +3,16 @@ package weed_serverimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/cluster"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/cluster"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb""math/rand""sync""time"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb")/*diff --git a/weed/server/master_grpc_server_cluster.go b/weed/server/master_grpc_server_cluster.goindex 6a8852beee..e68238caa7 100644--- a/weed/server/master_grpc_server_cluster.go+++ b/weed/server/master_grpc_server_cluster.go@@ -2,9 +2,9 @@ package weed_serverimport ("context"- "github.com/chrislusf/seaweedfs/weed/cluster"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/cluster"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb""math/rand")diff --git a/weed/server/master_grpc_server_collection.go b/weed/server/master_grpc_server_collection.goindex 51d1fc5805..3a3f084f21 100644--- a/weed/server/master_grpc_server_collection.go+++ b/weed/server/master_grpc_server_collection.go@@ -5,9 +5,9 @@ import ("github.com/seaweedfs/raft"- "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/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/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_raft.go b/weed/server/master_grpc_server_raft.goindex 258b6beac0..45a6c7a7e3 100644--- a/weed/server/master_grpc_server_raft.go+++ b/weed/server/master_grpc_server_raft.go@@ -3,9 +3,9 @@ package weed_serverimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/cluster"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb""github.com/hashicorp/raft"+ "github.com/seaweedfs/seaweedfs/weed/cluster"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb")func (ms *MasterServer) RaftListClusterServers(ctx context.Context, req *master_pb.RaftListClusterServersRequest) (*master_pb.RaftListClusterServersResponse, error) {diff --git a/weed/server/master_grpc_server_volume.go b/weed/server/master_grpc_server_volume.goindex df7524eb01..fb13ebd322 100644--- a/weed/server/master_grpc_server_volume.go+++ b/weed/server/master_grpc_server_volume.go@@ -9,13 +9,13 @@ import ("sync""time"- "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/storage/needle"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"- "github.com/chrislusf/seaweedfs/weed/storage/types"- "github.com/chrislusf/seaweedfs/weed/topology"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/topology")func (ms *MasterServer) ProcessGrowRequest() {diff --git a/weed/server/master_server.go b/weed/server/master_server.goindex 282ff41e06..45981bbb42 100644--- a/weed/server/master_server.go+++ b/weed/server/master_server.go@@ -3,7 +3,7 @@ package weed_serverimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/stats""net/http""net/http/httputil""net/url"@@ -13,22 +13,22 @@ import ("sync""time"- "github.com/chrislusf/seaweedfs/weed/cluster"- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/cluster"+ "github.com/seaweedfs/seaweedfs/weed/pb""github.com/gorilla/mux"hashicorpRaft "github.com/hashicorp/raft""github.com/seaweedfs/raft""google.golang.org/grpc"- "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/shell"- "github.com/chrislusf/seaweedfs/weed/topology"- "github.com/chrislusf/seaweedfs/weed/util"- "github.com/chrislusf/seaweedfs/weed/wdclient"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/sequence"+ "github.com/seaweedfs/seaweedfs/weed/shell"+ "github.com/seaweedfs/seaweedfs/weed/topology"+ "github.com/seaweedfs/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/wdclient")const (diff --git a/weed/server/master_server_handlers.go b/weed/server/master_server_handlers.goindex 0b79c4ed57..115affe714 100644--- a/weed/server/master_server_handlers.go+++ b/weed/server/master_server_handlers.go@@ -2,16 +2,16 @@ package weed_serverimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/glog""net/http""strconv""strings"- "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"- "github.com/chrislusf/seaweedfs/weed/topology"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/topology")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.goindex 0c85db791d..0d7131340c 100644--- a/weed/server/master_server_handlers_admin.go+++ b/weed/server/master_server_handlers_admin.go@@ -3,21 +3,21 @@ package weed_serverimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb""math/rand""net/http""strconv"- "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/backend/memory_map"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"- "github.com/chrislusf/seaweedfs/weed/storage/types"- "github.com/chrislusf/seaweedfs/weed/topology"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend/memory_map"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/topology"+ "github.com/seaweedfs/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.goindex b481b9854f..e377a0e196 100644--- a/weed/server/master_server_handlers_ui.go+++ b/weed/server/master_server_handlers_ui.go@@ -7,9 +7,9 @@ import (hashicorpRaft "github.com/hashicorp/raft""github.com/seaweedfs/raft"- ui "github.com/chrislusf/seaweedfs/weed/server/master_ui"- "github.com/chrislusf/seaweedfs/weed/stats"- "github.com/chrislusf/seaweedfs/weed/util"+ ui "github.com/seaweedfs/seaweedfs/weed/server/master_ui"+ "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/util")func (ms *MasterServer) uiStatusHandler(w http.ResponseWriter, r *http.Request) {diff --git a/weed/server/master_ui/master.html b/weed/server/master_ui/master.htmlindex e0241d66d2..2e37c3a62f 100644--- a/weed/server/master_ui/master.html+++ b/weed/server/master_ui/master.html@@ -8,7 +8,7 @@<div class="container"><div class="page-header"><h1>- <a href="https://github.com/chrislusf/seaweedfs"><img src="/seaweedfsstatic/seaweed50x50.png"></img></a>+ <a href="https://github.com/seaweedfs/seaweedfs"><img src="/seaweedfsstatic/seaweed50x50.png"></img></a>SeaweedFS <small>{{ .Version }}</small></h1></div>diff --git a/weed/server/master_ui/masterNewRaft.html b/weed/server/master_ui/masterNewRaft.htmlindex 32afdceac7..24271b5039 100644--- a/weed/server/master_ui/masterNewRaft.html+++ b/weed/server/master_ui/masterNewRaft.html@@ -8,7 +8,7 @@<div class="container"><div class="page-header"><h1>- <a href="https://github.com/chrislusf/seaweedfs"><img src="/seaweedfsstatic/seaweed50x50.png"></img></a>+ <a href="https://github.com/seaweedfs/seaweedfs"><img src="/seaweedfsstatic/seaweed50x50.png"></img></a>SeaweedFS <small>{{ .Version }}</small></h1></div>diff --git a/weed/server/raft_hashicorp.go b/weed/server/raft_hashicorp.goindex 9971eaa48f..ed8477053b 100644--- a/weed/server/raft_hashicorp.go+++ b/weed/server/raft_hashicorp.go@@ -6,10 +6,10 @@ package weed_serverimport ("fmt"transport "github.com/Jille/raft-grpc-transport"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb""github.com/hashicorp/raft"boltdb "github.com/hashicorp/raft-boltdb"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb""google.golang.org/grpc""math/rand""os"diff --git a/weed/server/raft_server.go b/weed/server/raft_server.goindex b1c6624d56..0e184308d7 100644--- a/weed/server/raft_server.go+++ b/weed/server/raft_server.go@@ -12,13 +12,13 @@ import ("google.golang.org/grpc"- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb"hashicorpRaft "github.com/hashicorp/raft""github.com/seaweedfs/raft"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/topology"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/topology")type RaftServerOption struct {diff --git a/weed/server/raft_server_handlers.go b/weed/server/raft_server_handlers.goindex cc3e6e37f0..e9feb7050d 100644--- a/weed/server/raft_server_handlers.go+++ b/weed/server/raft_server_handlers.go@@ -1,8 +1,8 @@package weed_serverimport (- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle""net/http")diff --git a/weed/server/volume_grpc_admin.go b/weed/server/volume_grpc_admin.goindex 2ffdf2226a..c570ae2df5 100644--- a/weed/server/volume_grpc_admin.go+++ b/weed/server/volume_grpc_admin.go@@ -3,20 +3,20 @@ package weed_serverimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/cluster"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/cluster"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/util""path/filepath""time"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- "github.com/chrislusf/seaweedfs/weed/stats"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/storage/types")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.goindex 3645ad9c98..25780ec75d 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/chrislusf/seaweedfs/weed/operation"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/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.goindex 078b78eb2f..c005245772 100644--- a/weed/server/volume_grpc_client_to_master.go+++ b/weed/server/volume_grpc_client_to_master.go@@ -5,20 +5,20 @@ import ("os""time"- "github.com/chrislusf/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/operation""google.golang.org/grpc"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/storage/backend"- "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend"+ "github.com/seaweedfs/seaweedfs/weed/storage/erasure_coding""golang.org/x/net/context"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")func (vs *VolumeServer) GetMaster() pb.ServerAddress {diff --git a/weed/server/volume_grpc_copy.go b/weed/server/volume_grpc_copy.goindex b4bc850e2a..630b1610b2 100644--- a/weed/server/volume_grpc_copy.go+++ b/weed/server/volume_grpc_copy.go@@ -3,22 +3,22 @@ package weed_serverimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/storage/backend"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend""io""math""os""time"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/operation"- "github.com/chrislusf/seaweedfs/weed/pb"- "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"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage"+ "github.com/seaweedfs/seaweedfs/weed/storage/erasure_coding"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/util")const BufferSizeLimit = 1024 * 1024 * 2diff --git a/weed/server/volume_grpc_copy_incremental.go b/weed/server/volume_grpc_copy_incremental.goindex 82b143c3d2..449adb9338 100644--- a/weed/server/volume_grpc_copy_incremental.go+++ b/weed/server/volume_grpc_copy_incremental.go@@ -5,9 +5,9 @@ import ("fmt""io"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- "github.com/chrislusf/seaweedfs/weed/storage/backend"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend"+ "github.com/seaweedfs/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.goindex 79611f4994..ed8f495963 100644--- a/weed/server/volume_grpc_erasure_coding.go+++ b/weed/server/volume_grpc_erasure_coding.go@@ -9,16 +9,16 @@ import ("path""strings"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/operation"- "github.com/chrislusf/seaweedfs/weed/pb"- "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/storage/volume_info"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage"+ "github.com/seaweedfs/seaweedfs/weed/storage/erasure_coding"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/storage/volume_info"+ "github.com/seaweedfs/seaweedfs/weed/util")/*diff --git a/weed/server/volume_grpc_query.go b/weed/server/volume_grpc_query.goindex 349d10097d..a1abcb8eb5 100644--- a/weed/server/volume_grpc_query.go+++ b/weed/server/volume_grpc_query.go@@ -1,11 +1,11 @@package weed_serverimport (- "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/query/json"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/query/json"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle""github.com/tidwall/gjson")diff --git a/weed/server/volume_grpc_read_all.go b/weed/server/volume_grpc_read_all.goindex 7fe5bad038..6f75dba97c 100644--- a/weed/server/volume_grpc_read_all.go+++ b/weed/server/volume_grpc_read_all.go@@ -2,9 +2,9 @@ package weed_serverimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- "github.com/chrislusf/seaweedfs/weed/storage"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle")func (vs *VolumeServer) ReadAllNeedles(req *volume_server_pb.ReadAllNeedlesRequest, stream volume_server_pb.VolumeServer_ReadAllNeedlesServer) (err error) {diff --git a/weed/server/volume_grpc_read_write.go b/weed/server/volume_grpc_read_write.goindex 988e9e1451..9a4b6b0723 100644--- a/weed/server/volume_grpc_read_write.go+++ b/weed/server/volume_grpc_read_write.go@@ -3,9 +3,9 @@ package weed_serverimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/types")func (vs *VolumeServer) ReadNeedleBlob(ctx context.Context, req *volume_server_pb.ReadNeedleBlobRequest) (resp *volume_server_pb.ReadNeedleBlobResponse, err error) {diff --git a/weed/server/volume_grpc_remote.go b/weed/server/volume_grpc_remote.goindex 9114db3295..634b27c84f 100644--- a/weed/server/volume_grpc_remote.go+++ b/weed/server/volume_grpc_remote.go@@ -3,12 +3,12 @@ package weed_serverimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/operation"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- "github.com/chrislusf/seaweedfs/weed/remote_storage"- "github.com/chrislusf/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/remote_storage"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/types""sync""time")diff --git a/weed/server/volume_grpc_tail.go b/weed/server/volume_grpc_tail.goindex 4022da44a4..b44d7d2486 100644--- a/weed/server/volume_grpc_tail.go+++ b/weed/server/volume_grpc_tail.go@@ -3,15 +3,15 @@ package weed_serverimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb""time"- "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/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block")func (vs *VolumeServer) VolumeTailSender(req *volume_server_pb.VolumeTailSenderRequest, stream volume_server_pb.VolumeServer_VolumeTailSenderServer) error {diff --git a/weed/server/volume_grpc_tier_download.go b/weed/server/volume_grpc_tier_download.goindex 73d8ae7cbc..c93e61f507 100644--- a/weed/server/volume_grpc_tier_download.go+++ b/weed/server/volume_grpc_tier_download.go@@ -4,9 +4,9 @@ import ("fmt""time"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- "github.com/chrislusf/seaweedfs/weed/storage/backend"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle")// VolumeTierMoveDatFromRemote copy dat file from a remote tier to local volume serverdiff --git a/weed/server/volume_grpc_tier_upload.go b/weed/server/volume_grpc_tier_upload.goindex c690de9591..8e0b48094c 100644--- a/weed/server/volume_grpc_tier_upload.go+++ b/weed/server/volume_grpc_tier_upload.go@@ -5,9 +5,9 @@ import ("os""time"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- "github.com/chrislusf/seaweedfs/weed/storage/backend"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle")// VolumeTierMoveDatToRemote copy dat file to a remote tierdiff --git a/weed/server/volume_grpc_vacuum.go b/weed/server/volume_grpc_vacuum.goindex 0ab782b02e..f11764f3a4 100644--- a/weed/server/volume_grpc_vacuum.go+++ b/weed/server/volume_grpc_vacuum.go@@ -3,9 +3,9 @@ package weed_serverimport ("context"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/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.goindex abb30229a7..c337fa7404 100644--- a/weed/server/volume_server.go+++ b/weed/server/volume_server.go@@ -5,18 +5,18 @@ import ("sync""time"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/types""google.golang.org/grpc"- "github.com/chrislusf/seaweedfs/weed/stats"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/util"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/storage"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/storage")type VolumeServer struct {diff --git a/weed/server/volume_server_handlers.go b/weed/server/volume_server_handlers.goindex 293f36f14b..e95ecc8dae 100644--- a/weed/server/volume_server_handlers.go+++ b/weed/server/volume_server_handlers.go@@ -8,11 +8,11 @@ import ("sync/atomic""time"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/stats")/*diff --git a/weed/server/volume_server_handlers_admin.go b/weed/server/volume_server_handlers_admin.goindex 37cf109e2e..e344c32962 100644--- a/weed/server/volume_server_handlers_admin.go+++ b/weed/server/volume_server_handlers_admin.go@@ -1,13 +1,13 @@package weed_serverimport (- "github.com/chrislusf/seaweedfs/weed/topology"+ "github.com/seaweedfs/seaweedfs/weed/topology""net/http""path/filepath"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- "github.com/chrislusf/seaweedfs/weed/stats"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/util")func (vs *VolumeServer) healthzHandler(w http.ResponseWriter, r *http.Request) {diff --git a/weed/server/volume_server_handlers_read.go b/weed/server/volume_server_handlers_read.goindex eb5b2be5ac..eaebc16301 100644--- a/weed/server/volume_server_handlers_read.go+++ b/weed/server/volume_server_handlers_read.go@@ -5,8 +5,8 @@ import ("encoding/json""errors""fmt"- "github.com/chrislusf/seaweedfs/weed/storage/types"- "github.com/chrislusf/seaweedfs/weed/util/mem"+ "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/util/mem""io""mime""net/http"@@ -17,13 +17,13 @@ import ("sync/atomic""time"- "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"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/images"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/storage"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/util")var fileNameEscaper = strings.NewReplacer(`\`, `\\`, `"`, `\"`)diff --git a/weed/server/volume_server_handlers_ui.go b/weed/server/volume_server_handlers_ui.goindex 2c420c2d6f..c1c82e18c6 100644--- a/weed/server/volume_server_handlers_ui.go+++ b/weed/server/volume_server_handlers_ui.go@@ -1,16 +1,16 @@package weed_serverimport (- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb""net/http""path/filepath""time"- "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/storage"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ ui "github.com/seaweedfs/seaweedfs/weed/server/volume_server_ui"+ "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/storage"+ "github.com/seaweedfs/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.goindex bda8b986ef..c25c401741 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/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"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/topology")func (vs *VolumeServer) PostHandler(w http.ResponseWriter, r *http.Request) {diff --git a/weed/server/volume_server_tcp_handlers_write.go b/weed/server/volume_server_tcp_handlers_write.goindex 24ad916e6b..fb2623a2cd 100644--- a/weed/server/volume_server_tcp_handlers_write.go+++ b/weed/server/volume_server_tcp_handlers_write.go@@ -7,9 +7,9 @@ import ("net""strings"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/util")func (vs *VolumeServer) HandleTcpConnection(c net.Conn) {diff --git a/weed/server/volume_server_ui/templates.go b/weed/server/volume_server_ui/templates.goindex d85eb247a1..a434c55cfb 100644--- a/weed/server/volume_server_ui/templates.go+++ b/weed/server/volume_server_ui/templates.go@@ -3,7 +3,7 @@ package volume_server_uiimport (_ "embed""fmt"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util""html/template""strconv""strings"diff --git a/weed/server/volume_server_ui/volume.html b/weed/server/volume_server_ui/volume.htmlindex 91809beb04..de7f967db3 100644--- a/weed/server/volume_server_ui/volume.html+++ b/weed/server/volume_server_ui/volume.html@@ -30,7 +30,7 @@<div class="container"><div class="page-header"><h1>- <a href="https://github.com/chrislusf/seaweedfs"><img src="/seaweedfsstatic/seaweed50x50.png"></img></a>+ <a href="https://github.com/seaweedfs/seaweedfs"><img src="/seaweedfsstatic/seaweed50x50.png"></img></a>SeaweedFS <small>{{ .Version }}</small></h1></div>diff --git a/weed/server/webdav_server.go b/weed/server/webdav_server.goindex 5140af2b41..9b50399018 100644--- a/weed/server/webdav_server.go+++ b/weed/server/webdav_server.go@@ -10,19 +10,19 @@ import ("strings""time"- "github.com/chrislusf/seaweedfs/weed/util/buffered_writer"+ "github.com/seaweedfs/seaweedfs/weed/util/buffered_writer""golang.org/x/net/webdav""google.golang.org/grpc"- "github.com/chrislusf/seaweedfs/weed/operation"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"- "github.com/chrislusf/seaweedfs/weed/util/chunk_cache"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util/chunk_cache"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/security")type WebDavOption struct {diff --git a/weed/shell/command_cluster_check.go b/weed/shell/command_cluster_check.goindex e363239e73..fef371b494 100644--- a/weed/shell/command_cluster_check.go+++ b/weed/shell/command_cluster_check.go@@ -4,11 +4,11 @@ import ("context""flag""fmt"- "github.com/chrislusf/seaweedfs/weed/cluster"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/cluster"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb""io")diff --git a/weed/shell/command_cluster_ps.go b/weed/shell/command_cluster_ps.goindex f620df3f73..5c495b2e29 100644--- a/weed/shell/command_cluster_ps.go+++ b/weed/shell/command_cluster_ps.go@@ -4,13 +4,13 @@ import ("context""flag""fmt"- "github.com/chrislusf/seaweedfs/weed/cluster"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/cluster"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb""io"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb")func init() {diff --git a/weed/shell/command_cluster_raft_add.go b/weed/shell/command_cluster_raft_add.goindex e5f3c41c9d..6dce8d1478 100644--- a/weed/shell/command_cluster_raft_add.go+++ b/weed/shell/command_cluster_raft_add.go@@ -4,7 +4,7 @@ import ("context""flag""fmt"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb""io")diff --git a/weed/shell/command_cluster_raft_ps.go b/weed/shell/command_cluster_raft_ps.goindex ea868db06e..6e58b461c1 100644--- a/weed/shell/command_cluster_raft_ps.go+++ b/weed/shell/command_cluster_raft_ps.go@@ -4,7 +4,7 @@ import ("context""flag""fmt"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb""io")diff --git a/weed/shell/command_cluster_raft_remove.go b/weed/shell/command_cluster_raft_remove.goindex 532a1469ca..c885d145ba 100644--- a/weed/shell/command_cluster_raft_remove.go+++ b/weed/shell/command_cluster_raft_remove.go@@ -4,7 +4,7 @@ import ("context""flag""fmt"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb""io")diff --git a/weed/shell/command_collection_delete.go b/weed/shell/command_collection_delete.goindex b89fe7fc0b..78a5b71570 100644--- a/weed/shell/command_collection_delete.go+++ b/weed/shell/command_collection_delete.go@@ -4,7 +4,7 @@ import ("context""flag""fmt"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb""io")diff --git a/weed/shell/command_collection_list.go b/weed/shell/command_collection_list.goindex 47a4da5532..c277d40284 100644--- a/weed/shell/command_collection_list.go+++ b/weed/shell/command_collection_list.go@@ -3,8 +3,8 @@ package shellimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block""io")diff --git a/weed/shell/command_ec_balance.go b/weed/shell/command_ec_balance.goindex 5641c6954c..2267f8cf05 100644--- a/weed/shell/command_ec_balance.go+++ b/weed/shell/command_ec_balance.go@@ -3,10 +3,10 @@ package shellimport ("flag""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/erasure_coding"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/types""golang.org/x/exp/slices""io")diff --git a/weed/shell/command_ec_common.go b/weed/shell/command_ec_common.goindex 27b6507317..5af783d04f 100644--- a/weed/shell/command_ec_common.go+++ b/weed/shell/command_ec_common.go@@ -3,14 +3,14 @@ package shellimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/operation"- "github.com/chrislusf/seaweedfs/weed/pb"- "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/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/erasure_coding"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/types""golang.org/x/exp/slices""google.golang.org/grpc""math"diff --git a/weed/shell/command_ec_decode.go b/weed/shell/command_ec_decode.goindex 59c5bf83a0..aebc205793 100644--- a/weed/shell/command_ec_decode.go+++ b/weed/shell/command_ec_decode.go@@ -4,19 +4,19 @@ import ("context""flag""fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/types""io""time""google.golang.org/grpc"- "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/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/erasure_coding"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle")func init() {diff --git a/weed/shell/command_ec_encode.go b/weed/shell/command_ec_encode.goindex 2514489085..7834ba1fe7 100644--- a/weed/shell/command_ec_encode.go+++ b/weed/shell/command_ec_encode.go@@ -4,7 +4,7 @@ import ("context""flag""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb""io""math/rand""sync"@@ -12,12 +12,12 @@ import ("google.golang.org/grpc"- "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"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/erasure_coding"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/wdclient")func init() {diff --git a/weed/shell/command_ec_encode_test.go b/weed/shell/command_ec_encode_test.goindex 940c642665..f906bbf275 100644--- a/weed/shell/command_ec_encode_test.go+++ b/weed/shell/command_ec_encode_test.go@@ -2,7 +2,7 @@ package shellimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding"+ "github.com/seaweedfs/seaweedfs/weed/storage/erasure_coding""testing")diff --git a/weed/shell/command_ec_rebuild.go b/weed/shell/command_ec_rebuild.goindex a2e1f4d441..486b94059d 100644--- a/weed/shell/command_ec_rebuild.go+++ b/weed/shell/command_ec_rebuild.go@@ -4,13 +4,13 @@ import ("context""flag""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb""io"- "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/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/erasure_coding"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle""google.golang.org/grpc")diff --git a/weed/shell/command_ec_test.go b/weed/shell/command_ec_test.goindex a1226adbb9..25380ddca5 100644--- a/weed/shell/command_ec_test.go+++ b/weed/shell/command_ec_test.go@@ -4,8 +4,8 @@ import ("fmt""testing"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle")func TestCommandEcDistribution(t *testing.T) {diff --git a/weed/shell/command_fs_cat.go b/weed/shell/command_fs_cat.goindex 16be25ee50..da88e95747 100644--- a/weed/shell/command_fs_cat.go+++ b/weed/shell/command_fs_cat.go@@ -2,9 +2,9 @@ package shellimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util""io")diff --git a/weed/shell/command_fs_configure.go b/weed/shell/command_fs_configure.goindex 2c4ef2211d..1bf42b9ab0 100644--- a/weed/shell/command_fs_configure.go+++ b/weed/shell/command_fs_configure.go@@ -7,9 +7,9 @@ import ("io""strings"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block")func init() {diff --git a/weed/shell/command_fs_du.go b/weed/shell/command_fs_du.goindex a9d704f37a..1a6ea82a8e 100644--- a/weed/shell/command_fs_du.go+++ b/weed/shell/command_fs_du.go@@ -4,9 +4,9 @@ import ("fmt""io"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/shell/command_fs_ls.go b/weed/shell/command_fs_ls.goindex 592ec8be0a..6fe76920ef 100644--- a/weed/shell/command_fs_ls.go+++ b/weed/shell/command_fs_ls.go@@ -8,9 +8,9 @@ import ("strconv""strings"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/shell/command_fs_meta_cat.go b/weed/shell/command_fs_meta_cat.goindex 4616c072d7..a4d8dd44c0 100644--- a/weed/shell/command_fs_meta_cat.go+++ b/weed/shell/command_fs_meta_cat.go@@ -7,8 +7,8 @@ import ("golang.org/x/exp/slices""io"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/shell/command_fs_meta_load.go b/weed/shell/command_fs_meta_load.goindex 7fe4cf8099..b5a5a381a2 100644--- a/weed/shell/command_fs_meta_load.go+++ b/weed/shell/command_fs_meta_load.go@@ -8,8 +8,8 @@ import ("github.com/golang/protobuf/proto"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/shell/command_fs_meta_notify.go b/weed/shell/command_fs_meta_notify.goindex 5982214f93..5445810ed6 100644--- a/weed/shell/command_fs_meta_notify.go+++ b/weed/shell/command_fs_meta_notify.go@@ -4,9 +4,9 @@ import ("fmt""io"- "github.com/chrislusf/seaweedfs/weed/notification"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/notification"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/shell/command_fs_meta_save.go b/weed/shell/command_fs_meta_save.goindex ea909a527e..56a3e1ab93 100644--- a/weed/shell/command_fs_meta_save.go+++ b/weed/shell/command_fs_meta_save.go@@ -3,7 +3,7 @@ package shellimport ("flag""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/filer""io""os""path/filepath"@@ -14,8 +14,8 @@ import ("github.com/golang/protobuf/proto"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/shell/command_fs_mkdir.go b/weed/shell/command_fs_mkdir.goindex 71a35cb68d..30cd26a20f 100644--- a/weed/shell/command_fs_mkdir.go+++ b/weed/shell/command_fs_mkdir.go@@ -2,8 +2,8 @@ package shellimport ("context"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util""io""os""time"diff --git a/weed/shell/command_fs_mv.go b/weed/shell/command_fs_mv.goindex 612cdc84e9..8e609edc9a 100644--- a/weed/shell/command_fs_mv.go+++ b/weed/shell/command_fs_mv.go@@ -5,8 +5,8 @@ import ("fmt""io"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/shell/command_fs_rm.go b/weed/shell/command_fs_rm.goindex 2ce3275bba..ec29cced93 100644--- a/weed/shell/command_fs_rm.go+++ b/weed/shell/command_fs_rm.go@@ -6,8 +6,8 @@ import ("io""strings"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/shell/command_fs_tree.go b/weed/shell/command_fs_tree.goindex a8c5b2018e..2b2ad2cb7a 100644--- a/weed/shell/command_fs_tree.go+++ b/weed/shell/command_fs_tree.go@@ -5,8 +5,8 @@ import ("io""strings"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/shell/command_lock_unlock.go b/weed/shell/command_lock_unlock.goindex 33458bb6fe..a69be21c73 100644--- a/weed/shell/command_lock_unlock.go+++ b/weed/shell/command_lock_unlock.go@@ -1,7 +1,7 @@package shellimport (- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util""io")diff --git a/weed/shell/command_mount_configure.go b/weed/shell/command_mount_configure.goindex 8c268d35c9..ea9202c174 100644--- a/weed/shell/command_mount_configure.go+++ b/weed/shell/command_mount_configure.go@@ -4,8 +4,8 @@ import ("context""flag""fmt"- "github.com/chrislusf/seaweedfs/weed/pb/mount_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/mount_pb"+ "github.com/seaweedfs/seaweedfs/weed/util""google.golang.org/grpc""google.golang.org/grpc/credentials/insecure"_ "google.golang.org/grpc/resolver/passthrough"diff --git a/weed/shell/command_remote_cache.go b/weed/shell/command_remote_cache.goindex 2bd8d4eda0..3a44d26e47 100644--- a/weed/shell/command_remote_cache.go+++ b/weed/shell/command_remote_cache.go@@ -3,10 +3,10 @@ package shellimport ("flag""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/remote_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb"+ "github.com/seaweedfs/seaweedfs/weed/util""io""sync")diff --git a/weed/shell/command_remote_configure.go b/weed/shell/command_remote_configure.goindex e150901905..e0759f5b31 100644--- a/weed/shell/command_remote_configure.go+++ b/weed/shell/command_remote_configure.go@@ -4,13 +4,13 @@ import ("context""flag""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/remote_pb"- "github.com/chrislusf/seaweedfs/weed/remote_storage"- "github.com/chrislusf/seaweedfs/weed/util""github.com/golang/protobuf/jsonpb""github.com/golang/protobuf/proto"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb"+ "github.com/seaweedfs/seaweedfs/weed/remote_storage"+ "github.com/seaweedfs/seaweedfs/weed/util""io""regexp""strings"diff --git a/weed/shell/command_remote_meta_sync.go b/weed/shell/command_remote_meta_sync.goindex e09a667614..8b9bcc0b45 100644--- a/weed/shell/command_remote_meta_sync.go+++ b/weed/shell/command_remote_meta_sync.go@@ -4,11 +4,11 @@ import ("context""flag""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/remote_pb"- "github.com/chrislusf/seaweedfs/weed/remote_storage"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb"+ "github.com/seaweedfs/seaweedfs/weed/remote_storage"+ "github.com/seaweedfs/seaweedfs/weed/util""io")diff --git a/weed/shell/command_remote_mount.go b/weed/shell/command_remote_mount.goindex 019bc93c90..a2a34304a0 100644--- a/weed/shell/command_remote_mount.go+++ b/weed/shell/command_remote_mount.go@@ -4,13 +4,13 @@ import ("context""flag""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/remote_pb"- "github.com/chrislusf/seaweedfs/weed/remote_storage"- "github.com/chrislusf/seaweedfs/weed/util""github.com/golang/protobuf/jsonpb""github.com/golang/protobuf/proto"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb"+ "github.com/seaweedfs/seaweedfs/weed/remote_storage"+ "github.com/seaweedfs/seaweedfs/weed/util""io""os""strings"diff --git a/weed/shell/command_remote_mount_buckets.go b/weed/shell/command_remote_mount_buckets.goindex 3ed22936f3..78843e1215 100644--- a/weed/shell/command_remote_mount_buckets.go+++ b/weed/shell/command_remote_mount_buckets.go@@ -3,10 +3,10 @@ package shellimport ("flag""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/pb/remote_pb"- "github.com/chrislusf/seaweedfs/weed/remote_storage"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb"+ "github.com/seaweedfs/seaweedfs/weed/remote_storage"+ "github.com/seaweedfs/seaweedfs/weed/util""io""path/filepath""regexp"diff --git a/weed/shell/command_remote_uncache.go b/weed/shell/command_remote_uncache.goindex a3433621e8..34269ce4ec 100644--- a/weed/shell/command_remote_uncache.go+++ b/weed/shell/command_remote_uncache.go@@ -8,9 +8,9 @@ import ("path/filepath""strings"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")func init() {diff --git a/weed/shell/command_remote_unmount.go b/weed/shell/command_remote_unmount.goindex 49b07f8f12..f461b09dec 100644--- a/weed/shell/command_remote_unmount.go+++ b/weed/shell/command_remote_unmount.go@@ -4,10 +4,10 @@ import ("context""flag""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/remote_storage"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/remote_storage"+ "github.com/seaweedfs/seaweedfs/weed/util""io""time")diff --git a/weed/shell/command_s3_bucket_create.go b/weed/shell/command_s3_bucket_create.goindex ffee40be5f..95342f1d09 100644--- a/weed/shell/command_s3_bucket_create.go+++ b/weed/shell/command_s3_bucket_create.go@@ -8,7 +8,7 @@ import ("os""time"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb")func init() {diff --git a/weed/shell/command_s3_bucket_delete.go b/weed/shell/command_s3_bucket_delete.goindex 5f8585b0b7..d0b4cb5057 100644--- a/weed/shell/command_s3_bucket_delete.go+++ b/weed/shell/command_s3_bucket_delete.go@@ -4,10 +4,10 @@ import ("context""flag""fmt"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb""io"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb")func init() {diff --git a/weed/shell/command_s3_bucket_list.go b/weed/shell/command_s3_bucket_list.goindex 09bde08b98..32ea09593e 100644--- a/weed/shell/command_s3_bucket_list.go+++ b/weed/shell/command_s3_bucket_list.go@@ -7,7 +7,7 @@ import ("io""math"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb")func init() {diff --git a/weed/shell/command_s3_bucket_quota.go b/weed/shell/command_s3_bucket_quota.goindex b7dbe416a8..d603c8156f 100644--- a/weed/shell/command_s3_bucket_quota.go+++ b/weed/shell/command_s3_bucket_quota.go@@ -6,7 +6,7 @@ import ("fmt""io"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb")func init() {diff --git a/weed/shell/command_s3_bucket_quota_check.go b/weed/shell/command_s3_bucket_quota_check.goindex f2a0d14f97..27f0aaee51 100644--- a/weed/shell/command_s3_bucket_quota_check.go+++ b/weed/shell/command_s3_bucket_quota_check.go@@ -4,8 +4,8 @@ import ("bytes""flag""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb""io""math")diff --git a/weed/shell/command_s3_circuitbreaker.go b/weed/shell/command_s3_circuitbreaker.goindex 7e11153bf3..2f326b0790 100644--- a/weed/shell/command_s3_circuitbreaker.go+++ b/weed/shell/command_s3_circuitbreaker.go@@ -4,14 +4,14 @@ import ("bytes""flag""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/pb/s3_pb"- "github.com/chrislusf/seaweedfs/weed/s3api/s3_constants"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/pb/s3_pb"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants""io""strconv""strings"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb")var LoadConfig = loadConfigdiff --git a/weed/shell/command_s3_clean_uploads.go b/weed/shell/command_s3_clean_uploads.goindex 198f94363d..831ca47c01 100644--- a/weed/shell/command_s3_clean_uploads.go+++ b/weed/shell/command_s3_clean_uploads.go@@ -3,14 +3,14 @@ package shellimport ("flag""fmt"- "github.com/chrislusf/seaweedfs/weed/s3api/s3_constants"- "github.com/chrislusf/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/util""io""math""time"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb")func init() {diff --git a/weed/shell/command_s3_configure.go b/weed/shell/command_s3_configure.goindex 422df2e755..92bd69ce56 100644--- a/weed/shell/command_s3_configure.go+++ b/weed/shell/command_s3_configure.go@@ -8,10 +8,10 @@ import ("sort""strings"- "github.com/chrislusf/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/iam_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/iam_pb")func init() {diff --git a/weed/shell/command_volume_balance.go b/weed/shell/command_volume_balance.goindex 8619ad99e3..079a166954 100644--- a/weed/shell/command_volume_balance.go+++ b/weed/shell/command_volume_balance.go@@ -3,16 +3,16 @@ package shellimport ("flag""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/storage/types""golang.org/x/exp/slices""io""os""time"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle")func init() {diff --git a/weed/shell/command_volume_balance_test.go b/weed/shell/command_volume_balance_test.goindex 9732e9bb75..5bd170e718 100644--- a/weed/shell/command_volume_balance_test.go+++ b/weed/shell/command_volume_balance_test.go@@ -1,12 +1,12 @@package shellimport (- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/storage/types""github.com/stretchr/testify/assert""testing"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block")type testMoveCase struct {diff --git a/weed/shell/command_volume_check_disk.go b/weed/shell/command_volume_check_disk.goindex 6a22a02738..403a3a841f 100644--- a/weed/shell/command_volume_check_disk.go+++ b/weed/shell/command_volume_check_disk.go@@ -5,10 +5,10 @@ import ("context""flag""fmt"- "github.com/chrislusf/seaweedfs/weed/operation"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- "github.com/chrislusf/seaweedfs/weed/storage/needle_map"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle_map""golang.org/x/exp/slices""io""math"diff --git a/weed/shell/command_volume_configure_replication.go b/weed/shell/command_volume_configure_replication.goindex b07d580830..a6acd6838c 100644--- a/weed/shell/command_volume_configure_replication.go+++ b/weed/shell/command_volume_configure_replication.go@@ -5,15 +5,15 @@ import ("errors""flag""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb""io""path/filepath"- "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/needle"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block")func init() {diff --git a/weed/shell/command_volume_copy.go b/weed/shell/command_volume_copy.goindex 0a4ac5063d..2bbb4d504e 100644--- a/weed/shell/command_volume_copy.go+++ b/weed/shell/command_volume_copy.go@@ -3,10 +3,10 @@ package shellimport ("flag""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb""io"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle")func init() {diff --git a/weed/shell/command_volume_delete.go b/weed/shell/command_volume_delete.goindex 30d71ba9fd..eb44735655 100644--- a/weed/shell/command_volume_delete.go+++ b/weed/shell/command_volume_delete.go@@ -2,10 +2,10 @@ package shellimport ("flag"- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb""io"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle")func init() {diff --git a/weed/shell/command_volume_delete_empty.go b/weed/shell/command_volume_delete_empty.goindex 79e61d38d7..1fa7742b3e 100644--- a/weed/shell/command_volume_delete_empty.go+++ b/weed/shell/command_volume_delete_empty.go@@ -2,9 +2,9 @@ package shellimport ("flag"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle""io""log""time"diff --git a/weed/shell/command_volume_fix_replication.go b/weed/shell/command_volume_fix_replication.goindex 4d986d2521..247627839c 100644--- a/weed/shell/command_volume_fix_replication.go+++ b/weed/shell/command_volume_fix_replication.go@@ -4,19 +4,19 @@ import ("context""flag""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/types""golang.org/x/exp/slices""io""path/filepath""strconv""time"- "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/super_block"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block")func init() {diff --git a/weed/shell/command_volume_fix_replication_test.go b/weed/shell/command_volume_fix_replication_test.goindex 5212fd2edb..89ab9f0c17 100644--- a/weed/shell/command_volume_fix_replication_test.go+++ b/weed/shell/command_volume_fix_replication_test.go@@ -3,8 +3,8 @@ package shellimport ("testing"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block")type testcase struct {diff --git a/weed/shell/command_volume_fsck.go b/weed/shell/command_volume_fsck.goindex 2b1daf97c4..e48e53d853 100644--- a/weed/shell/command_volume_fsck.go+++ b/weed/shell/command_volume_fsck.go@@ -5,16 +5,16 @@ import ("context""flag""fmt"- "github.com/chrislusf/seaweedfs/weed/filer"- "github.com/chrislusf/seaweedfs/weed/operation"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- "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"+ "github.com/seaweedfs/seaweedfs/weed/filer"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle_map"+ "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/util""io""io/ioutil""math"diff --git a/weed/shell/command_volume_list.go b/weed/shell/command_volume_list.goindex 3a56331682..408bb02f77 100644--- a/weed/shell/command_volume_list.go+++ b/weed/shell/command_volume_list.go@@ -4,8 +4,8 @@ import ("bytes""flag""fmt"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/erasure_coding""golang.org/x/exp/slices""path/filepath"diff --git a/weed/shell/command_volume_list_test.go b/weed/shell/command_volume_list_test.goindex 0bcbb1713d..60e304bf88 100644--- a/weed/shell/command_volume_list_test.go+++ b/weed/shell/command_volume_list_test.go@@ -2,14 +2,14 @@ package shellimport (_ "embed"- "github.com/chrislusf/seaweedfs/weed/storage/types""github.com/golang/protobuf/proto"+ "github.com/seaweedfs/seaweedfs/weed/storage/types""github.com/stretchr/testify/assert""strconv""strings""testing"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb")func TestParsing(t *testing.T) {diff --git a/weed/shell/command_volume_mark.go b/weed/shell/command_volume_mark.goindex 53c2265b06..1716cf9a69 100644--- a/weed/shell/command_volume_mark.go+++ b/weed/shell/command_volume_mark.go@@ -3,10 +3,10 @@ package shellimport ("flag""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb""io"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle")func init() {diff --git a/weed/shell/command_volume_mount.go b/weed/shell/command_volume_mount.goindex 7b03b8dfa0..e4bad222e5 100644--- a/weed/shell/command_volume_mount.go+++ b/weed/shell/command_volume_mount.go@@ -3,12 +3,12 @@ package shellimport ("context""flag"- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb""io"- "github.com/chrislusf/seaweedfs/weed/operation"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle""google.golang.org/grpc")diff --git a/weed/shell/command_volume_move.go b/weed/shell/command_volume_move.goindex d7cc8b8cea..4fcb7b69dd 100644--- a/weed/shell/command_volume_move.go+++ b/weed/shell/command_volume_move.go@@ -4,15 +4,15 @@ import ("context""flag""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/wdclient"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/wdclient""io""log""time"- "github.com/chrislusf/seaweedfs/weed/operation"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle""google.golang.org/grpc")diff --git a/weed/shell/command_volume_server_evacuate.go b/weed/shell/command_volume_server_evacuate.goindex f72d732304..6714385818 100644--- a/weed/shell/command_volume_server_evacuate.go+++ b/weed/shell/command_volume_server_evacuate.go@@ -3,11 +3,11 @@ package shellimport ("flag""fmt"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/erasure_coding"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/storage/types""golang.org/x/exp/slices""io""os"diff --git a/weed/shell/command_volume_server_leave.go b/weed/shell/command_volume_server_leave.goindex 029ef2201f..c4714b885d 100644--- a/weed/shell/command_volume_server_leave.go+++ b/weed/shell/command_volume_server_leave.go@@ -4,9 +4,9 @@ import ("context""flag""fmt"- "github.com/chrislusf/seaweedfs/weed/operation"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb""google.golang.org/grpc""io")diff --git a/weed/shell/command_volume_tier_download.go b/weed/shell/command_volume_tier_download.goindex 424a64b09e..bccbe8ccd7 100644--- a/weed/shell/command_volume_tier_download.go+++ b/weed/shell/command_volume_tier_download.go@@ -4,15 +4,15 @@ import ("context""flag""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb""io""google.golang.org/grpc"- "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/needle"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle")func init() {diff --git a/weed/shell/command_volume_tier_move.go b/weed/shell/command_volume_tier_move.goindex 4528ca98da..b1d736a0c5 100644--- a/weed/shell/command_volume_tier_move.go+++ b/weed/shell/command_volume_tier_move.go@@ -3,17 +3,17 @@ package shellimport ("flag""fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/storage/types"- "github.com/chrislusf/seaweedfs/weed/wdclient"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/wdclient""io""path/filepath""sync""time"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle")func init() {diff --git a/weed/shell/command_volume_tier_upload.go b/weed/shell/command_volume_tier_upload.goindex 0df0790e6e..83b67b7f91 100644--- a/weed/shell/command_volume_tier_upload.go+++ b/weed/shell/command_volume_tier_upload.go@@ -4,15 +4,15 @@ import ("context""flag""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb""io""time""google.golang.org/grpc"- "github.com/chrislusf/seaweedfs/weed/operation"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle")func init() {diff --git a/weed/shell/command_volume_unmount.go b/weed/shell/command_volume_unmount.goindex 85bec44f74..7a649bb0e7 100644--- a/weed/shell/command_volume_unmount.go+++ b/weed/shell/command_volume_unmount.go@@ -3,12 +3,12 @@ package shellimport ("context""flag"- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb""io"- "github.com/chrislusf/seaweedfs/weed/operation"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle""google.golang.org/grpc")diff --git a/weed/shell/command_volume_vacuum.go b/weed/shell/command_volume_vacuum.goindex 37b8aa0303..eb95e3d3d9 100644--- a/weed/shell/command_volume_vacuum.go+++ b/weed/shell/command_volume_vacuum.go@@ -5,7 +5,7 @@ import ("flag""io"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb")func init() {diff --git a/weed/shell/commands.go b/weed/shell/commands.goindex 51b4062d5b..378c89b254 100644--- a/weed/shell/commands.go+++ b/weed/shell/commands.go@@ -9,11 +9,11 @@ import ("google.golang.org/grpc"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"- "github.com/chrislusf/seaweedfs/weed/wdclient"- "github.com/chrislusf/seaweedfs/weed/wdclient/exclusive_locks"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/wdclient"+ "github.com/seaweedfs/seaweedfs/weed/wdclient/exclusive_locks")type ShellOptions struct {diff --git a/weed/shell/shell_liner.go b/weed/shell/shell_liner.goindex 595dbf6795..21b549ad07 100644--- a/weed/shell/shell_liner.go+++ b/weed/shell/shell_liner.go@@ -3,11 +3,11 @@ package shellimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/cluster"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/util/grace"+ "github.com/seaweedfs/seaweedfs/weed/cluster"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/util/grace""golang.org/x/exp/slices""io""math/rand"diff --git a/weed/stats/disk.go b/weed/stats/disk.goindex a8f9062132..5a8699a54a 100644--- a/weed/stats/disk.go+++ b/weed/stats/disk.go@@ -1,8 +1,8 @@package statsimport (- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb")func NewDiskStatus(path string) (disk *volume_server_pb.DiskStatus) {diff --git a/weed/stats/disk_notsupported.go b/weed/stats/disk_notsupported.goindex 2bc24a2f05..1da714c732 100644--- a/weed/stats/disk_notsupported.go+++ b/weed/stats/disk_notsupported.go@@ -3,7 +3,7 @@package stats-import "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"+import "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"func fillInDiskStatus(status *volume_server_pb.DiskStatus) {returndiff --git a/weed/stats/disk_supported.go b/weed/stats/disk_supported.goindex e698b00953..633dfd00e5 100644--- a/weed/stats/disk_supported.go+++ b/weed/stats/disk_supported.go@@ -6,7 +6,7 @@ package statsimport ("syscall"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb")func fillInDiskStatus(disk *volume_server_pb.DiskStatus) {diff --git a/weed/stats/disk_windows.go b/weed/stats/disk_windows.goindex 3cfa52c0b1..16e6d3326b 100644--- a/weed/stats/disk_windows.go+++ b/weed/stats/disk_windows.go@@ -1,7 +1,7 @@package statsimport (- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb""golang.org/x/sys/windows""syscall""unsafe"diff --git a/weed/stats/memory.go b/weed/stats/memory.goindex c671efc4dd..ed51d1a6c9 100644--- a/weed/stats/memory.go+++ b/weed/stats/memory.go@@ -3,7 +3,7 @@ package statsimport ("runtime"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/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.goindex 2508b561b4..f795aec9ce 100644--- a/weed/stats/memory_notsupported.go+++ b/weed/stats/memory_notsupported.go@@ -3,7 +3,7 @@package stats-import "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"+import "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"func fillInMemStatus(status *volume_server_pb.MemStatus) {returndiff --git a/weed/stats/memory_supported.go b/weed/stats/memory_supported.goindex 55ad4c6bbd..f7a577813d 100644--- a/weed/stats/memory_supported.go+++ b/weed/stats/memory_supported.go@@ -6,7 +6,7 @@ package statsimport ("syscall"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb")func fillInMemStatus(mem *volume_server_pb.MemStatus) {diff --git a/weed/stats/metrics.go b/weed/stats/metrics.goindex a2fd373af8..38c5590b3e 100644--- a/weed/stats/metrics.go+++ b/weed/stats/metrics.go@@ -10,11 +10,11 @@ import ("strings""time"- "github.com/chrislusf/seaweedfs/weed/glog""github.com/prometheus/client_golang/prometheus""github.com/prometheus/client_golang/prometheus/collectors""github.com/prometheus/client_golang/prometheus/promhttp""github.com/prometheus/client_golang/prometheus/push"+ "github.com/seaweedfs/seaweedfs/weed/glog")// Readonly volume typesdiff --git a/weed/storage/backend/backend.go b/weed/storage/backend/backend.goindex 132c67636a..c17bec822a 100644--- a/weed/storage/backend/backend.go+++ b/weed/storage/backend/backend.go@@ -1,15 +1,15 @@package backendimport (- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util""io""os""strings""time"- "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/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb")type BackendStorageFile interface {diff --git a/weed/storage/backend/disk_file.go b/weed/storage/backend/disk_file.goindex eced680128..0dd153d5d3 100644--- a/weed/storage/backend/disk_file.go+++ b/weed/storage/backend/disk_file.go@@ -1,8 +1,8 @@package backendimport (- "github.com/chrislusf/seaweedfs/weed/glog"- . "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ . "github.com/seaweedfs/seaweedfs/weed/storage/types""os""time")diff --git a/weed/storage/backend/s3_backend/s3_backend.go b/weed/storage/backend/s3_backend/s3_backend.goindex c68712d586..01fcc12839 100644--- a/weed/storage/backend/s3_backend/s3_backend.go+++ b/weed/storage/backend/s3_backend/s3_backend.go@@ -11,9 +11,9 @@ import ("github.com/aws/aws-sdk-go/service/s3/s3iface""github.com/google/uuid"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- "github.com/chrislusf/seaweedfs/weed/storage/backend"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend")func init() {diff --git a/weed/storage/backend/s3_backend/s3_download.go b/weed/storage/backend/s3_backend/s3_download.goindex f0cdbefecc..b0d30fbdb4 100644--- a/weed/storage/backend/s3_backend/s3_download.go+++ b/weed/storage/backend/s3_backend/s3_download.go@@ -10,7 +10,7 @@ import ("github.com/aws/aws-sdk-go/service/s3/s3iface""github.com/aws/aws-sdk-go/service/s3/s3manager"- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/glog")func downloadFromS3(sess s3iface.S3API, destFileName string, sourceBucket string, sourceKey string,diff --git a/weed/storage/backend/s3_backend/s3_sessions.go b/weed/storage/backend/s3_backend/s3_sessions.goindex 3170172d47..66f3afb1fb 100644--- a/weed/storage/backend/s3_backend/s3_sessions.go+++ b/weed/storage/backend/s3_backend/s3_sessions.go@@ -3,7 +3,7 @@ package s3_backendimport ("fmt""github.com/aws/aws-sdk-go/aws/request"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util""sync""github.com/aws/aws-sdk-go/aws"diff --git a/weed/storage/backend/s3_backend/s3_upload.go b/weed/storage/backend/s3_backend/s3_upload.goindex 2910b83393..537e6bd1d5 100644--- a/weed/storage/backend/s3_backend/s3_upload.go+++ b/weed/storage/backend/s3_backend/s3_upload.go@@ -8,7 +8,7 @@ import ("os""sync"- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/glog")func uploadToS3(sess s3iface.S3API, filename string, destBucket string, destKey string, storageClass string, fn func(progressed int64, percentage float32) error) (fileSize int64, err error) {diff --git a/weed/storage/backend/volume_create.go b/weed/storage/backend/volume_create.goindex 93719198b8..def3768221 100644--- a/weed/storage/backend/volume_create.go+++ b/weed/storage/backend/volume_create.go@@ -6,7 +6,7 @@ package backendimport ("os"- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/glog")func CreateVolumeFile(fileName string, preallocate int64, memoryMapSizeMB uint32) (BackendStorageFile, error) {diff --git a/weed/storage/backend/volume_create_linux.go b/weed/storage/backend/volume_create_linux.goindex 9b03dcda2a..2e52cce1b5 100644--- a/weed/storage/backend/volume_create_linux.go+++ b/weed/storage/backend/volume_create_linux.go@@ -7,7 +7,7 @@ import ("os""syscall"- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/glog")func CreateVolumeFile(fileName string, preallocate int64, memoryMapSizeMB uint32) (BackendStorageFile, error) {diff --git a/weed/storage/backend/volume_create_windows.go b/weed/storage/backend/volume_create_windows.goindex 0bbb4959b3..b2e0ea92bc 100644--- a/weed/storage/backend/volume_create_windows.go+++ b/weed/storage/backend/volume_create_windows.go@@ -4,11 +4,11 @@package backendimport (- "github.com/chrislusf/seaweedfs/weed/storage/backend/memory_map"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend/memory_map""golang.org/x/sys/windows"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/storage/backend/memory_map/os_overloads"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend/memory_map/os_overloads")func CreateVolumeFile(fileName string, preallocate int64, memoryMapSizeMB uint32) (BackendStorageFile, error) {diff --git a/weed/storage/disk_location.go b/weed/storage/disk_location.goindex 8af8ea6633..a81ae23ba2 100644--- a/weed/storage/disk_location.go+++ b/weed/storage/disk_location.go@@ -10,13 +10,13 @@ import ("sync""time"- "github.com/chrislusf/seaweedfs/weed/glog"- "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/chrislusf/seaweedfs/weed/util""github.com/google/uuid"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/storage/erasure_coding"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/util")type DiskLocation struct {diff --git a/weed/storage/disk_location_ec.go b/weed/storage/disk_location_ec.goindex 5fa5316fd8..ee21eb8031 100644--- a/weed/storage/disk_location_ec.go+++ b/weed/storage/disk_location_ec.go@@ -8,8 +8,8 @@ import ("regexp""strconv"- "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/erasure_coding"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle")var (diff --git a/weed/storage/erasure_coding/ec_decoder.go b/weed/storage/erasure_coding/ec_decoder.goindex 47d3c65507..a545d9975a 100644--- a/weed/storage/erasure_coding/ec_decoder.go+++ b/weed/storage/erasure_coding/ec_decoder.go@@ -5,13 +5,13 @@ import ("io""os"- "github.com/chrislusf/seaweedfs/weed/storage/backend"- "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/super_block"- "github.com/chrislusf/seaweedfs/weed/storage/types"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend"+ "github.com/seaweedfs/seaweedfs/weed/storage/idx"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle_map"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/util")// write .idx file from .ecx and .ecj filesdiff --git a/weed/storage/erasure_coding/ec_encoder.go b/weed/storage/erasure_coding/ec_encoder.goindex ea331ca39c..a60f76bc0e 100644--- a/weed/storage/erasure_coding/ec_encoder.go+++ b/weed/storage/erasure_coding/ec_encoder.go@@ -7,11 +7,11 @@ import ("github.com/klauspost/reedsolomon"- "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/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage/idx"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle_map"+ "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/util")const (diff --git a/weed/storage/erasure_coding/ec_locate.go b/weed/storage/erasure_coding/ec_locate.goindex 19eba6235c..be7e085e68 100644--- a/weed/storage/erasure_coding/ec_locate.go+++ b/weed/storage/erasure_coding/ec_locate.go@@ -1,7 +1,7 @@package erasure_codingimport (- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/storage/types")type Interval struct {diff --git a/weed/storage/erasure_coding/ec_shard.go b/weed/storage/erasure_coding/ec_shard.goindex 2a57d85ef6..f43280fb1b 100644--- a/weed/storage/erasure_coding/ec_shard.go+++ b/weed/storage/erasure_coding/ec_shard.go@@ -2,14 +2,14 @@ package erasure_codingimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/storage/types""os""path""strconv""strings"- "github.com/chrislusf/seaweedfs/weed/stats"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle")type ShardId uint8diff --git a/weed/storage/erasure_coding/ec_test.go b/weed/storage/erasure_coding/ec_test.goindex 0d48bec027..e66a832006 100644--- a/weed/storage/erasure_coding/ec_test.go+++ b/weed/storage/erasure_coding/ec_test.go@@ -9,8 +9,8 @@ import ("github.com/klauspost/reedsolomon"- "github.com/chrislusf/seaweedfs/weed/storage/needle_map"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle_map"+ "github.com/seaweedfs/seaweedfs/weed/storage/types")const (diff --git a/weed/storage/erasure_coding/ec_volume.go b/weed/storage/erasure_coding/ec_volume.goindex 4dd07ec40a..5e1d1121b1 100644--- a/weed/storage/erasure_coding/ec_volume.go+++ b/weed/storage/erasure_coding/ec_volume.go@@ -3,19 +3,19 @@ package erasure_codingimport ("errors""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/storage/volume_info"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/volume_info""golang.org/x/exp/slices""math""os""sync""time"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "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"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/idx"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/types")var (diff --git a/weed/storage/erasure_coding/ec_volume_delete.go b/weed/storage/erasure_coding/ec_volume_delete.goindex a7f8c24a3f..f1a58c009b 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/chrislusf/seaweedfs/weed/storage/types"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/util")var (diff --git a/weed/storage/erasure_coding/ec_volume_info.go b/weed/storage/erasure_coding/ec_volume_info.goindex 3dd535e640..76ace0d133 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_codingimport (- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle")// data structure used in masterdiff --git a/weed/storage/erasure_coding/ec_volume_test.go b/weed/storage/erasure_coding/ec_volume_test.goindex 747ef4aaba..4ee170e02f 100644--- a/weed/storage/erasure_coding/ec_volume_test.go+++ b/weed/storage/erasure_coding/ec_volume_test.go@@ -7,8 +7,8 @@ import ("github.com/stretchr/testify/assert"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/types")func TestPositioning(t *testing.T) {diff --git a/weed/storage/idx/walk.go b/weed/storage/idx/walk.goindex 70d3855ea7..e31c44a460 100644--- a/weed/storage/idx/walk.go+++ b/weed/storage/idx/walk.go@@ -3,8 +3,8 @@ package idximport ("io"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage/types")// walks through the index file, calls fn function with each key, offset, sizediff --git a/weed/storage/needle/crc.go b/weed/storage/needle/crc.goindex 65a45293e4..6ac31cb431 100644--- a/weed/storage/needle/crc.go+++ b/weed/storage/needle/crc.go@@ -6,7 +6,7 @@ import ("hash/crc32"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util")var table = crc32.MakeTable(crc32.Castagnoli)diff --git a/weed/storage/needle/file_id.go b/weed/storage/needle/file_id.goindex 6055bdd1c2..4cd4ebb7ee 100644--- a/weed/storage/needle/file_id.go+++ b/weed/storage/needle/file_id.go@@ -5,7 +5,7 @@ import ("fmt""strings"- . "github.com/chrislusf/seaweedfs/weed/storage/types"+ . "github.com/seaweedfs/seaweedfs/weed/storage/types")type FileId struct {diff --git a/weed/storage/needle/file_id_test.go b/weed/storage/needle/file_id_test.goindex a1a2c61fc8..ee5175d396 100644--- a/weed/storage/needle/file_id_test.go+++ b/weed/storage/needle/file_id_test.go@@ -1,7 +1,7 @@package needleimport (- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/storage/types""testing")diff --git a/weed/storage/needle/needle.go b/weed/storage/needle/needle.goindex 7443796a71..80c0b7b51e 100644--- a/weed/storage/needle/needle.go+++ b/weed/storage/needle/needle.go@@ -9,8 +9,8 @@ import ("strings""time"- "github.com/chrislusf/seaweedfs/weed/images"- . "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/images"+ . "github.com/seaweedfs/seaweedfs/weed/storage/types")const (diff --git a/weed/storage/needle/needle_parse_upload.go b/weed/storage/needle/needle_parse_upload.goindex a1f517b45a..e733cfb99b 100644--- a/weed/storage/needle/needle_parse_upload.go+++ b/weed/storage/needle/needle_parse_upload.go@@ -13,8 +13,8 @@ import ("strconv""strings"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/util")type ParsedUpload struct {diff --git a/weed/storage/needle/needle_read.go b/weed/storage/needle/needle_read.goindex e94c34ff01..5e347833c7 100644--- a/weed/storage/needle/needle_read.go+++ b/weed/storage/needle/needle_read.go@@ -3,11 +3,11 @@ package needleimport ("errors""fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/stats"- "github.com/chrislusf/seaweedfs/weed/storage/backend"- . "github.com/chrislusf/seaweedfs/weed/storage/types"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend"+ . "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/util""io")diff --git a/weed/storage/needle/needle_read_page.go b/weed/storage/needle/needle_read_page.goindex e909869f3a..05b2fa9b00 100644--- a/weed/storage/needle/needle_read_page.go+++ b/weed/storage/needle/needle_read_page.go@@ -2,10 +2,10 @@ package needleimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/storage/backend"- . "github.com/chrislusf/seaweedfs/weed/storage/types"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend"+ . "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/util""io")diff --git a/weed/storage/needle/needle_read_test.go b/weed/storage/needle/needle_read_test.goindex 001f107715..7aa1960608 100644--- a/weed/storage/needle/needle_read_test.go+++ b/weed/storage/needle/needle_read_test.go@@ -2,12 +2,12 @@ package needleimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/storage/backend"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend""io""os""testing"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/storage/types")func TestPageRead(t *testing.T) {diff --git a/weed/storage/needle/needle_test.go b/weed/storage/needle/needle_test.goindex 0f2dde98ea..3d6329ccae 100644--- a/weed/storage/needle/needle_test.go+++ b/weed/storage/needle/needle_test.go@@ -3,7 +3,7 @@ package needleimport ("testing"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/storage/types")func TestParseKeyHash(t *testing.T) {diff --git a/weed/storage/needle/needle_write.go b/weed/storage/needle/needle_write.goindex fd2e33ad9e..a562417df4 100644--- a/weed/storage/needle/needle_write.go+++ b/weed/storage/needle/needle_write.go@@ -3,10 +3,10 @@ package needleimport ("bytes""fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/storage/backend"- . "github.com/chrislusf/seaweedfs/weed/storage/types"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend"+ . "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/util""math""sync")diff --git a/weed/storage/needle/needle_write_test.go b/weed/storage/needle/needle_write_test.goindex 20dbc25544..993af11d5b 100644--- a/weed/storage/needle/needle_write_test.go+++ b/weed/storage/needle/needle_write_test.go@@ -4,8 +4,8 @@ import ("os""testing"- "github.com/chrislusf/seaweedfs/weed/storage/backend"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend"+ "github.com/seaweedfs/seaweedfs/weed/storage/types")func TestAppend(t *testing.T) {diff --git a/weed/storage/needle_map.go b/weed/storage/needle_map.goindex d35391f66d..ef3d4c1517 100644--- a/weed/storage/needle_map.go+++ b/weed/storage/needle_map.go@@ -5,9 +5,9 @@ import ("os""sync"- "github.com/chrislusf/seaweedfs/weed/storage/idx"- "github.com/chrislusf/seaweedfs/weed/storage/needle_map"- . "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/storage/idx"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle_map"+ . "github.com/seaweedfs/seaweedfs/weed/storage/types")type NeedleMapKind intdiff --git a/weed/storage/needle_map/compact_map.go b/weed/storage/needle_map/compact_map.goindex ccce8f1083..966d1a4cd0 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/chrislusf/seaweedfs/weed/storage/types"+ . "github.com/seaweedfs/seaweedfs/weed/storage/types")const (diff --git a/weed/storage/needle_map/compact_map_cases_test.go b/weed/storage/needle_map/compact_map_cases_test.goindex 83376e3e89..c1eed4fdf0 100644--- a/weed/storage/needle_map/compact_map_cases_test.go+++ b/weed/storage/needle_map/compact_map_cases_test.go@@ -5,7 +5,7 @@ package needle_mapimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/storage/types""github.com/stretchr/testify/assert""log""os"diff --git a/weed/storage/needle_map/compact_map_perf_test.go b/weed/storage/needle_map/compact_map_perf_test.goindex 081fb34e9f..2bb2694fd7 100644--- a/weed/storage/needle_map/compact_map_perf_test.go+++ b/weed/storage/needle_map/compact_map_perf_test.go@@ -8,7 +8,7 @@ import ("testing""time"- . "github.com/chrislusf/seaweedfs/weed/storage/types"+ . "github.com/seaweedfs/seaweedfs/weed/storage/types")/*diff --git a/weed/storage/needle_map/compact_map_test.go b/weed/storage/needle_map/compact_map_test.goindex afe12ee72a..2edd0c723e 100644--- a/weed/storage/needle_map/compact_map_test.go+++ b/weed/storage/needle_map/compact_map_test.go@@ -2,8 +2,8 @@ package needle_mapimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/sequence"- . "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/sequence"+ . "github.com/seaweedfs/seaweedfs/weed/storage/types""testing")diff --git a/weed/storage/needle_map/memdb.go b/weed/storage/needle_map/memdb.goindex a362a85ae4..df22ff334b 100644--- a/weed/storage/needle_map/memdb.go+++ b/weed/storage/needle_map/memdb.go@@ -9,9 +9,9 @@ import ("github.com/syndtr/goleveldb/leveldb/opt""github.com/syndtr/goleveldb/leveldb/storage"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/storage/idx"- . "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage/idx"+ . "github.com/seaweedfs/seaweedfs/weed/storage/types")//This map uses in memory level dbdiff --git a/weed/storage/needle_map/memdb_test.go b/weed/storage/needle_map/memdb_test.goindex 7b45d23f84..6f2ed8c75f 100644--- a/weed/storage/needle_map/memdb_test.go+++ b/weed/storage/needle_map/memdb_test.go@@ -3,7 +3,7 @@ package needle_mapimport ("testing"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/storage/types")func BenchmarkMemDb(b *testing.B) {diff --git a/weed/storage/needle_map/needle_value.go b/weed/storage/needle_map/needle_value.goindex f8d614660e..d8918a011d 100644--- a/weed/storage/needle_map/needle_value.go+++ b/weed/storage/needle_map/needle_value.go@@ -1,9 +1,9 @@package needle_mapimport (- . "github.com/chrislusf/seaweedfs/weed/storage/types"- "github.com/chrislusf/seaweedfs/weed/util""github.com/google/btree"+ . "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/util")type NeedleValue struct {diff --git a/weed/storage/needle_map/needle_value_map.go b/weed/storage/needle_map/needle_value_map.goindex a30cb96c4a..067d6358cc 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_mapimport (- . "github.com/chrislusf/seaweedfs/weed/storage/types"+ . "github.com/seaweedfs/seaweedfs/weed/storage/types")type NeedleValueMap interface {diff --git a/weed/storage/needle_map_leveldb.go b/weed/storage/needle_map_leveldb.goindex a1934b8f1e..3eccfcfc72 100644--- a/weed/storage/needle_map_leveldb.go+++ b/weed/storage/needle_map_leveldb.go@@ -8,15 +8,15 @@ import ("github.com/syndtr/goleveldb/leveldb/errors""github.com/syndtr/goleveldb/leveldb/opt"- "github.com/chrislusf/seaweedfs/weed/storage/idx"- "github.com/chrislusf/seaweedfs/weed/storage/types"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/storage/idx"+ "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/util""github.com/syndtr/goleveldb/leveldb"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/storage/needle_map"- . "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle_map"+ . "github.com/seaweedfs/seaweedfs/weed/storage/types")//mark it every watermarkBatchSize operationsdiff --git a/weed/storage/needle_map_memory.go b/weed/storage/needle_map_memory.goindex 4c7909dbdb..dc5b065098 100644--- a/weed/storage/needle_map_memory.go+++ b/weed/storage/needle_map_memory.go@@ -3,10 +3,10 @@ package storageimport ("os"- "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/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage/idx"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle_map"+ . "github.com/seaweedfs/seaweedfs/weed/storage/types")type NeedleMap struct {diff --git a/weed/storage/needle_map_metric.go b/weed/storage/needle_map_metric.goindex 0bdfdcedce..0ce6161319 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/chrislusf/seaweedfs/weed/storage/idx"- . "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/storage/idx"+ . "github.com/seaweedfs/seaweedfs/weed/storage/types""github.com/tylertreat/BoomFilters")diff --git a/weed/storage/needle_map_metric_test.go b/weed/storage/needle_map_metric_test.goindex c04fd6c8b1..5645a015fb 100644--- a/weed/storage/needle_map_metric_test.go+++ b/weed/storage/needle_map_metric_test.go@@ -5,8 +5,8 @@ import ("os""testing"- "github.com/chrislusf/seaweedfs/weed/glog"- . "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ . "github.com/seaweedfs/seaweedfs/weed/storage/types")func TestFastLoadingNeedleMapMetrics(t *testing.T) {diff --git a/weed/storage/needle_map_sorted_file.go b/weed/storage/needle_map_sorted_file.goindex 662b905316..c610f0d205 100644--- a/weed/storage/needle_map_sorted_file.go+++ b/weed/storage/needle_map_sorted_file.go@@ -3,10 +3,10 @@ package storageimport ("os"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding"- "github.com/chrislusf/seaweedfs/weed/storage/needle_map"- . "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage/erasure_coding"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle_map"+ . "github.com/seaweedfs/seaweedfs/weed/storage/types")type SortedFileNeedleMap struct {diff --git a/weed/storage/store.go b/weed/storage/store.goindex 06c6362bad..d45b0d95ed 100644--- a/weed/storage/store.go+++ b/weed/storage/store.go@@ -7,19 +7,19 @@ import ("strings""sync/atomic"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/storage/volume_info"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/volume_info"+ "github.com/seaweedfs/seaweedfs/weed/util""google.golang.org/grpc"- "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/erasure_coding"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"- . "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/storage/erasure_coding"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block"+ . "github.com/seaweedfs/seaweedfs/weed/storage/types")const (diff --git a/weed/storage/store_ec.go b/weed/storage/store_ec.goindex 0c9de45aa6..8d7e890b39 100644--- a/weed/storage/store_ec.go+++ b/weed/storage/store_ec.go@@ -3,7 +3,7 @@ package storageimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb""golang.org/x/exp/slices""io""os"@@ -12,14 +12,14 @@ import ("github.com/klauspost/reedsolomon"- "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/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/storage/erasure_coding"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/types")func (s *Store) CollectErasureCodingHeartbeat() *master_pb.Heartbeat {diff --git a/weed/storage/store_ec_delete.go b/weed/storage/store_ec_delete.goindex 398771a83d..4b24cae79a 100644--- a/weed/storage/store_ec_delete.go+++ b/weed/storage/store_ec_delete.go@@ -3,14 +3,14 @@ package storageimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"-- "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"+ "github.com/seaweedfs/seaweedfs/weed/pb"++ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/erasure_coding"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/types")func (s *Store) DeleteEcShardNeedle(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.goindex cbd716b32f..e8db7d7cd6 100644--- a/weed/storage/store_vacuum.go+++ b/weed/storage/store_vacuum.go@@ -2,10 +2,10 @@ package storageimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/stats"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle")func (s *Store) CheckCompactVolume(volumeId needle.VolumeId) (float64, error) {diff --git a/weed/storage/super_block/super_block.go b/weed/storage/super_block/super_block.goindex f48cd0bdcd..8837c44db8 100644--- a/weed/storage/super_block/super_block.go+++ b/weed/storage/super_block/super_block.go@@ -3,10 +3,10 @@ package super_blockimport ("github.com/golang/protobuf/proto"- "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"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/util")const (diff --git a/weed/storage/super_block/super_block_read.go.go b/weed/storage/super_block/super_block_read.go.goindex 9eb12e1161..47e4fb30c4 100644--- a/weed/storage/super_block/super_block_read.go.go+++ b/weed/storage/super_block/super_block_read.go.go@@ -5,10 +5,10 @@ import ("github.com/golang/protobuf/proto"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/storage/backend"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/util")// ReadSuperBlock reads from data file and load it into volume's super blockdiff --git a/weed/storage/super_block/super_block_test.go b/weed/storage/super_block/super_block_test.goindex 25699070df..5a9c8e1a92 100644--- a/weed/storage/super_block/super_block_test.go+++ b/weed/storage/super_block/super_block_test.go@@ -3,7 +3,7 @@ package super_blockimport ("testing"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle")func TestSuperBlockReadWrite(t *testing.T) {diff --git a/weed/storage/types/needle_id_type.go b/weed/storage/types/needle_id_type.goindex 32a296613d..e65c862f22 100644--- a/weed/storage/types/needle_id_type.go+++ b/weed/storage/types/needle_id_type.go@@ -2,7 +2,7 @@ package typesimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util""strconv")diff --git a/weed/storage/types/needle_types.go b/weed/storage/types/needle_types.goindex 98287fe6a2..f769fab0d2 100644--- a/weed/storage/types/needle_types.go+++ b/weed/storage/types/needle_types.go@@ -4,7 +4,7 @@ import ("fmt""strconv"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util")type Offset struct {diff --git a/weed/storage/volume.go b/weed/storage/volume.goindex 3539efa852..4a2ed706d7 100644--- a/weed/storage/volume.go+++ b/weed/storage/volume.go@@ -7,15 +7,15 @@ import ("sync""time"- "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/backend"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"- "github.com/chrislusf/seaweedfs/weed/storage/types"-- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/storage/types"++ "github.com/seaweedfs/seaweedfs/weed/glog")type Volume struct {diff --git a/weed/storage/volume_backup.go b/weed/storage/volume_backup.goindex 67406aff62..93f1f9aa5f 100644--- a/weed/storage/volume_backup.go+++ b/weed/storage/volume_backup.go@@ -3,18 +3,18 @@ package storageimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb""io""os""google.golang.org/grpc"- "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/super_block"- . "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/idx"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block"+ . "github.com/seaweedfs/seaweedfs/weed/storage/types")func (v *Volume) GetVolumeSyncStatus() *volume_server_pb.VolumeSyncStatusResponse {diff --git a/weed/storage/volume_checking.go b/weed/storage/volume_checking.goindex b769330831..e10fedf9b6 100644--- a/weed/storage/volume_checking.go+++ b/weed/storage/volume_checking.go@@ -2,16 +2,16 @@ package storageimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block""io""os"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/storage/backend"- "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"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend"+ "github.com/seaweedfs/seaweedfs/weed/storage/idx"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ . "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/util")func CheckAndFixVolumeDataIntegrity(v *Volume, indexFile *os.File) (lastAppendAtNs uint64, err error) {diff --git a/weed/storage/volume_info.go b/weed/storage/volume_info.goindex 9c64c96826..326b8f4015 100644--- a/weed/storage/volume_info.go+++ b/weed/storage/volume_info.go@@ -4,9 +4,9 @@ import ("fmt""sort"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block")type VolumeInfo struct {diff --git a/weed/storage/volume_info/volume_info.go b/weed/storage/volume_info/volume_info.goindex aa815970c9..b894578033 100644--- a/weed/storage/volume_info/volume_info.go+++ b/weed/storage/volume_info/volume_info.go@@ -7,10 +7,10 @@ import ("github.com/golang/protobuf/jsonpb"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- _ "github.com/chrislusf/seaweedfs/weed/storage/backend/s3_backend"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ _ "github.com/seaweedfs/seaweedfs/weed/storage/backend/s3_backend"+ "github.com/seaweedfs/seaweedfs/weed/util")// MaybeLoadVolumeInfo load the file data as *volume_server_pb.VolumeInfo, the returned volumeInfo will not be nildiff --git a/weed/storage/volume_info_test.go b/weed/storage/volume_info_test.goindex 5b1bacb525..a01e1fc9dc 100644--- a/weed/storage/volume_info_test.go+++ b/weed/storage/volume_info_test.go@@ -3,7 +3,7 @@ package storageimport ("testing"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle")func TestSortVolumeInfos(t *testing.T) {diff --git a/weed/storage/volume_loading.go b/weed/storage/volume_loading.goindex 2dc75d5ee3..aa7cf1cfad 100644--- a/weed/storage/volume_loading.go+++ b/weed/storage/volume_loading.go@@ -6,12 +6,12 @@ import ("github.com/syndtr/goleveldb/leveldb/opt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/stats"- "github.com/chrislusf/seaweedfs/weed/storage/backend"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/util")func loadVolumeWithoutIndex(dirname string, collection string, id needle.VolumeId, needleMapKind NeedleMapKind) (v *Volume, err error) {diff --git a/weed/storage/volume_read.go b/weed/storage/volume_read.goindex 6b17eea0a4..b38ec32d36 100644--- a/weed/storage/volume_read.go+++ b/weed/storage/volume_read.go@@ -2,15 +2,15 @@ package storageimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/util/mem"+ "github.com/seaweedfs/seaweedfs/weed/util/mem""io""time"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/storage/backend"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"- . "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block"+ . "github.com/seaweedfs/seaweedfs/weed/storage/types")const PagedReadLimit = 1024 * 1024diff --git a/weed/storage/volume_read_all.go b/weed/storage/volume_read_all.goindex 453a4495cf..9d4116eb03 100644--- a/weed/storage/volume_read_all.go+++ b/weed/storage/volume_read_all.go@@ -1,9 +1,9 @@package storageimport (- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block")type VolumeFileScanner4ReadAll struct {diff --git a/weed/storage/volume_stream_write.go b/weed/storage/volume_stream_write.goindex bd8084a3b9..2496387ffd 100644--- a/weed/storage/volume_stream_write.go+++ b/weed/storage/volume_stream_write.go@@ -6,12 +6,12 @@ import ("io""time"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/storage/backend"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- . "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ . "github.com/seaweedfs/seaweedfs/weed/storage/types")func (v *Volume) StreamWrite(n *needle.Needle, data io.Reader, dataSize uint32) (err error) {diff --git a/weed/storage/volume_super_block.go b/weed/storage/volume_super_block.goindex 20223ac1b2..096d469065 100644--- a/weed/storage/volume_super_block.go+++ b/weed/storage/volume_super_block.go@@ -4,10 +4,10 @@ import ("fmt""os"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/storage/backend"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block")func (v *Volume) maybeWriteSuperBlock() error {diff --git a/weed/storage/volume_tier.go b/weed/storage/volume_tier.goindex 190775b740..e9bd079c19 100644--- a/weed/storage/volume_tier.go+++ b/weed/storage/volume_tier.go@@ -1,12 +1,12 @@package storageimport (- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- "github.com/chrislusf/seaweedfs/weed/storage/backend"- _ "github.com/chrislusf/seaweedfs/weed/storage/backend/s3_backend"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- volume_info "github.com/chrislusf/seaweedfs/weed/storage/volume_info"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend"+ _ "github.com/seaweedfs/seaweedfs/weed/storage/backend/s3_backend"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ volume_info "github.com/seaweedfs/seaweedfs/weed/storage/volume_info")func (v *Volume) GetVolumeInfo() *volume_server_pb.VolumeInfo {diff --git a/weed/storage/volume_vacuum.go b/weed/storage/volume_vacuum.goindex 52e62ae1b1..927885e175 100644--- a/weed/storage/volume_vacuum.go+++ b/weed/storage/volume_vacuum.go@@ -6,15 +6,15 @@ import ("runtime""time"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/stats"- "github.com/chrislusf/seaweedfs/weed/storage/backend"- 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/super_block"- . "github.com/chrislusf/seaweedfs/weed/storage/types"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend"+ idx2 "github.com/seaweedfs/seaweedfs/weed/storage/idx"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle_map"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block"+ . "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/util")type ProgressFunc func(processed int64) booldiff --git a/weed/storage/volume_vacuum_test.go b/weed/storage/volume_vacuum_test.goindex 8212d86c76..5176bce195 100644--- a/weed/storage/volume_vacuum_test.go+++ b/weed/storage/volume_vacuum_test.go@@ -5,9 +5,9 @@ import ("testing""time"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/storage/types")/*diff --git a/weed/storage/volume_write.go b/weed/storage/volume_write.goindex 7a96c96950..49022cc0af 100644--- a/weed/storage/volume_write.go+++ b/weed/storage/volume_write.go@@ -7,10 +7,10 @@ import ("os""time"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/storage/backend"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- . "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ . "github.com/seaweedfs/seaweedfs/weed/storage/types")var ErrorNotFound = errors.New("not found")diff --git a/weed/storage/volume_write_test.go b/weed/storage/volume_write_test.goindex 11fe493582..2fd4026cd7 100644--- a/weed/storage/volume_write_test.go+++ b/weed/storage/volume_write_test.go@@ -5,9 +5,9 @@ import ("testing""time"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/storage/types")func TestSearchVolumesWithDeletedNeedles(t *testing.T) {diff --git a/weed/topology/allocate_volume.go b/weed/topology/allocate_volume.goindex f21d0fc0a8..41c071f9fa 100644--- a/weed/topology/allocate_volume.go+++ b/weed/topology/allocate_volume.go@@ -3,9 +3,9 @@ package topologyimport ("context"- "github.com/chrislusf/seaweedfs/weed/operation"- "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle""google.golang.org/grpc")diff --git a/weed/topology/cluster_commands.go b/weed/topology/cluster_commands.goindex 3e777f6fed..6432828e84 100644--- a/weed/topology/cluster_commands.go+++ b/weed/topology/cluster_commands.go@@ -3,10 +3,10 @@ package topologyimport ("encoding/json""fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/storage/needle"hashicorpRaft "github.com/hashicorp/raft""github.com/seaweedfs/raft"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle")type MaxVolumeIdCommand struct {diff --git a/weed/topology/collection.go b/weed/topology/collection.goindex a14b68851c..cea3d3b211 100644--- a/weed/topology/collection.go+++ b/weed/topology/collection.go@@ -2,11 +2,11 @@ package topologyimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/storage/types"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/util")type Collection struct {diff --git a/weed/topology/data_center.go b/weed/topology/data_center.goindex 78c23e7480..35f63b11f4 100644--- a/weed/topology/data_center.go+++ b/weed/topology/data_center.go@@ -1,7 +1,7 @@package topologyimport (- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb""golang.org/x/exp/slices")diff --git a/weed/topology/data_node.go b/weed/topology/data_node.goindex 33bff2d592..fc003be908 100644--- a/weed/topology/data_node.go+++ b/weed/topology/data_node.go@@ -2,13 +2,13 @@ package topologyimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "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"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/util")type DataNode struct {diff --git a/weed/topology/data_node_ec.go b/weed/topology/data_node_ec.goindex bf72fa9af1..100b44f593 100644--- a/weed/topology/data_node_ec.go+++ b/weed/topology/data_node_ec.go@@ -1,9 +1,9 @@package topologyimport (- "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/storage/erasure_coding"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/types")func (dn *DataNode) GetEcShards() (ret []*erasure_coding.EcVolumeInfo) {diff --git a/weed/topology/disk.go b/weed/topology/disk.goindex 4e7d18f082..99ea980d8c 100644--- a/weed/topology/disk.go+++ b/weed/topology/disk.go@@ -2,15 +2,15 @@ package topologyimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/storage/types"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/util""sync"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/erasure_coding"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/storage"+ "github.com/seaweedfs/seaweedfs/weed/storage")type Disk struct {diff --git a/weed/topology/disk_ec.go b/weed/topology/disk_ec.goindex 74a06b47f6..4f950025fd 100644--- a/weed/topology/disk_ec.go+++ b/weed/topology/disk_ec.go@@ -1,9 +1,9 @@package topologyimport (- "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/storage/erasure_coding"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/types")func (d *Disk) GetEcShards() (ret []*erasure_coding.EcVolumeInfo) {diff --git a/weed/topology/node.go b/weed/topology/node.goindex c5956177aa..807cce47cf 100644--- a/weed/topology/node.go+++ b/weed/topology/node.go@@ -2,11 +2,11 @@ package topologyimport ("errors"- "github.com/chrislusf/seaweedfs/weed/glog"- "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/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/storage/erasure_coding"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/types""math/rand""strings""sync"diff --git a/weed/topology/rack.go b/weed/topology/rack.goindex 7b0ed4a543..97e0a400eb 100644--- a/weed/topology/rack.go+++ b/weed/topology/rack.go@@ -1,9 +1,9 @@package topologyimport (- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/storage/types"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/util""golang.org/x/exp/slices""time")diff --git a/weed/topology/store_replicate.go b/weed/topology/store_replicate.goindex 7bb10f1da5..e426e15de3 100644--- a/weed/topology/store_replicate.go+++ b/weed/topology/store_replicate.go@@ -10,14 +10,14 @@ import ("strconv""strings"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/operation"- "github.com/chrislusf/seaweedfs/weed/security"- "github.com/chrislusf/seaweedfs/weed/stats"- "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"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/security"+ "github.com/seaweedfs/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/storage"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/util")func ReplicatedWrite(masterFn operation.GetMasterFn, grpcDialOption grpc.DialOption, s *storage.Store, volumeId needle.VolumeId, n *needle.Needle, r *http.Request) (isUnchanged bool, err error) {diff --git a/weed/topology/topology.go b/weed/topology/topology.goindex b3fab68f76..546642841d 100644--- a/weed/topology/topology.go+++ b/weed/topology/topology.go@@ -8,19 +8,19 @@ import ("sync""time"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/types"hashicorpRaft "github.com/hashicorp/raft""github.com/seaweedfs/raft"- "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/storage/super_block"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/sequence"+ "github.com/seaweedfs/seaweedfs/weed/storage"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/util")type Topology struct {diff --git a/weed/topology/topology_ec.go b/weed/topology/topology_ec.goindex fdc4f274e8..71c80cb804 100644--- a/weed/topology/topology_ec.go+++ b/weed/topology/topology_ec.go@@ -1,11 +1,11 @@package topologyimport (- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/storage/erasure_coding"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle")type EcShardLocations struct {diff --git a/weed/topology/topology_event_handling.go b/weed/topology/topology_event_handling.goindex fe37172330..96051d25ff 100644--- a/weed/topology/topology_event_handling.go+++ b/weed/topology/topology_event_handling.go@@ -1,14 +1,14 @@package topologyimport (- "github.com/chrislusf/seaweedfs/weed/storage/erasure_coding"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/storage/erasure_coding"+ "github.com/seaweedfs/seaweedfs/weed/storage/types""google.golang.org/grpc""math/rand""time"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/storage"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage")func (t *Topology) StartRefreshWritableVolumes(grpcDialOption grpc.DialOption, garbageThreshold float64, growThreshold float64, preallocate int64) {diff --git a/weed/topology/topology_info.go b/weed/topology/topology_info.goindex 21ce77edf3..595d3555e4 100644--- a/weed/topology/topology_info.go+++ b/weed/topology/topology_info.go@@ -1,7 +1,7 @@package topologyimport (- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb""golang.org/x/exp/slices")diff --git a/weed/topology/topology_test.go b/weed/topology/topology_test.goindex 2ece48a951..a13df8483c 100644--- a/weed/topology/topology_test.go+++ b/weed/topology/topology_test.go@@ -1,12 +1,12 @@package topologyimport (- "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/storage/super_block"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/sequence"+ "github.com/seaweedfs/seaweedfs/weed/storage"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/storage/types""testing")diff --git a/weed/topology/topology_vacuum.go b/weed/topology/topology_vacuum.goindex 3850b89160..918bda9024 100644--- a/weed/topology/topology_vacuum.go+++ b/weed/topology/topology_vacuum.go@@ -2,18 +2,18 @@ package topologyimport ("context"- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb""io""sync/atomic""time""google.golang.org/grpc"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/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/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/operation"+ "github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pb")func (t *Topology) batchVacuumVolumeCheck(grpcDialOption grpc.DialOption, vid needle.VolumeId,diff --git a/weed/topology/volume_growth.go b/weed/topology/volume_growth.goindex 238ca99f47..4b5539d844 100644--- a/weed/topology/volume_growth.go+++ b/weed/topology/volume_growth.go@@ -3,18 +3,18 @@ package topologyimport ("encoding/json""fmt"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb""math/rand""sync""google.golang.org/grpc"- "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/super_block"- "github.com/chrislusf/seaweedfs/weed/storage/types"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/util")/*diff --git a/weed/topology/volume_growth_test.go b/weed/topology/volume_growth_test.goindex ab30cd43f2..c3ba65d39a 100644--- a/weed/topology/volume_growth_test.go+++ b/weed/topology/volume_growth_test.go@@ -5,10 +5,10 @@ import ("fmt""testing"- "github.com/chrislusf/seaweedfs/weed/sequence"- "github.com/chrislusf/seaweedfs/weed/storage"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/sequence"+ "github.com/seaweedfs/seaweedfs/weed/storage"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block")var topologyLayout = `diff --git a/weed/topology/volume_layout.go b/weed/topology/volume_layout.goindex 03c4c4adfd..8d28eff136 100644--- a/weed/topology/volume_layout.go+++ b/weed/topology/volume_layout.go@@ -3,15 +3,15 @@ package topologyimport ("errors""fmt"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/storage/types""math/rand""sync""time"- "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/super_block"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block")type copyState intdiff --git a/weed/topology/volume_layout_test.go b/weed/topology/volume_layout_test.goindex e148d6107b..ce2fa0d194 100644--- a/weed/topology/volume_layout_test.go+++ b/weed/topology/volume_layout_test.go@@ -3,8 +3,8 @@ package topologyimport ("testing"- "github.com/chrislusf/seaweedfs/weed/storage/needle"- "github.com/chrislusf/seaweedfs/weed/storage/super_block"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/super_block")func TestVolumesBinaryState(t *testing.T) {diff --git a/weed/topology/volume_location_list.go b/weed/topology/volume_location_list.goindex 00bd8d1993..c26f771043 100644--- a/weed/topology/volume_location_list.go+++ b/weed/topology/volume_location_list.go@@ -3,7 +3,7 @@ package topologyimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle")type VolumeLocationList struct {diff --git a/weed/util/chunk_cache/chunk_cache.go b/weed/util/chunk_cache/chunk_cache.goindex 3f3b264b13..158f47cfce 100644--- a/weed/util/chunk_cache/chunk_cache.go+++ b/weed/util/chunk_cache/chunk_cache.go@@ -4,8 +4,8 @@ import ("errors""sync"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage/needle")var ErrorOutOfBounds = errors.New("attempt to read out of bounds")diff --git a/weed/util/chunk_cache/chunk_cache_on_disk.go b/weed/util/chunk_cache/chunk_cache_on_disk.goindex 100b5919e9..9252f99ebd 100644--- a/weed/util/chunk_cache/chunk_cache_on_disk.go+++ b/weed/util/chunk_cache/chunk_cache_on_disk.go@@ -7,11 +7,11 @@ import ("github.com/syndtr/goleveldb/leveldb/opt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/storage"- "github.com/chrislusf/seaweedfs/weed/storage/backend"- "github.com/chrislusf/seaweedfs/weed/storage/types"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage"+ "github.com/seaweedfs/seaweedfs/weed/storage/backend"+ "github.com/seaweedfs/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/util")// This implements an on disk cachediff --git a/weed/util/chunk_cache/chunk_cache_on_disk_test.go b/weed/util/chunk_cache/chunk_cache_on_disk_test.goindex 8c7880eeea..14179beaa6 100644--- a/weed/util/chunk_cache/chunk_cache_on_disk_test.go+++ b/weed/util/chunk_cache/chunk_cache_on_disk_test.go@@ -3,7 +3,7 @@ package chunk_cacheimport ("bytes""fmt"- "github.com/chrislusf/seaweedfs/weed/util/mem"+ "github.com/seaweedfs/seaweedfs/weed/util/mem""math/rand""testing")@@ -88,7 +88,7 @@ func TestOnDisk(t *testing.T) {--- FAIL: TestOnDisk (0.19s)chunk_cache_on_disk_test.go:73: failed to write to and read from cache: 4FAIL- FAIL github.com/chrislusf/seaweedfs/weed/util/chunk_cache 0.199s+ FAIL github.com/seaweedfs/seaweedfs/weed/util/chunk_cache 0.199s*/continue}diff --git a/weed/util/chunk_cache/on_disk_cache_layer.go b/weed/util/chunk_cache/on_disk_cache_layer.goindex de32fb4457..9f5d9ff9a5 100644--- a/weed/util/chunk_cache/on_disk_cache_layer.go+++ b/weed/util/chunk_cache/on_disk_cache_layer.go@@ -2,9 +2,9 @@ package chunk_cacheimport ("fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/storage"- "github.com/chrislusf/seaweedfs/weed/storage/types"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/storage"+ "github.com/seaweedfs/seaweedfs/weed/storage/types""golang.org/x/exp/slices""path")diff --git a/weed/util/cipher.go b/weed/util/cipher.goindex f044c2ca3e..f625f885e7 100644--- a/weed/util/cipher.go+++ b/weed/util/cipher.go@@ -7,7 +7,7 @@ import ("errors""io"- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/glog")type CipherKey []bytediff --git a/weed/util/compression.go b/weed/util/compression.goindex 8158b9ba5e..d62ba90883 100644--- a/weed/util/compression.go+++ b/weed/util/compression.go@@ -5,7 +5,7 @@ import ("fmt""strings"- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/glog"// "github.com/klauspost/compress/zstd")diff --git a/weed/util/config.go b/weed/util/config.goindex f09ac7e5e9..a242742fcf 100644--- a/weed/util/config.go+++ b/weed/util/config.go@@ -6,7 +6,7 @@ import ("github.com/spf13/viper"- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/glog")var (diff --git a/weed/util/file_util.go b/weed/util/file_util.goindex 6155d18e1a..3cd4b1b23a 100644--- a/weed/util/file_util.go+++ b/weed/util/file_util.go@@ -8,7 +8,7 @@ import ("strings""time"- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/glog")func TestFolderWritable(folder string) (err error) {diff --git a/weed/util/grace/pprof.go b/weed/util/grace/pprof.goindex 28bf6d553d..620184c9ba 100644--- a/weed/util/grace/pprof.go+++ b/weed/util/grace/pprof.go@@ -5,7 +5,7 @@ import ("runtime""runtime/pprof"- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/glog")func SetupProfiling(cpuProfile, memProfile string) {diff --git a/weed/util/http_util.go b/weed/util/http_util.goindex 2f42d3768e..67216bb144 100644--- a/weed/util/http_util.go+++ b/weed/util/http_util.go@@ -5,13 +5,13 @@ import ("encoding/json""errors""fmt"- "github.com/chrislusf/seaweedfs/weed/util/mem"+ "github.com/seaweedfs/seaweedfs/weed/util/mem""io""net/http""net/url""strings"- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/glog")var (@@ -49,7 +49,7 @@ func Post(url string, values url.Values) ([]byte, error) {return b, nil}-// github.com/chrislusf/seaweedfs/unmaintained/repeated_vacuum/repeated_vacuum.go+// github.com/seaweedfs/seaweedfs/unmaintained/repeated_vacuum/repeated_vacuum.go// may need increasing http.Client.Timeoutfunc Get(url string) ([]byte, bool, error) {diff --git a/weed/util/log_buffer/log_buffer.go b/weed/util/log_buffer/log_buffer.goindex 422575193e..5f145f48dd 100644--- a/weed/util/log_buffer/log_buffer.go+++ b/weed/util/log_buffer/log_buffer.go@@ -7,9 +7,9 @@ import ("github.com/golang/protobuf/proto"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")const BufferSize = 4 * 1024 * 1024diff --git a/weed/util/log_buffer/log_buffer_test.go b/weed/util/log_buffer/log_buffer_test.goindex 915b93bf49..2cc1c89b4f 100644--- a/weed/util/log_buffer/log_buffer_test.go+++ b/weed/util/log_buffer/log_buffer_test.go@@ -6,7 +6,7 @@ import ("testing""time"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb")func TestNewLogBufferFirstBuffer(t *testing.T) {diff --git a/weed/util/log_buffer/log_read.go b/weed/util/log_buffer/log_read.goindex 35bc8ffd55..6464ade91f 100644--- a/weed/util/log_buffer/log_read.go+++ b/weed/util/log_buffer/log_read.go@@ -7,9 +7,9 @@ import ("github.com/golang/protobuf/proto"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"+ "github.com/seaweedfs/seaweedfs/weed/util")var (diff --git a/weed/util/mem/slot_pool.go b/weed/util/mem/slot_pool.goindex b3493febf2..16b497af58 100644--- a/weed/util/mem/slot_pool.go+++ b/weed/util/mem/slot_pool.go@@ -1,7 +1,7 @@package memimport (- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/glog""sync""sync/atomic")diff --git a/weed/util/minfreespace.go b/weed/util/minfreespace.goindex c802bf6dd9..0c4461ff1f 100644--- a/weed/util/minfreespace.go+++ b/weed/util/minfreespace.go@@ -3,7 +3,7 @@ package utilimport ("errors""fmt"- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/glog""strconv""strings")diff --git a/weed/util/net_timeout.go b/weed/util/net_timeout.goindex 536359eec9..022c651d9f 100644--- a/weed/util/net_timeout.go+++ b/weed/util/net_timeout.go@@ -1,11 +1,11 @@package utilimport (- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/glog""net""time"- "github.com/chrislusf/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/stats")// Listener wraps a net.Listener, and gives a place to store the timeoutdiff --git a/weed/util/network.go b/weed/util/network.goindex 687b6ec220..69559b5f09 100644--- a/weed/util/network.go+++ b/weed/util/network.go@@ -5,7 +5,7 @@ import ("strconv""strings"- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/glog")func DetectedHostAddress() string {diff --git a/weed/util/retry.go b/weed/util/retry.goindex 892341dc1f..dde4ded638 100644--- a/weed/util/retry.go+++ b/weed/util/retry.go@@ -4,7 +4,7 @@ import ("strings""time"- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/glog")var RetryWaitTime = 6 * time.Seconddiff --git a/weed/util/skiplist/name_batch.go b/weed/util/skiplist/name_batch.goindex 53db5918f5..d5d5de122f 100644--- a/weed/util/skiplist/name_batch.go+++ b/weed/util/skiplist/name_batch.go@@ -1,8 +1,8 @@package skiplistimport (- "github.com/chrislusf/seaweedfs/weed/glog""github.com/golang/protobuf/proto"+ "github.com/seaweedfs/seaweedfs/weed/glog""golang.org/x/exp/slices""strings")diff --git a/weed/util/skiplist/name_list_serde.go b/weed/util/skiplist/name_list_serde.goindex 0a2052e7bc..fee6815d31 100644--- a/weed/util/skiplist/name_list_serde.go+++ b/weed/util/skiplist/name_list_serde.go@@ -1,8 +1,8 @@package skiplistimport (- "github.com/chrislusf/seaweedfs/weed/glog""github.com/golang/protobuf/proto"+ "github.com/seaweedfs/seaweedfs/weed/glog")func LoadNameList(data []byte, store ListStore, batchSize int) *NameList {diff --git a/weed/util/skiplist/skiplist.proto b/weed/util/skiplist/skiplist.protoindex 2991ad830f..4ea033c1be 100644--- a/weed/util/skiplist/skiplist.proto+++ b/weed/util/skiplist/skiplist.proto@@ -2,7 +2,7 @@ syntax = "proto3";package skiplist;-option go_package = "github.com/chrislusf/seaweedfs/weed/util/skiplist";+option go_package = "github.com/seaweedfs/seaweedfs/weed/util/skiplist";message SkipListProto {repeated SkipListElementReference start_levels = 1;@@ -27,4 +27,4 @@ message SkipListElement {message NameBatchData {repeated bytes names = 1;-}\ No newline at end of file+}diff --git a/weed/wdclient/exclusive_locks/exclusive_locker.go b/weed/wdclient/exclusive_locks/exclusive_locker.goindex 1767ee4a43..8274581611 100644--- a/weed/wdclient/exclusive_locks/exclusive_locker.go+++ b/weed/wdclient/exclusive_locks/exclusive_locker.go@@ -5,9 +5,9 @@ import ("sync/atomic""time"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"- "github.com/chrislusf/seaweedfs/weed/wdclient"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/wdclient")const (diff --git a/weed/wdclient/masterclient.go b/weed/wdclient/masterclient.goindex 8851c3bd6d..a64265e107 100644--- a/weed/wdclient/masterclient.go+++ b/weed/wdclient/masterclient.go@@ -3,16 +3,16 @@ package wdclientimport ("context""fmt"- "github.com/chrislusf/seaweedfs/weed/stats"+ "github.com/seaweedfs/seaweedfs/weed/stats""math/rand""time"- "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/util""google.golang.org/grpc"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/pb/master_pb"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb")type MasterClient struct {diff --git a/weed/wdclient/net2/base_connection_pool.go b/weed/wdclient/net2/base_connection_pool.goindex 5cc037d0fc..0b79130e3d 100644--- a/weed/wdclient/net2/base_connection_pool.go+++ b/weed/wdclient/net2/base_connection_pool.go@@ -5,7 +5,7 @@ import ("strings""time"- rp "github.com/chrislusf/seaweedfs/weed/wdclient/resource_pool"+ rp "github.com/seaweedfs/seaweedfs/weed/wdclient/resource_pool")const defaultDialTimeout = 1 * time.Seconddiff --git a/weed/wdclient/net2/managed_connection.go b/weed/wdclient/net2/managed_connection.goindex a886210d1a..b40d378d2c 100644--- a/weed/wdclient/net2/managed_connection.go+++ b/weed/wdclient/net2/managed_connection.go@@ -6,7 +6,7 @@ import ("time""errors"- "github.com/chrislusf/seaweedfs/weed/wdclient/resource_pool"+ "github.com/seaweedfs/seaweedfs/weed/wdclient/resource_pool")// Dial's arguments.diff --git a/weed/wdclient/vid_map.go b/weed/wdclient/vid_map.goindex 5771c112a9..691b27c6d7 100644--- a/weed/wdclient/vid_map.go+++ b/weed/wdclient/vid_map.go@@ -3,14 +3,14 @@ package wdclientimport ("errors""fmt"- "github.com/chrislusf/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb""math/rand""strconv""strings""sync""sync/atomic"- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/glog")const (diff --git a/weed/wdclient/volume_tcp_client.go b/weed/wdclient/volume_tcp_client.goindex afebd71eb1..d7ea81d641 100644--- a/weed/wdclient/volume_tcp_client.go+++ b/weed/wdclient/volume_tcp_client.go@@ -4,10 +4,10 @@ import ("bufio""bytes""fmt"- "github.com/chrislusf/seaweedfs/weed/glog"- "github.com/chrislusf/seaweedfs/weed/pb"- "github.com/chrislusf/seaweedfs/weed/util"- "github.com/chrislusf/seaweedfs/weed/wdclient/net2"+ "github.com/seaweedfs/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/util"+ "github.com/seaweedfs/seaweedfs/weed/wdclient/net2""io""net""time"diff --git a/weed/weed.go b/weed/weed.goindex 36f354f830..a913383150 100644--- a/weed/weed.go+++ b/weed/weed.go@@ -3,9 +3,9 @@ package mainimport ("embed""fmt"- weed_server "github.com/chrislusf/seaweedfs/weed/server"- "github.com/chrislusf/seaweedfs/weed/util"- flag "github.com/chrislusf/seaweedfs/weed/util/fla9"+ weed_server "github.com/seaweedfs/seaweedfs/weed/server"+ "github.com/seaweedfs/seaweedfs/weed/util"+ flag "github.com/seaweedfs/seaweedfs/weed/util/fla9""io""io/fs""math/rand"@@ -17,8 +17,8 @@ import ("unicode""unicode/utf8"- "github.com/chrislusf/seaweedfs/weed/command"- "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/seaweedfs/seaweedfs/weed/command"+ "github.com/seaweedfs/seaweedfs/weed/glog")var IsDebug *bool