mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-08 03:08:53 +00:00
Readding seekToEnd() call to openLogFile() temporarily so that search doesn't break
Reviewed By: aditya Test Plan: Thrift compiles, falcon works Revert Plan: revertible git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665168 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d51643cbf9
commit
e9cd655579
@ -292,7 +292,7 @@ void TFileTransport::writerThread() {
|
||||
}
|
||||
|
||||
// set the offset to the correct value (EOF)
|
||||
offset_ = lseek(fd_, 0, SEEK_END);
|
||||
seekToEnd();
|
||||
|
||||
// Figure out the next time by which a flush must take place
|
||||
|
||||
@ -751,6 +751,9 @@ void TFileTransport::openLogFile() {
|
||||
GlobalOutput(errorMsg);
|
||||
throw TTransportException(errorMsg);
|
||||
}
|
||||
|
||||
// TODO: Remove this once Aditya fixes search problems
|
||||
seekToEnd();
|
||||
}
|
||||
|
||||
void TFileTransport::getNextFlushTime(struct timespec* ts_next_flush) {
|
||||
|
Loading…
Reference in New Issue
Block a user