@Test
  public void testIndexSegmentRollOverNewIndexSegmentVersion() throws StoreException, IOException {
    indexSegmentRollOverTest(PersistentIndex.VERSION_0, true);
    indexSegmentRollOverTest(PersistentIndex.VERSION_0, false);
    indexSegmentRollOverTest(PersistentIndex.VERSION_1, true);
    indexSegmentRollOverTest(PersistentIndex.VERSION_1, false);
  }
Tests the index segment roll over when there is a change in IndexValue size. With introduction of
{@link PersistentIndex#VERSION_1} there is a change in IndexValue.
@throws StoreException
@throws IOException
ambry-store/src/test/java/com/github/ambry/store/IndexTest.java