Description of problem: When using a large value for cache size, 4GB for example, since rocksdb_cache _size is an OPT_INT we are not large enough for this value and we overflow. I can verify that the rocksdb cache size is an OPT_INT in wip-rocksdb-patches-final. In the RocksDBStore code we pass that value directly into rocksdb: auto cache = rocksdb::NewLRUCache(g_conf->rocksdb_cache_size); Request is to use OPT_U64 to increase range and support the 4GB cache size. Version-Release number of selected component (if applicable): RHCS 2.4
In master: https://github.com/ceph/ceph/pull/13995 and luminous it is already present needs backport to the jewel release. git tag --contains 2cd567b112037cc943d6d640be11afc7aa2208f9 v12.0.2 v12.0.3 v12.1.0 v12.1.1 v12.1.2 v12.1.3 v12.1.4 v12.2.0 v12.2.1 v13.0.0
upstream jewel backport for rocksdb_cache_size - https://github.com/ceph/ceph/pull/18850 This also needs to be merged into upstream jewel - https://github.com/ceph/ceph/pull/18010
Josh, it looks like we need https://github.com/ceph/ceph/pull/18850 cherry-picked to ceph-2-rhel-patches to ship this for RHCEPH 2.5.
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