aboutsummaryrefslogtreecommitdiff
path: root/weed/command/server.go
diff options
context:
space:
mode:
authorMike Tolman <mike.tolman@fidelissecurity.com>2016-08-05 15:47:46 -0600
committerMike Tolman <mike.tolman@fidelissecurity.com>2016-08-05 15:47:46 -0600
commita89a3c86d0bfa20ead98fec1d286cdc6018c3bde (patch)
tree801566226da8e0e5880b43644aae0f3124b3c8ac /weed/command/server.go
parent0d331c1e3ae0d038ae972279a63d2ff9a70e25f4 (diff)
downloadseaweedfs-a89a3c86d0bfa20ead98fec1d286cdc6018c3bde.tar.xz
seaweedfs-a89a3c86d0bfa20ead98fec1d286cdc6018c3bde.zip
Revert "Add AutoChunking to the Filer API, so that you can upload really large files through the filer API."
This reverts commit 09059bfdccdeff1a588ee1326318075adb068b0f.
Diffstat (limited to 'weed/command/server.go')
-rw-r--r--weed/command/server.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/weed/command/server.go b/weed/command/server.go
index 7a6677a65..1211c7137 100644
--- a/weed/command/server.go
+++ b/weed/command/server.go
@@ -86,7 +86,6 @@ func init() {
filerOptions.defaultReplicaPlacement = cmdServer.Flag.String("filer.defaultReplicaPlacement", "", "Default replication type if not specified during runtime.")
filerOptions.redirectOnRead = cmdServer.Flag.Bool("filer.redirectOnRead", false, "whether proxy or redirect to volume server during file GET request")
filerOptions.disableDirListing = cmdServer.Flag.Bool("filer.disableDirListing", false, "turn off directory listing")
- filerOptions.maxMB = cmdServer.Flag.Int("filer.maxMB", 0, "split files larger than the limit")
filerOptions.cassandra_server = cmdServer.Flag.String("filer.cassandra.server", "", "host[:port] of the cassandra server")
filerOptions.cassandra_keyspace = cmdServer.Flag.String("filer.cassandra.keyspace", "seaweed", "keyspace of the cassandra server")
filerOptions.redis_server = cmdServer.Flag.String("filer.redis.server", "", "host:port of the redis server, e.g., 127.0.0.1:6379")
@@ -170,7 +169,6 @@ func runServer(cmd *Command, args []string) bool {
_, nfs_err := weed_server.NewFilerServer(r, *serverBindIp, *filerOptions.port, *filerOptions.master, *filerOptions.dir, *filerOptions.collection,
*filerOptions.defaultReplicaPlacement,
*filerOptions.redirectOnRead, *filerOptions.disableDirListing,
- *filerOptions.maxMB,
*filerOptions.secretKey,
*filerOptions.cassandra_server, *filerOptions.cassandra_keyspace,
*filerOptions.redis_server, *filerOptions.redis_password, *filerOptions.redis_database,