diff options
author | Matthew Oliver <matt@oliver.net.au> | 2018-02-06 06:19:25 +0000 |
---|---|---|
committer | Pete Zaitcev <zaitcev@kotori.zaitcev.us> | 2021-08-20 00:03:40 +0000 |
commit | 7a105b5ef01e990d52ef2111b23707904cd41867 (patch) | |
tree | 9dd5829caddc01e0dea1316ef9f01b2fcf855400 /doc | |
parent | a8f15128639f7e62a3e8d51c607b45c496206191 (diff) | |
download | swift-7a105b5ef01e990d52ef2111b23707904cd41867.tar.gz |
Add and pipe reconstructor stats through recon
This patch plumbs the object-reconstructor stats that are dropped
into recon cache out through the middleware and swift-recon tool.
This adds a '/recon/reconstruction/object' to the middleware. As such
the swift-recon tool has grown a '-R' or '--reconstruction' option
access this data from each node.
Plus some tests and documentation updates.
Change-Id: I98582732ca5ccb2e7d2369b53abf9aa8c0ede00c
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manpages/swift-recon.1 | 2 | ||||
-rw-r--r-- | doc/source/admin_guide.rst | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/doc/manpages/swift-recon.1 b/doc/manpages/swift-recon.1 index c5a30b6d4..dc5a19d00 100644 --- a/doc/manpages/swift-recon.1 +++ b/doc/manpages/swift-recon.1 @@ -58,6 +58,8 @@ Get updater stats Get expirer stats .IP "\fB-r, --replication\fR" Get replication stats +.IP "\fB-R, --reconstruction\fR" +Get reconstruction stats .IP "\fB-u, --unmounted\fR" Check cluster for unmounted devices .IP "\fB-d, --diskusage\fR" diff --git a/doc/source/admin_guide.rst b/doc/source/admin_guide.rst index d44f67138..c3f4a1078 100644 --- a/doc/source/admin_guide.rst +++ b/doc/source/admin_guide.rst @@ -764,7 +764,7 @@ This information can also be queried via the swift-recon command line utility:: fhines@ubuntu:~$ swift-recon -h Usage: usage: swift-recon <server_type> [-v] [--suppress] [-a] [-r] [-u] [-d] - [-l] [-T] [--md5] [--auditor] [--updater] [--expirer] [--sockstat] + [-R] [-l] [-T] [--md5] [--auditor] [--updater] [--expirer] [--sockstat] <server_type> account|container|object Defaults to object server. @@ -778,6 +778,7 @@ This information can also be queried via the swift-recon command line utility:: --suppress Suppress most connection related errors -a, --async Get async stats -r, --replication Get replication stats + -R, --reconstruction Get reconstruction stats --auditor Get auditor stats --updater Get updater stats --expirer Get expirer stats |