naver / rye

RYE, Native Sharding RDBMS
Other
54 stars 9 forks source link

cannot run multiple docker container in one host #236

Open cholgyu-kang opened 6 years ago

cholgyu-kang commented 6 years ago

Shard info command

$ java rye.jdbc.admin.Shard info testdb 10.105.66.201:30000
DBNAME: testdb
SHARD NODE:
    nodeid    local-dbname    host             port
    ------------------------------------------------
    1         testdb1         10.105.66.201    30000
    1         testdb1         10.105.66.201    31000
    2         testdb2         10.105.66.201    32000
    2         testdb2         10.105.66.201    33000

GROUPID:
    nodeid    groupid-count
    -----------------------
    1         5000
    2         5000

MIGRATION:
    src_nodeid    dest_nodeid    status      groupid-count
    ------------------------------------------------------
    1             2              COMPLETE    5000