Removing specific node(s) from a group

13 views
Skip to first unread message

Fernando Hernandez

unread,
Jul 7, 2014, 9:54:11 PM7/7/14
to palle...@googlegroups.com
Hi,

I'm trying to figure out what's the best way to remove a node from a group in Pallet 0.8.0-RC.9. Currently, I am able to remove nodes by adjusting the count via '(converge {my-group num-nodes} ...)' but I wanted to see if there's a way to filter which nodes of a group will be removed – say, if I know their IP address. In the source code for converge there's a comment [1] about a partition function ':partition-f' but I don't see it being used in the code, and it's not mentioned in the API docs anymore either [2]. 'converge' seems to just grab any node at random in 'node-count-adjuster', and I can't find a straight forward way to filter the nodes to remove without reverse-engineering what converge/node-count-adjuster already do.


Thanks,
Fernando
Reply all
Reply to author
Forward
0 new messages