replace

fun replace(other: SegmentInfos)

Replaces all segments in this instance, but keeps generation, version, counter so that future commits remain write once.