question: private void persistVolumeNativeID ( DbClient dbClient , URI volumeId , String nativeID , Calendar creationTime ) throws IOException { Volume volume = dbClient . queryObject ( Volume . class , volumeId ) ; volume . setCreationTime ( creationTime ) ; volume . setNativeId ( nativeID ) ; volume . setNativeGuid ( NativeGUIDGenerator . generateNativeGuid ( dbClient , volume ) ) ; dbClient . updateObject ( volume ) ; }
target:  This method saves the native ID info and creation time for the volume object. The native ID is the key identifier for the volume instance on the SMI-S side. We need to immediately persist it, so that if when further post-processing of the volume encounters some error, we would be able to have some reference to the volume and we could attempt to delete it.