mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	CLOUDSTACK-7945:
set removed field in snapshots table in case of snaphsot failure. Reviewed-by: Frank
This commit is contained in:
		
							parent
							
								
									0e3aebbb9d
								
							
						
					
					
						commit
						c05cda0d28
					
				| @ -307,6 +307,7 @@ public class SnapshotServiceImpl implements SnapshotService { | |||||||
|                 srcSnapshot.processEvent(Event.OperationSuccessed); |                 srcSnapshot.processEvent(Event.OperationSuccessed); | ||||||
| 
 | 
 | ||||||
|                 srcSnapshot.processEvent(Snapshot.Event.OperationFailed); |                 srcSnapshot.processEvent(Snapshot.Event.OperationFailed); | ||||||
|  |                 _snapshotDao.remove(srcSnapshot.getId()); | ||||||
|             } catch (NoTransitionException e) { |             } catch (NoTransitionException e) { | ||||||
|                 s_logger.debug("Failed to update state: " + e.toString()); |                 s_logger.debug("Failed to update state: " + e.toString()); | ||||||
|             } |             } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user