-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
I probably just can't understand the rigth behaviour, but I don't know the better way to ask. May be this question will help smb.
I start two nodes with resource_discovery application (with heartbit). Run on the first:
resource_discovery:add_local_resource_tuple({worker, a}).
resource_discovery:sync_resources().
And run on the second:
resource_discovery:add_target_resource_types([worker]).
resource_discovery:sync_resources().
resource_discovery:get_resources(worker). #[a]
And get the resource. It's OK. Then I kill first node. But I still get registered resource, calling resource_discovery:get_resources(worker). Calling sync_resources and contract_nodes doesn't help. Should it disappeared? Where is my mistake?
Metadata
Metadata
Assignees
Labels
No labels