]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: add versioning status during `radosgw-admin bucket stats`
authorJ. Eric Ivancich <ivancich@redhat.com>
Wed, 16 Aug 2023 18:15:17 +0000 (14:15 -0400)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Fri, 25 Oct 2024 15:43:10 +0000 (22:43 +0700)
commit141a1242bbcf7df8ec6de181b4a3f9b40d0d21ca
treedd4211c6ea991ce16a4dd9779326e6c58ee6fd35
parent798fde7913d26447edbe9f9d995af283d2465a09
rgw: add versioning status during `radosgw-admin bucket stats`

We received an RFE to including versioning informatio during the
bucket stats op. So in the produced JSON, under "versioning", it will
specify "off", "enabled", or "suspended".

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit ea2d7ff92aa23cdd5b7ede41fc6e7ce54d8c0e3b)
src/rgw/driver/rados/rgw_bucket.cc