CREATE TABLE NodeRemoverWorker
(
    id BIGINT UNSIGNED DEFAULT NULL,
    LockId CHAR(32) DEFAULT NULL,
    ts BIGINT UNSIGNED DEFAULT NULL COMMENT "Timestamp when job was created",
    Zone BIGINT UNSIGNED NOT NULL COMMENT "Zone from which job was created (shared node tracking)",
    Node BIGINT UNSIGNED NOT NULL COMMENT "Node id which is to be removed",
    PRIMARY KEY ( id ) AUTO_INCREMENT,
    KEY ( LockId ),
    UNIQUE ( Zone, Node )

) ENGINE=INNODB CHARSET=UTF8 COMMENT="Tracking nodes to be removed by the NodeRemover worker";
