private LogPosition findCachedStartingPosition( long offsetIndex )
{
return new LogPosition( 0, SegmentHeader.SIZE );
}
private PhysicalFlushableChannel getOrCreateWriter() throws IOException
<BUG>{
if ( bufferedWriter == null )</BUG>
{
StoreChannel channel = fileSystem.open( file, "rw" );
channel.position( channel.size() );

private LogPosition findCachedStartingPosition( long offsetIndex )
{
return new LogPosition( 0, SegmentHeader.SIZE );
}
private PhysicalFlushableChannel getOrCreateWriter() throws IOException
{
if ( closed )
{
throw new RuntimeException( format( CLOSED_ERROR_MESSAGE, file ) );
}
if ( bufferedWriter == null )
{
StoreChannel channel = fileSystem.open( file, "rw" );
channel.position( channel.size() );
