Github user neykov commented on a diff in the pull request:
https://github.com/apache/incubator-brooklyn/pull/941#discussion_r42107956
--- Diff:
core/src/main/java/org/apache/brooklyn/entity/group/DynamicClusterImpl.java ---
@@ -775,6 +793,9 @@ public Entity addNode(Location loc, Map<?,?>
extraFlags) {
entity.sensors().set(CLUSTER_MEMBER, true);
entity.sensors().set(CLUSTER, this);
+ int nextClusterMemberId =
getAttribute(NEXT_CLUSTER_MEMBER_ID).get();
+ entity.sensors().set(CLUSTER_MEMBER_ID, nextClusterMemberId);
--- End diff --
I'd say this is a config value, could even be passed in `createFlags`, to
be accessible in the `init` method, but no strong feelings.
---
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.
---