aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-04-12 13:07:59 -0700
committerChris Lu <chris.lu@gmail.com>2020-04-12 13:07:59 -0700
commit6f948e48879ed0706b044bea0429d3fc48d6e8e1 (patch)
treed9303cccaa43dc011070194aae584a70e7ec6d15 /weed/command
parent94e35cdb3552498b25824950bde94334c8b25331 (diff)
downloadseaweedfs-6f948e48879ed0706b044bea0429d3fc48d6e8e1.tar.xz
seaweedfs-6f948e48879ed0706b044bea0429d3fc48d6e8e1.zip
remove configurable topics folder location
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/msg_broker.go6
-rw-r--r--weed/command/scaffold.go2
2 files changed, 1 insertions, 7 deletions
diff --git a/weed/command/msg_broker.go b/weed/command/msg_broker.go
index 3e13b4730..093cff4a6 100644
--- a/weed/command/msg_broker.go
+++ b/weed/command/msg_broker.go
@@ -62,18 +62,14 @@ func (msgBrokerOpt *QueueOptions) startQueueServer() bool {
return false
}
- filerQueuesPath := "/queues"
-
grpcDialOption := security.LoadClientTLS(util.GetViper(), "grpc.client")
for {
err = pb.WithGrpcFilerClient(filerGrpcAddress, grpcDialOption, func(client filer_pb.SeaweedFilerClient) error {
- resp, err := client.GetFilerConfiguration(context.Background(), &filer_pb.GetFilerConfigurationRequest{})
+ _, err := client.GetFilerConfiguration(context.Background(), &filer_pb.GetFilerConfigurationRequest{})
if err != nil {
return fmt.Errorf("get filer %s configuration: %v", filerGrpcAddress, err)
}
- filerQueuesPath = resp.DirQueues
- glog.V(0).Infof("Queue read filer queues dir: %s", filerQueuesPath)
return nil
})
if err != nil {
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go
index 67fa8dcf3..2c2bdc737 100644
--- a/weed/command/scaffold.go
+++ b/weed/command/scaffold.go
@@ -80,8 +80,6 @@ buckets_fsync = [ # a list of buckets with all write requests fsync=tru
"important_bucket",
"should_always_fsync",
]
-# directories under this folder will be store message queue data
-queues_folder = "/queues"
####################################################
# The following are filer store options