Change error message.
GitOrigin-RevId: 731888bdff7bf4efc0985bcdcf59954eee605d9d
This commit is contained in:
parent
4717e5529a
commit
2a50835118
@ -383,8 +383,8 @@ void Binlog::do_event(BinlogEvent &&event) {
|
|||||||
fd_.seek(fd_size_).ensure();
|
fd_.seek(fd_size_).ensure();
|
||||||
fd_.truncate_to_current_position(fd_size_).ensure();
|
fd_.truncate_to_current_position(fd_size_).ensure();
|
||||||
}
|
}
|
||||||
LOG(FATAL) << "Truncate binlog \"" << path_ << "\" in state " << static_cast<int32>(state_) << " from size "
|
LOG(FATAL) << "Truncate binlog \"" << path_ << "\" from size " << old_size << " to size " << fd_size_
|
||||||
<< old_size << " to size " << fd_size_ << " due to error: " << status;
|
<< " in state " << static_cast<int32>(state_) << " due to error: " << status;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user