aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2017-05-23 21:12:03 -0700
committerChris Lu <chris.lu@gmail.com>2017-05-23 21:12:03 -0700
commitbd97cbc5230215ca91d280e7a2254674a9efd4ce (patch)
tree9bef06cdb0cce2342b2faf73845914d528846d0f
parentc5f23b26fcd6561ef9522764ca93b3a622d6fbdb (diff)
downloadseaweedfs-bd97cbc5230215ca91d280e7a2254674a9efd4ce.tar.xz
seaweedfs-bd97cbc5230215ca91d280e7a2254674a9efd4ce.zip
skip busy reporting back to master
possible fix for https://github.com/chrislusf/seaweedfs/issues/499
-rw-r--r--weed/storage/store.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/weed/storage/store.go b/weed/storage/store.go
index 58c8de0d7..7dfa80955 100644
--- a/weed/storage/store.go
+++ b/weed/storage/store.go
@@ -275,10 +275,6 @@ func (s *Store) Write(i VolumeId, n *Needle) (size uint32, err error) {
} else {
err = fmt.Errorf("Volume Size Limit %d Exceeded! Current size is %d", s.VolumeSizeLimit, v.ContentSize())
}
- if s.VolumeSizeLimit < v.ContentSize()+3*uint64(size) {
- glog.V(0).Infoln("volume", i, "size", v.ContentSize(), "will exceed limit", s.VolumeSizeLimit)
- s.updateMaster()
- }
return
}
glog.V(0).Infoln("volume", i, "not found!")