.getVersionSize());
ORecordVersion existingRecordVersion = OVersionFactory.instance().createVersion();
existingRecordVersion.getSerializer().fastReadFrom(serializedVersion, 0, existingRecordVersion);
if (existingRecordVersion.compareTo(recordVersion) < 0) {
recordVersion.getSerializer().fastWriteTo(serializedVersion, 0, recordVersion);
setBinaryValue(entryIndexPosition + OIntegerSerializer.INT_SIZE, serializedVersion);
} else {
if (!keepTombstoneVersion) {
existingRecordVersion.increment();