aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-05-30 22:09:24 -0700
committerChris Lu <chris.lu@gmail.com>2018-05-30 22:09:24 -0700
commita218eaf1f007f61b9769f712566504fe09702f34 (patch)
treedd29b35988cd1006942ea1ebdc1a0ac5b5bb861d
parent430eb67489372eea51c39cda1414411a9c96df8c (diff)
downloadseaweedfs-a218eaf1f007f61b9769f712566504fe09702f34.tar.xz
seaweedfs-a218eaf1f007f61b9769f712566504fe09702f34.zip
fix log
-rw-r--r--weed/filesys/dirty_page.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/weed/filesys/dirty_page.go b/weed/filesys/dirty_page.go
index 609af4181..996eb0abb 100644
--- a/weed/filesys/dirty_page.go
+++ b/weed/filesys/dirty_page.go
@@ -31,9 +31,7 @@ func (pages *ContinuousDirtyPages) AddPage(ctx context.Context, offset int64, da
var chunk *filer_pb.FileChunk
if len(data) > len(pages.Data) {
- // this is more than what we can hold.
-
- glog.V(0).Infof("not prepared if buffer is smaller than each system write! file %s [%d,%d)", pages.f.Name, offset, int64(len(data))+offset)
+ // this is more than what buffer can hold.
// flush existing
if chunk, err = pages.saveExistingPagesToStorage(ctx); err == nil {