Skip to main content

hello

Request mingle sync-data.

def hello(
state: object,
from_node: string,
revoked: iterable,
**kwargs: dict
) - > dict

Request mingle sync-data.

Parameters

NameTypeDescription
stateobjectThe current worker state object containing the hostname and application instance.
from_nodestringThe hostname of the node requesting the synchronization data.
revokediterableAn optional collection of revoked task IDs to be merged into the local worker state before purging expired items.
**kwargsdictAdditional keyword arguments passed to the command handler.

Returns

TypeDescription
dictA dictionary containing the current set of non-expired revoked task IDs and the updated logical clock value for synchronization.