|
@ -63,7 +63,6 @@ func (fs *FilerServer) SubscribeMetadata(req *filer_pb.SubscribeMetadataRequest, |
|
|
}, eachLogEntryFn) |
|
|
}, eachLogEntryFn) |
|
|
if readInMemoryLogErr != nil { |
|
|
if readInMemoryLogErr != nil { |
|
|
if readInMemoryLogErr == log_buffer.ResumeFromDiskError { |
|
|
if readInMemoryLogErr == log_buffer.ResumeFromDiskError { |
|
|
time.Sleep(1127 * time.Millisecond) |
|
|
|
|
|
continue |
|
|
continue |
|
|
} |
|
|
} |
|
|
glog.Errorf("processed to %v: %v", lastReadTime, readInMemoryLogErr) |
|
|
glog.Errorf("processed to %v: %v", lastReadTime, readInMemoryLogErr) |
|
@ -127,7 +126,6 @@ func (fs *FilerServer) SubscribeLocalMetadata(req *filer_pb.SubscribeMetadataReq |
|
|
return true |
|
|
return true |
|
|
}, eachLogEntryFn) |
|
|
}, eachLogEntryFn) |
|
|
if readInMemoryLogErr != nil { |
|
|
if readInMemoryLogErr != nil { |
|
|
time.Sleep(1127 * time.Millisecond) |
|
|
|
|
|
if readInMemoryLogErr == log_buffer.ResumeFromDiskError { |
|
|
if readInMemoryLogErr == log_buffer.ResumeFromDiskError { |
|
|
continue |
|
|
continue |
|
|
} |
|
|
} |
|
|