From f5a8382933aa50e6c3380c6a7627144ec9d8949e Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 13 Nov 2012 12:13:59 -0800 Subject: [PATCH] add warning message --- weed-fs/src/pkg/storage/store.go | 1 + 1 file changed, 1 insertion(+) diff --git a/weed-fs/src/pkg/storage/store.go b/weed-fs/src/pkg/storage/store.go index 6beb224f5..fb49e9059 100644 --- a/weed-fs/src/pkg/storage/store.go +++ b/weed-fs/src/pkg/storage/store.go @@ -135,6 +135,7 @@ func (s *Store) Write(i VolumeId, n *Needle) uint32 { if v := s.volumes[i]; v != nil { return v.write(n) } + log.Println("volume",i, "not found!") return 0 } func (s *Store) Delete(i VolumeId, n *Needle) uint32 {