Bug 1500100 - [RHCS 2.y] Change default filestore 'omap' backend to 'rocksdb' from 'leveldb'
Summary: [RHCS 2.y] Change default filestore 'omap' backend to 'rocksdb' from 'leveldb'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RADOS
Version: 2.3
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: 2.5
Assignee: Josh Durgin
QA Contact: Parikshith
Aron Gunn
URL:
Whiteboard:
Depends On:
Blocks: 1536401
TreeView+ depends on / blocked
 
Reported: 2017-10-09 21:14 UTC by Vikhyat Umrao
Modified: 2021-06-10 13:13 UTC (History)
13 users (show)

Fixed In Version: RHEL: ceph-10.2.10-10.el7cp Ubuntu: ceph_10.2.10-7redhat1xenial
Doc Type: Enhancement
Doc Text:
.`RocksDB` is enabled as an option to replace `levelDB` This update enables an option to use the `RocksDB` back end for the `omap` database as opposed to `levelDB`. `RocksDB` uses the multi-threading mechanism in compaction so that it better handles the situation when the `omap` directories become very large (more than 40 G). `LevelDB` compaction takes a lot of time in such a situation and causes OSD daemons to time out. For details about conversion from `levelDB` to `RocksDB`, see the link:https://access.redhat.com/solutions/3210951[Ceph - Steps to convert OSD omap backend from leveldb to rocksdb] solution on Red Hat Customer Portal.
Clone Of: 1462011
Environment:
Last Closed: 2018-02-21 19:44:55 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 20324 0 None None None 2017-10-09 21:14:09 UTC
Red Hat Knowledge Base (Solution) 3210951 0 None None None 2017-10-09 22:16:24 UTC
Red Hat Product Errata RHBA-2018:0340 0 normal SHIPPED_LIVE Red Hat Ceph Storage 2.5 bug fix and enhancement update 2018-02-22 00:50:32 UTC

Comment 8 Ken Dreyer (Red Hat) 2018-01-02 20:42:08 UTC
Josh, ceph-2-rhel-patches branch's src/common/config_opts.h still has OPTION(filestore_omap_backend, OPT_STR, "leveldb").

https://github.com/ceph/ceph/pull/18010/commits has "osd: switch filestore to default to rocksdb", is that all we need for this BZ or is there more?

Comment 9 Josh Durgin 2018-01-04 03:49:14 UTC
(In reply to Ken Dreyer (Red Hat) from comment #8)
> Josh, ceph-2-rhel-patches branch's src/common/config_opts.h still has
> OPTION(filestore_omap_backend, OPT_STR, "leveldb").
> 
> https://github.com/ceph/ceph/pull/18010/commits has "osd: switch filestore
> to default to rocksdb", is that all we need for this BZ or is there more?

That's all that's needed.

Comment 10 Ken Dreyer (Red Hat) 2018-01-09 22:55:29 UTC
Would you please cherry-pick this to ceph-2-rhel-patches with Resolves: rhbz#1500100, in that case?

Comment 11 Josh Durgin 2018-01-11 02:33:50 UTC
pushed to ceph-2-rhel-patches

Comment 24 errata-xmlrpc 2018-02-21 19:44:55 UTC
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-2018:0340


Note You need to log in before you can comment on or make changes to this bug.