resource discovery and dead resources

6 views
Skip to first unread message

Aaron Frantisak

unread,
Mar 27, 2014, 9:22:03 AM3/27/14
to erlware-...@googlegroups.com
I have configured heartbeating but dead resources do not seem to affect the cache.  When I kill a vm that hosted a local resource tuple, resource_discovery seems to pick up the loss after a heartbeat or two.  I can see this in the logs because "trade_resources, got remotes" stops listing that remote. 

However, when I call get_resources for that name, it still continues to return the dead resource in the list.  I cannot figure out how to get the cache to reflect the deletion.  I am calling sync_resources periodically but that doesn't seem to work. 

I'm sure there must be a simple way to get the list of only resources that are alive?

Thanks, 

Aaron Frantisak
Reply all
Reply to author
Forward
0 new messages