s3 and filer transport using unix domain socket instead of tcp

This commit is contained in:
chrislu
2022-03-07 02:00:14 -08:00
parent 0cb17b45b1
commit da3d330616
5 changed files with 45 additions and 13 deletions

View File

@@ -34,6 +34,7 @@ type S3Options struct {
metricsHttpPort *int
allowEmptyFolder *bool
auditLogConfig *string
localFilerSocket *string
}
func init() {
@@ -184,6 +185,7 @@ func (s3opt *S3Options) startS3Server() bool {
BucketsPath: filerBucketsPath,
GrpcDialOption: grpcDialOption,
AllowEmptyFolder: *s3opt.allowEmptyFolder,
LocalFilerSocket: s3opt.localFilerSocket,
})
if s3ApiServer_err != nil {
glog.Fatalf("S3 API Server startup error: %v", s3ApiServer_err)