diff options
| author | chrislu <chris.lu@gmail.com> | 2021-12-16 00:58:15 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2021-12-16 00:58:15 -0800 |
| commit | 50ddd8c8e286ecc0898e06667b54b18b94935cf0 (patch) | |
| tree | e90958dc4ad9281f14aa2b8d1b8a5c87ebefc3a0 | |
| parent | 8329cf86a795684038768223a05069fb247f815e (diff) | |
| download | seaweedfs-50ddd8c8e286ecc0898e06667b54b18b94935cf0.tar.xz seaweedfs-50ddd8c8e286ecc0898e06667b54b18b94935cf0.zip | |
remove debug messages
fix https://github.com/chrislusf/seaweedfs/issues/2514
| -rw-r--r-- | weed/storage/disk_location.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/weed/storage/disk_location.go b/weed/storage/disk_location.go index 98042f3c8..af4ec1eb4 100644 --- a/weed/storage/disk_location.go +++ b/weed/storage/disk_location.go @@ -334,12 +334,12 @@ func (l *DiskLocation) Close() { } func (l *DiskLocation) LocateVolume(vid needle.VolumeId) (os.DirEntry, bool) { - println("LocateVolume", vid, "on", l.Directory) + // println("LocateVolume", vid, "on", l.Directory) if dirEntries, err := os.ReadDir(l.Directory); err == nil { for _, entry := range dirEntries { - println("checking", entry.Name(), "...") + // println("checking", entry.Name(), "...") volId, _, err := volumeIdFromFileName(entry.Name()) - println("volId", volId, "err", err) + // println("volId", volId, "err", err) if vid == volId && err == nil { return entry, true } |
