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
doc: add ceph-kvstore-tool's man #17092
Conversation
doc/man/8/ceph-kvstore-tool.rst
Outdated
@@ -0,0 +1,79 @@ | |||
orphan: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be
:orphan:
doc/man/8/ceph-kvstore-tool.rst
Outdated
Print all crc that belong to the prefix. | ||
|
||
:command:`exists <prefix> [key]` | ||
Query whether prefix or key is exist. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"exist" is a verb, not an adj.
might want to put:
Check if there is any KV pair stored with the URL encoded prefix. If
key
is also specified, check for thekey
with theprefix
instead.
doc/man/8/ceph-kvstore-tool.rst
Outdated
Synopsis | ||
======== | ||
|
||
| **ceph-kvstore-tool** <leveldb|rocksdb|bluestore-kv> <store path> command [args...] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use
*command*
as it is a metavar.
doc/man/8/ceph-kvstore-tool.rst
Outdated
=========== | ||
|
||
:program:`ceph-kvstore-tool` is a kvstore manipulation tool. It allows users to manipule | ||
leveldb/rocksdb's data(likes OSD's omap) offline. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a space before '('.
s/likes/like/
doc/man/8/ceph-kvstore-tool.rst
Outdated
======== | ||
|
||
:program:`ceph-kvstore-tool` utility uses many commands for administration purpose | ||
which are as follows: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/administration/debugging/
a932386
to
cdd0c59
Compare
make check succeeded |
@tchaikov thanks for your reviewing. updated |
jenkins test this please |
1 similar comment
jenkins test this please |
doc/man/8/ceph-kvstore-tool.rst
Outdated
|
||
:command:`store-copy <path> [num-keys-per-tx]` | ||
Copy all KV pairs to another directory specified by ``path``. | ||
[num-keys-per-tx] is the number of KV pairs coped for a transaction. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@liuchang0812 Looks copied
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you 👍
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
cdd0c59
to
0667db4
Compare
Signed-off-by: liuchang0812 liuchang0812@gmail.com