提交 d9e97995 编写于 作者: D Davies Liu

change logging lovel to debug for failed read in compaction

上级 f33a9ba5
...@@ -79,7 +79,7 @@ func Compact(conf chunk.Config, store chunk.ChunkStore, slices []meta.Slice, chu ...@@ -79,7 +79,7 @@ func Compact(conf chunk.Config, store chunk.ChunkStore, slices []meta.Slice, chu
l := utils.Min(conf.BlockSize, int(s.Len)-read) l := utils.Min(conf.BlockSize, int(s.Len)-read)
p := chunk.NewOffPage(l) p := chunk.NewOffPage(l)
if err := readSlice(store, &s, p, read); err != nil { if err := readSlice(store, &s, p, read); err != nil {
logger.Infof("can't compact chunk %d, retry later, read %d: %s", chunkid, i, err) logger.Debugf("can't compact chunk %d, retry later, read %d: %s", chunkid, i, err)
p.Release() p.Release()
writer.Abort() writer.Abort()
return err return err
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册