@InterfaceAudience.Private
public class VersionedSegmentsList
extends Object
A list of segment managers coupled with the version of the memstore (version at the time it was
created).
This structure helps to guarantee that the compaction pipeline updates after the compaction is
updated in a consistent (atomic) way.
Specifically, swapping some of the elements in a compaction pipeline with a new compacted
element is permitted only if the pipeline version is the same as the version attached to the
elements.