GitHub user mikezaccardo opened a pull request:
https://github.com/apache/incubator-brooklyn/pull/1090
Add timeout to attributeWhenReady if entity is in destructive state
Previously, `attributeWhenReady` would only abort if the entity was is on
fire.
Now `attributeWhenReady` will timeout after 1 minute if the entity is in
the `STOPPING`, `STOPPED`, or `DESTROYED` state.
The call does not abort straight away because there is a chance that the
dependent values may be needed in the `stop` phase, so this timeout gives such
values a fair chance to be resolved before the resolution is canceled by way of
a timeout.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mikezaccardo/incubator-brooklyn
fix/attribute-when-ready-timeout
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-brooklyn/pull/1090.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1090
----
commit a6c2ae960381f05678f2508a91a6fe8f8a2627d5
Author: Mike Zaccardo <[email protected]>
Date: 2015-12-05T03:27:03Z
Add timeout to attributeWhenReady if entity is in destructive state
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---