@Parameterized.Parameters
  public static List<Object[]> data() {
    return Arrays.asList(
        new Object[][]{{false, PersistentIndex.VERSION_2, false}, {true, PersistentIndex.VERSION_2, false}, {true, PersistentIndex.VERSION_3, true}, {true, PersistentIndex.VERSION_3, false}, {true, PersistentIndex.VERSION_4, true}, {true, PersistentIndex.VERSION_4, false}});
  }
Running for both segmented and non-segmented log.
@return an array with both {@code false} and {@code true}.
ambry-store/src/test/java/com/github/ambry/store/IndexTest.java