s3: move buckets folder configuration to filer

This commit is contained in:
Chris Lu
2020-02-24 14:34:14 -08:00
parent b06b7ca6e6
commit d8dec2323b
8 changed files with 149 additions and 115 deletions

View File

@@ -308,5 +308,6 @@ func (fs *FilerServer) GetFilerConfiguration(ctx context.Context, req *filer_pb.
Collection: fs.option.Collection,
Replication: fs.option.DefaultReplication,
MaxMb: uint32(fs.option.MaxMB),
DirBuckets: fs.option.DirBucketsPath,
}, nil
}

View File

@@ -46,6 +46,7 @@ type FilerOption struct {
DisableHttp bool
Port int
recursiveDelete bool
DirBucketsPath string
}
type FilerServer struct {