Database Table: clustermove_inprogress

From Dreamwidth Notes
Revision as of 16:02, 22 July 2010 by Exor674Bot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is a global table. This table is used by the ljbackup and ljumover daemons to track the transitions of users between clusters.

Definition

CREATE TABLE clustermove_inprogress (
    userid      INT UNSIGNED NOT NULL,
    locktime    INT UNSIGNED NOT NULL,
    dstclust    SMALLINT UNSIGNED NOT NULL,
    moverhost   INT UNSIGNED NOT NULL,
    moverport   SMALLINT UNSIGNED NOT NULL,
    moverinstance CHAR(22) NOT NULL, # base64ed MD5 hash
 
    PRIMARY KEY (userid)
)

moverinstance identifies an instance of the ljumover daemon.

Relationships

Outgoing

  • Foreign key: userid to user.userid