sonatype/nexus — pull request #658 by cstamas (2012-11-13 08:15:11+00:00)
Title: NEXUS-5372: Alternative fix

Introduced new format, to replace the old broken
format, while keeping backward compat. In cases when
records are no longer than 255 bytes at least.

As in real life, records are longer than 255, this does not "salvage" the historical data (that is already written out corrupted), but at least does not break the build. Also, it uses proper Protobuf API to write out delimited records, is not rolling it's own to do so.