aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-03-27 00:30:39 -0700
committerChris Lu <chris.lu@gmail.com>2020-03-27 00:30:39 -0700
commit2f5ed29c37c204fb461498b9f3c51f76442ca01c (patch)
tree6d68d3653bb440fe57c44c38544da64fab5a8856
parent2286eda575861cceb4464bf677e9885e069de385 (diff)
downloadseaweedfs-2f5ed29c37c204fb461498b9f3c51f76442ca01c.tar.xz
seaweedfs-2f5ed29c37c204fb461498b9f3c51f76442ca01c.zip
clean up
-rw-r--r--weed/filer2/stream.go1
-rw-r--r--weed/filesys/dir_rename.go3
2 files changed, 1 insertions, 3 deletions
diff --git a/weed/filer2/stream.go b/weed/filer2/stream.go
index 2a2ef5e48..d71ef71f6 100644
--- a/weed/filer2/stream.go
+++ b/weed/filer2/stream.go
@@ -108,7 +108,6 @@ func (c *ChunkStreamReader) Read(p []byte) (n int, err error) {
return 0, io.EOF
}
chunkView := c.chunkViews[c.chunkIndex]
- println("fetch1")
c.fetchChunkToBuffer(chunkView)
c.chunkIndex++
}
diff --git a/weed/filesys/dir_rename.go b/weed/filesys/dir_rename.go
index f8dbdbb6a..ea40f5c31 100644
--- a/weed/filesys/dir_rename.go
+++ b/weed/filesys/dir_rename.go
@@ -2,7 +2,6 @@ package filesys
import (
"context"
- "fmt"
"github.com/chrislusf/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
@@ -43,7 +42,7 @@ func (dir *Dir) Rename(ctx context.Context, req *fuse.RenameRequest, newDirector
dir.wfs.cacheDelete(newPath)
dir.wfs.cacheDelete(oldPath)
- fmt.Printf("rename path: %v => %v\n", oldPath, newPath)
+ // fmt.Printf("rename path: %v => %v\n", oldPath, newPath)
dir.wfs.fsNodeCache.Move(oldPath, newPath)
}