GabrielBrascher commented on a change in pull request #3122: Add back ability
to disable backup of snapshot to secondary
URL: https://github.com/apache/cloudstack/pull/3122#discussion_r251669785
##########
File path:
engine/storage/snapshot/src/org/apache/cloudstack/storage/snapshot/SnapshotObject.java
##########
@@ -149,6 +149,17 @@ public long getPhysicalSize() {
return physicalSize;
}
+ @Override
+ public void markBackedUp() throws CloudRuntimeException{
+ try {
+ processEvent(Event.OperationNotPerformed);
+ } catch (NoTransitionException ex) {
+ s_logger.error("no transition error: ", ex);
+ throw new CloudRuntimeException("Error marking snapshot backed up:
" +
Review comment:
@nathanejohnson I see this point as critical. Doing as @rafaelweingartner
proposed would allow having the full stack on the log, which helps on debugging.
Could you please address this point? Thanks! Overall LGTM.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services