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]Improve whereis command #249

Closed
mocchira opened this issue Oct 3, 2014 · 1 comment
Closed

[leo_manager]Improve whereis command #249

mocchira opened this issue Oct 3, 2014 · 1 comment
Assignees
Milestone

Comments

@mocchira
Copy link
Member

mocchira commented Oct 3, 2014

  • Able to handle a path which contains spaces
  • Able to handle a chunk file path which is a part of a large object
[kanno@leofs11 leofs.1.1.3]$ ./leofs-adm whereis "bbb/1/2/3/test hoge.dat"
-------+--------------------------+--------------------------------------+------------+--------------+----------------+----------------+----------------------------
 del?  |           node           |             ring address             |    size    |   checksum   |  # of chunks   |     clock      |             when            
-------+--------------------------+--------------------------------------+------------+--------------+----------------+----------------+----------------------------
       | storage_0@127.0.0.1      | 7652b4c3277e66b90a2339a707be8ec9     |     10000K |   a34ebaf4d2 |              2 | 5047b155a77f6  | 2014-10-03 10:59:29 +0900

[kanno@leofs11 leofs.1.1.3]$ ./leofs-adm whereis "bbb/1/2/3/test hoge.dat\n1"
-------+--------------------------+--------------------------------------+------------+--------------+----------------+----------------+----------------------------
 del?  |           node           |             ring address             |    size    |   checksum   |  # of chunks   |     clock      |             when            
-------+--------------------------+--------------------------------------+------------+--------------+----------------+----------------+----------------------------
       | storage_0@127.0.0.1      | f7194300df04a68c7b597ccd6c8bf97d     |      5120K |   6c8fb50173 |              0 | 5047b15586bea  | 2014-10-03 10:59:29 +0900


[kanno@leofs11 leofs.1.1.3]$ ./leofs-adm whereis "bbb/1/2/3/test hoge.dat\n2"
-------+--------------------------+--------------------------------------+------------+--------------+----------------+----------------+----------------------------
 del?  |           node           |             ring address             |    size    |   checksum   |  # of chunks   |     clock      |             when            
-------+--------------------------+--------------------------------------+------------+--------------+----------------+----------------+----------------------------
       | storage_0@127.0.0.1      | 1646c56ce01279d2254ced688593c99a     |      4880K |   7dd6fdefd6 |              0 | 5047b1559c009  | 2014-10-03 10:59:29 +0900
@mocchira mocchira self-assigned this Oct 3, 2014
@mocchira mocchira added this to the 1.1.4 milestone Oct 3, 2014
@mocchira
Copy link
Member Author

mocchira commented Oct 3, 2014

Two commits
leo-project/leo_manager@c322c83
leo-project/leo_manager@4c59537
fixed this issue.

@mocchira mocchira closed this as completed Oct 3, 2014
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