ceph/0014-src-kv-LevelDBStore.cc.patch

34 lines
812 B
Diff
Raw Normal View History

*** ceph-16.2.5/src/kv/LevelDBStore.cc.orig 2021-08-03 10:24:53.176567077 -0400
--- ceph-16.2.5/src/kv/LevelDBStore.cc 2021-08-03 11:04:49.123548110 -0400
***************
*** 27,39 ****
using ceph::bufferlist;
using ceph::bufferptr;
class CephLevelDBLogger : public leveldb::Logger {
CephContext *cct;
public:
explicit CephLevelDBLogger(CephContext *c) : cct(c) {
cct->get();
}
! ~CephLevelDBLogger() override {
cct->put();
}
--- 27,41 ----
using ceph::bufferlist;
using ceph::bufferptr;
+ leveldb::Logger::~Logger() {}
+
class CephLevelDBLogger : public leveldb::Logger {
CephContext *cct;
public:
explicit CephLevelDBLogger(CephContext *c) : cct(c) {
cct->get();
}
! virtual ~CephLevelDBLogger() override {
cct->put();
}