Project

General

Profile

Actions

Bug #59454

open

ceph 17 fails to compile with rocksDB v8.0.0 and latest rocksDB v7.10.2

Added by Duncan Bellamy about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Trying to compile ceph 17 with rocksDB 8 gives errors like

ceph-17.2.6/src/kv/RocksDBStore.h: In member function 'virtual int64_t RocksDBStore::get_cache_usage() const':
4594/builds/a16bitsysop/aports/community/ceph17/src/ceph-17.2.6/src/kv/RocksDBStore.h:487:53: error: invalid use of incomplete type 'using element_type = class rocksdb::Cache' {aka 'class rocksdb::Cache'}

RocksDB v7.10.2 gives errors like:

ceph-17.2.6/src/kv/rocksdb_cache/ShardedCache.h:91:16: error: 'virtual void rocksdb_cache::ShardedCache::ApplyToAllEntries(const std::function<void(const rocksdb::Slice&, void*, long unsigned int, void (*)(void*, rocksdb::MemoryAllocator*))>&, const rocksdb::Cache::ApplyToAllEntriesOptions&)' marked 'override', but does not override

I think they both include:
https://github.com/facebook/rocksdb/pull/10975

Which includes breaking changes to Cache class, and it becomes more of low-level interface for implementing caches, especially block cache.

No data to display

Actions

Also available in: Atom PDF