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

[leo_manager] whereis doesn't work for an object having grandchildren #1010

Closed
mocchira opened this issue Mar 28, 2018 · 1 comment
Closed

Comments

@mocchira
Copy link
Member

Like this

leofs@cat2neat:leofs.1.3.5$ ./leofs-adm whereis "test/core2"
-------+--------------------------+--------------------------------------+------------+--------------+----------------+----------------+----------------+----------------------------
 del?  |           node           |             ring address             |    size    |   checksum   |  has children  |  total chunks  |     clock      |             when
-------+--------------------------+--------------------------------------+------------+--------------+----------------+----------------+----------------+----------------------------
       | storage_1@127.0.0.1      | 9b1dee279ffcca75fcd24f7c9125e8bd     |    852212K |   84524f1eff | false          |             56 | 5686edbb93969  | 2018-03-28 10:23:45 +0900
       | storage_2@127.0.0.1      | 9b1dee279ffcca75fcd24f7c9125e8bd     |    852212K |   84524f1eff | false          |             56 | 5686edbb93969  | 2018-03-28 10:23:45 +0900

leofs@cat2neat:leofs.1.3.5$ ./leofs-adm whereis "test/core2\n1"
-------+--------------------------+--------------------------------------+------------+--------------+----------------+----------------+----------------+----------------------------
 del?  |           node           |             ring address             |    size    |   checksum   |  has children  |  total chunks  |     clock      |             when
-------+--------------------------+--------------------------------------+------------+--------------+----------------+----------------+----------------+----------------------------
       | storage_3@127.0.0.1      | 4c8648819d1123fe1f288fb595a85ebe     |     15360K |   133ab5f0a5 | false          |              3 | 5686ed9bc67c6  | 2018-03-28 10:23:12 +0900
       | storage_1@127.0.0.1      | 4c8648819d1123fe1f288fb595a85ebe     |     15360K |   133ab5f0a5 | false          |              3 | 5686ed9bc67c6  | 2018-03-28 10:23:12 +0900

leofs@cat2neat:leofs.1.3.5$ ./leofs-adm whereis "test/core2\n1\n1"
-------+--------------------------+--------------------------------------+------------+--------------+----------------+----------------+----------------+----------------------------
 del?  |           node           |             ring address             |    size    |   checksum   |  has children  |  total chunks  |     clock      |             when
-------+--------------------------+--------------------------------------+------------+--------------+----------------+----------------+----------------+----------------------------
       | storage_3@127.0.0.1      |                                      |            |              |                |                |                |
       | storage_2@127.0.0.1      |                                      |            |              |                |                |                |
@yosukehara
Copy link
Member

I've recognized that there is another issue has children = false although total chunks is not zero.

mocchira added a commit to mocchira/leofs that referenced this issue Mar 28, 2018
@yosukehara yosukehara changed the title [leo_manager] whereis doesn't work for an object having a grandparent [leo_manager] whereis doesn't work for an object having a grandchildren Mar 28, 2018
@yosukehara yosukehara changed the title [leo_manager] whereis doesn't work for an object having a grandchildren [leo_manager] whereis doesn't work for an object having grandchildren Mar 28, 2018
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

2 participants