mongodb-partners/mongo-rocks

rocksdb failing compile for ~1 month

Closed this issue · 2 comments


[2018/02/28 10:36:06.994] src/mongo/db/modules/rocksdb/src/rocks_server_status.cpp: In member function 'virtual mongo::BSONObj mongo::RocksServerStatusSection::generateSection(mongo::OperationContext*, const mongo::BSONElement&) const':
--
[2018/02/28 10:36:06.994] src/mongo/db/modules/rocksdb/src/rocks_server_status.cpp:73:74: error: no matching function for call to 'mongo::Lock::GlobalLock::GlobalLock(mongo::OperationContext*&, mongo::LockMode, mongo::Duration<std::ratio<1l, 1000l> >)'
[2018/02/28 10:36:06.994]          Lock::GlobalLock lk(opCtx, LockMode::MODE_IS, Milliseconds::max());
[2018/02/28 10:36:06.994]                                                                           ^
[2018/02/28 10:36:06.994] In file included from src/mongo/db/modules/rocksdb/src/rocks_server_status.cpp:41:0:
[2018/02/28 10:36:06.994] src/mongo/db/concurrency/d_concurrency.h:193:9: note: candidate: mongo::Lock::GlobalLock::GlobalLock(mongo::OperationContext*, mongo::LockMode, mongo::Date_t, mongo::Lock::GlobalLock::EnqueueOnly)
[2018/02/28 10:36:06.994]          GlobalLock(OperationContext* opCtx,
[2018/02/28 10:36:06.994]          ^
[2018/02/28 10:36:06.994] src/mongo/db/concurrency/d_concurrency.h:193:9: note:   candidate expects 4 arguments, 3 provided
[2018/02/28 10:36:06.994] src/mongo/db/concurrency/d_concurrency.h:184:9: note: candidate: mongo::Lock::GlobalLock::GlobalLock(mongo::Lock::GlobalLock&&)
[2018/02/28 10:36:06.994]          GlobalLock(GlobalLock&&);
[2018/02/28 10:36:06.994]          ^
[2018/02/28 10:36:06.994] src/mongo/db/concurrency/d_concurrency.h:184:9: note:   candidate expects 1 argument, 3 provided
[2018/02/28 10:36:06.994] src/mongo/db/concurrency/d_concurrency.h:183:9: note: candidate: mongo::Lock::GlobalLock::GlobalLock(mongo::OperationContext*, mongo::LockMode, mongo::Date_t)
[2018/02/28 10:36:06.994]          GlobalLock(OperationContext* opCtx, LockMode lockMode, Date_t deadline);
[2018/02/28 10:36:06.994]          ^

Thanks @IanWhalen , I fixed the compile in c6664e7, but there have been many semantic changes to the storage engine API that are not properly supported in MongoRocks unfortunately. Tests will continue failing.