mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
add logs on flush
This commit is contained in:
parent
aa5b6a8187
commit
1206313952
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue