aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_fs_meta_cat.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-11-21 13:06:35 -0800
committerChris Lu <chris.lu@gmail.com>2020-11-21 13:06:45 -0800
commit92f906b6fcce2ef72661bb825075e2826b8f3aa1 (patch)
treecb8b27ad90dd6afa83e3e34033db9bbd551477e1 /weed/shell/command_fs_meta_cat.go
parent025bd8d447e147643173f369afcd7cc29b04e4d8 (diff)
downloadseaweedfs-92f906b6fcce2ef72661bb825075e2826b8f3aa1.tar.xz
seaweedfs-92f906b6fcce2ef72661bb825075e2826b8f3aa1.zip
remove zstd
fix https://github.com/chrislusf/seaweedfs/issues/1629
Diffstat (limited to 'weed/shell/command_fs_meta_cat.go')
-rw-r--r--weed/shell/command_fs_meta_cat.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/weed/shell/command_fs_meta_cat.go b/weed/shell/command_fs_meta_cat.go
index a097a3a4e..e0525defa 100644
--- a/weed/shell/command_fs_meta_cat.go
+++ b/weed/shell/command_fs_meta_cat.go
@@ -72,8 +72,9 @@ func (c *commandFsMetaCat) Do(args []string, commandEnv *CommandEnv, writer io.W
bytes, _ := proto.Marshal(respLookupEntry.Entry)
gzippedBytes, _ := util.GzipData(bytes)
- zstdBytes, _ := util.ZstdData(bytes)
- fmt.Fprintf(writer, "chunks %d meta size: %d gzip:%d zstd:%d\n", len(respLookupEntry.Entry.Chunks), len(bytes), len(gzippedBytes), len(zstdBytes))
+ // zstdBytes, _ := util.ZstdData(bytes)
+ // fmt.Fprintf(writer, "chunks %d meta size: %d gzip:%d zstd:%d\n", len(respLookupEntry.Entry.Chunks), len(bytes), len(gzippedBytes), len(zstdBytes))
+ fmt.Fprintf(writer, "chunks %d meta size: %d gzip:%d\n", len(respLookupEntry.Entry.Chunks), len(bytes), len(gzippedBytes))
return nil