Description of problem: [RFE] online osd 'omap'(leveldb) compaction command Version-Release number of selected component (if applicable): Red Hat Ceph Storage 2.2
Upstream RFE tracker: http://tracker.ceph.com/issues/19592
https://github.com/ceph/ceph/pull/16045 Merged upstream
[root@magna085 ~]# ceph -v ceph version 12.2.1-23.el7cp (be330b70537e4ef13d8bbf289245640faf2093c7) luminous (stable) [root@magna085 ~]# [root@magna085 ~]# ceph tell osd.1 compact compacted omap in 0.498987 seconds tail -f /var/log/ceph/ceph-osd.1.log 2017-10-24 15:43:42.718076 7f9f08198700 1 osd.1 84 triggering manual compaction [root@magna090 ~]# ceph -v ceph version 12.2.1-23.el7cp (be330b70537e4ef13d8bbf289245640faf2093c7) luminous (stable) [root@magna090 ~]# [root@magna090 ~]# ceph daemon osd.4 compact { "elapsed_time": 0.460988 } [root@magna090 ~]# [root@magna090 ~]# tail -f /var/log/ceph/ceph-osd.4.log 2017-10-24 15:46:13.727020 7fbb38a3e700 1 osd.4 84 triggering manual compaction Both the OSD omap compaction commands are working fine. Moving it Verified.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:3387