Clusters

Routes the client has learned, and what it raises when the cluster disagrees.

class mirexa.Redirect(partition: 'int', epoch: 'int', node_id: 'int', addr: 'str')
exception mirexa.RedirectLoopError

Bases: MirexaError

A chain of redirects that does not arrive: too many hops, an epoch that did not advance, or a different partition mid-walk.

exception mirexa.NodeBehindError

Bases: RedirectLoopError

A node redirected at an epoch older than one already seen: it has not caught up with a move. Waited out a few times before it is raised.

exception mirexa.PartialListingError(streams: list[StreamInfo], failed: list[tuple[str, BaseException]])

Bases: MirexaError

A cluster-wide listing that some nodes did not answer. streams holds what the others did; failed names each node that did not, with why.