mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-20 05:47:56 +08:00
add logs on flush
This commit is contained in:
@@ -156,6 +156,7 @@ func (m *LogBuffer) loopInterval() {
|
||||
toFlush := m.copyToFlush()
|
||||
m.Unlock()
|
||||
if toFlush != nil {
|
||||
glog.V(0).Infof("%s flush [%v, %v] size %d", m.name, toFlush.startTime, toFlush.stopTime, len(toFlush.data.Bytes()))
|
||||
m.flushChan <- toFlush
|
||||
} else {
|
||||
// glog.V(0).Infof("%s no flush", m.name)
|
||||
|
Reference in New Issue
Block a user