question: private void migrateBlockVolumes ( ) { log . info ( "Migrating BlockConsistencyGroup references on Volume objects." ) ; DbClient dbClient = getDbClient ( ) ; List < URI > volumeURIs = dbClient . queryByType ( Volume . class , false ) ; Iterator < Volume > volumes = dbClient . queryIterativeObjects ( Volume . class , volumeURIs , true ) ; List < BlockObject > blockObjects = new ArrayList < BlockObject > ( ) ; while ( volumes . hasNext ( ) ) { blockObjects . add ( volumes . next ( ) ) ; } migrateBlockObjects ( blockObjects ) ; }
target:  Update the Volume object to migrate the old consistencyGroups field into the new consistencyGroup list field.