@Override protected void recordVersions(RegionVersionHolder vh,BitSet bs){
  List<Integer> list=new ArrayList<Integer>();
  for (int i=1; i < bs.length(); i++) {
    if (bs.get(i)) {
      list.add(i);
    }
  }
  Collections.shuffle(list,random);
  for (  Integer version : list) {
    vh.recordVersion(version);
  }
}

@ Override protected void recordVersions ( RegionVersionHolder vh , BitSet bs ) { List < Integer > list = new ArrayList < Integer > ( ) ; for ( int i = 1 ; i < bs . length ( ) ; i ++ ) { if ( bs . get ( i ) ) { list . add ( i ) ; } } Collections . shuffle ( list , random ) ; for ( Integer version : list ) { vh . recordVersion ( version ) ; } }
record versions in random order , rather than in sequential order this should generate and fill some exceptions .
