(self, node)
Removes node from circle and rebuild it.
Removes node from circle and rebuild it.
Removes node from circle and rebuild it .
def remove_node(self, node):
        """
            Removes node from circle and rebuild it.
        """
        try:
            self._nodes.remove(node)
            del self._weights[node]
        except (KeyError, ValueError):
            pass
        self._hashring = dict()
        self._sorted_keys = []

        self._build_circle()
def remove_node ( self , node ) : try : self . _nodes . remove ( node ) del self . _weights [ node ] except ( KeyError , ValueError ) : pass self . _hashring = dict ( ) self . _sorted_keys = [ ] self . _build_circle ( )