Program: 162868
Project: 162868
Buggy source:
/** 
 * This method does not set a segment lock, A segment lock should be obtained before calling this method, especially when being used in a multi threaded context.
 */
@Override public void writeExternalEntry(@NotNull Bytes entry,@NotNull Bytes destination,int chronicleId){
  final long keySize=keySizeMarshaller.readSize(entry);
  final long keyPosition=entry.position();
  entry.skip(keySize);
  final long timeStamp=entry.readLong();
  final byte identifier=entry.readByte();
  if (identifier != localIdentifier) {
    return;
  }
  final boolean isDeleted=entry.readBoolean();
  long valueSize;
  if (!isDeleted) {
    valueSize=valueSizeMarshaller.readSize(entry);
  }
 else {
    valueSize=valueSizeMarshaller.minEncodableSize();
  }
  final long valuePosition=entry.position();
  keySizeMarshaller.writeSize(destination,keySize);
  valueSizeMarshaller.writeSize(destination,valueSize);
  destination.writeStopBit(timeStamp);
  if (identifier == 0)   throw new IllegalStateException("String_Node_Str");
  destination.writeByte(identifier);
  destination.writeBoolean(isDeleted);
  entry.position(keyPosition);
  destination.write(entry,entry.position(),keySize);
  boolean debugEnabled=LOG.isDebugEnabled();
  String message=null;
  if (debugEnabled) {
    if (isDeleted) {
      LOG.debug("String_Node_Str",localIdentifier,entry.toString().trim());
    }
 else {
      message=String.format("String_Node_Str",localIdentifier,entry.toString().trim());
    }
  }
  if (isDeleted)   return;
  entry.position(valuePosition);
  alignment.alignPositionAddr(entry);
  destination.write(entry,entry.position(),valueSize);
  if (debugEnabled) {
    LOG.debug(message + "String_Node_Str" + entry.toString().trim()+ "String_Node_Str");
  }
}

Fixed version (ground truth):
/** 
 * This method does not set a segment lock, A segment lock should be obtained before calling this method, especially when being used in a multi threaded context.
 */
@Override public void writeExternalEntry(@NotNull Bytes entry,@NotNull Bytes destination,int chronicleId,long bootstrapTime){
  final long keySize=keySizeMarshaller.readSize(entry);
  final long keyPosition=entry.position();
  entry.skip(keySize);
  final long timeStamp=entry.readLong();
  final byte identifier=entry.readByte();
  if (identifier != localIdentifier) {
    return;
  }
  final boolean isDeleted=entry.readBoolean();
  long valueSize;
  if (!isDeleted) {
    valueSize=valueSizeMarshaller.readSize(entry);
  }
 else {
    valueSize=valueSizeMarshaller.minEncodableSize();
  }
  final long valuePosition=entry.position();
  destination.writeLong(bootstrapTime);
  keySizeMarshaller.writeSize(destination,keySize);
  valueSizeMarshaller.writeSize(destination,valueSize);
  destination.writeStopBit(timeStamp);
  if (identifier == 0)   throw new IllegalStateException("String_Node_Str");
  destination.writeByte(identifier);
  destination.writeBoolean(isDeleted);
  entry.position(keyPosition);
  destination.write(entry,entry.position(),keySize);
  boolean debugEnabled=LOG.isDebugEnabled();
  String message=null;
  if (debugEnabled) {
    if (isDeleted) {
      LOG.debug("String_Node_Str",localIdentifier,entry.toString().trim());
    }
 else {
      message=String.format("String_Node_Str",localIdentifier,entry.toString().trim());
    }
  }
  if (isDeleted)   return;
  entry.position(valuePosition);
  alignment.alignPositionAddr(entry);
  destination.write(entry,entry.position(),valueSize);
  if (debugEnabled) {
    LOG.debug(message + "String_Node_Str" + entry.toString().trim()+ "String_Node_Str");
  }
}