Difference between revisions of "Database Table: clustermove inprogress"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: Converting database table to use semantic mediawiki form.)
m (Robot: This table needs a description.)
Line 1: Line 1:
 
{{Database Table|name=clustermove_inprogress|table type=global|description=This table is used to track the transitions of users between clusters.}}
 
{{Database Table|name=clustermove_inprogress|table type=global|description=This table is used to track the transitions of users between clusters.}}
 
This table is used by the [[ljbackup.pl|ljbackup]] and [[ljumover.pl|ljumover]] daemons to track the transitions of users between clusters.
 
This table is used by the [[ljbackup.pl|ljbackup]] and [[ljumover.pl|ljumover]] daemons to track the transitions of users between clusters.
 +
[[Category:Database Tables Needing Description]]
 
= Definition =
 
= Definition =
 
<source lang="sql">
 
<source lang="sql">

Revision as of 11:49, 27 January 2010

"{{{repo}}}" is not in the list of possible values (dw-free, dw-nonfree) for this property."{{{repo}}}" is not in the list of possible values (dw-free, dw-nonfree) for this property. 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