aboutsummaryrefslogtreecommitdiff
path: root/weed/filer/filer.go
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2021-08-08 18:55:53 -0700
committerGitHub <noreply@github.com>2021-08-08 18:55:53 -0700
commit52fcce81c64348dccf706e52161cf3fcf71e1df8 (patch)
treeeff9e3a111e227de7803c4ab5bd03ea79897bb57 /weed/filer/filer.go
parent4370a4db634f2268526911842a804d9dee97aadc (diff)
parent882a93dacd2ca8549af50b80a8a98a861fdee0ed (diff)
downloadseaweedfs-52fcce81c64348dccf706e52161cf3fcf71e1df8.tar.xz
seaweedfs-52fcce81c64348dccf706e52161cf3fcf71e1df8.zip
Merge pull request #2241 from chrislusf/add_remote_storage
WIP: remote storage
Diffstat (limited to 'weed/filer/filer.go')
-rw-r--r--weed/filer/filer.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/filer/filer.go b/weed/filer/filer.go
index 862f98496..1a20abefc 100644
--- a/weed/filer/filer.go
+++ b/weed/filer/filer.go
@@ -42,6 +42,7 @@ type Filer struct {
MetaAggregator *MetaAggregator
Signature int32
FilerConf *FilerConf
+ RemoteStorage *FilerRemoteStorage
}
func NewFiler(masters []string, grpcDialOption grpc.DialOption,
@@ -51,6 +52,7 @@ func NewFiler(masters []string, grpcDialOption grpc.DialOption,
fileIdDeletionQueue: util.NewUnboundedQueue(),
GrpcDialOption: grpcDialOption,
FilerConf: NewFilerConf(),
+ RemoteStorage: NewFilerRemoteStorage(),
}
f.LocalMetaLogBuffer = log_buffer.NewLogBuffer("local", LogFlushInterval, f.logFlushFunc, notifyFn)
f.metaLogCollection = collection