Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mdc-replication] Wrong cluster-status when executing the command on a remote-cluster's manager #329

Closed
yosukehara opened this issue Mar 13, 2015 · 1 comment

Comments

@yosukehara
Copy link
Member

The output results with LeoFS v1.2.7 as follows:

$ ./leofs-adm join-cluster [email protected]:13095 [email protected]:13096
OK

$ ./leofs-adm cluster-status
cluster id |   dc id    |    status    | # of storages  |          updated at
-----------+------------+--------------+----------------+-----------------------------
leofs_2    | dc_2       | running      |              3 | 2015-03-13 10:02:59 +0900


$ ./leofs-adm -p 10110 cluster-status (remote-cluster)
cluster id |   dc id    |    status    | # of storages  |          updated at
-----------+------------+--------------+----------------+-----------------------------
leofs_2    | dc_2       | running      |              3 | 2015-03-13 10:02:59 +0900

The correct results is as follows:

$ ./leofs-adm -p 10110 cluster-status (remote-cluster)
cluster id |   dc id    |    status    | # of storages  |          updated at
-----------+------------+--------------+----------------+-----------------------------
leofs_1    | dc_1       | running      |              3 | 2015-03-13 10:02:59 +0900
@yosukehara
Copy link
Member Author

DONE

$ leofs-adm -p 10110 cluster-status
cluster id |   dc id    |    status    | # of storages  |          updated at
-----------+------------+--------------+----------------+-----------------------------
leofs_1    | dc_1       | running      |              3 |

$ leofs-adm cluster-status
cluster id |   dc id    |    status    | # of storages  |          updated at
-----------+------------+--------------+----------------+-----------------------------
leofs_2    | dc_2       | running      |              3 |

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant