You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Ignasi Barrera (JIRA)" <ji...@apache.org> on 2017/11/30 07:42:00 UTC
[jira] [Updated] (JCLOUDS-1332)
BaseComputeService.destroyNodesMatching and BaseComputeService.destroyNode
different behavior
[ https://issues.apache.org/jira/browse/JCLOUDS-1332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ignasi Barrera updated JCLOUDS-1332:
------------------------------------
Fix Version/s: (was: 2.0.3)
2.0.4
> BaseComputeService.destroyNodesMatching and BaseComputeService.destroyNode different behavior
> ---------------------------------------------------------------------------------------------
>
> Key: JCLOUDS-1332
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1332
> Project: jclouds
> Issue Type: Bug
> Components: jclouds-compute
> Affects Versions: 2.0.1, 2.0.2
> Reporter: Andrea Turli
> Assignee: Andrea Turli
> Priority: Critical
> Fix For: 2.1.0, 2.0.4
>
>
> DestroyNode doesn't clean up incidental resources as the destroyNodesMatching does.
> In fact, nodeTerminate.apply(node) has a side-effect and set node=null
> Potential fixes:
> - return `md` instead of node.get
> or
> - TrueIfNullOrDeletedRefreshAndDoubleCheckOnFalse predicate to return true when `refreshOrNull` return null
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)