You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
It should not. Heartbeat is not a one sized fits all fit for understanding
if a resource is there or not. All the heartbeat does is rejoin a cluster
if it gets separated for some reason. Honestly, at this point I question
whether hearbeat is even a good feature or something that should be
implemented at the application level or at least a higher level than RD. I
am open to dissenting ideas though.
On Wed, Apr 1, 2015 at 6:17 PM, Eric Merritt [email protected]
wrote:
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:
And run on the second:
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?
The text was updated successfully, but these errors were encountered: