Operational Defect Database

BugZero found this defect 2372 days ago.

MongoDB | 421524

[SERVER-30878] rocksdb (mongo-rocks) compilation failure

Last update date:

10/30/2023

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

3.5.13

Description:

Info

Fix the method signatures to accommodate API changes for timestamps. In file included from src/mongo/db/modules/rocksdb/src/rocks_record_store.h:42:0, from src/mongo/db/modules/rocksdb/src/rocks_record_store.cpp:34: src/mongo/db/storage/record_store.h:374:34: error: 'virtual mongo::StatusWith<mongo::RecordId> mongo::RecordStore::insertRecord(mongo::OperationContext*, const char*, int, mongo::Timestamp, bool)' was hidden [-Werror=overloaded-virtual] virtual StatusWith<RecordId> insertRecord(OperationContext* opCtx, ^ In file included from src/mongo/db/modules/rocksdb/src/rocks_record_store.cpp:34:0: src/mongo/db/modules/rocksdb/src/rocks_record_store.h:139:38: error: by 'virtual mongo::StatusWith<mongo::RecordId> mongo::RocksRecordStore::insertRecord(mongo::OperationContext*, const char*, int, bool)' [-Werror=overloaded-virtual] virtual StatusWith<RecordId> insertRecord( OperationContext* opCtx, ^ In file included from src/mongo/db/modules/rocksdb/src/rocks_record_store.h:42:0, from src/mongo/db/modules/rocksdb/src/rocks_record_store.cpp:34: src/mongo/db/storage/record_store.h:408:20: error: 'virtual mongo::Status mongo::RecordStore::insertRecordsWithDocWriter(mongo::OperationContext*, const mongo::DocWriter* const*, const mongo::Timestamp*, size_t, mongo::RecordId*)' was hidden [-Werror=overloaded-virtual] virtual Status insertRecordsWithDocWriter(OperationContext* opCtx, ^ In file included from src/mongo/db/modules/rocksdb/src/rocks_record_store.cpp:34:0: src/mongo/db/modules/rocksdb/src/rocks_record_store.h:144:24: error: by 'virtual mongo::Status mongo::RocksRecordStore::insertRecordsWithDocWriter(mongo::OperationContext*, const mongo::DocWriter* const*, size_t, mongo::RecordId*)' [-Werror=overloaded-virtual] virtual Status insertRecordsWithDocWriter(OperationContext* opCtx, ^

Top User Comments

daniel.gottlieb@10gen.com commented on Wed, 30 Aug 2017 13:30:50 +0000: https://github.com/mongodb-partners/mongo-rocks/commit/7f453075b53548697e33692b76ba2451f38e9630

Additional Resources / Links

Share:

BugZero Risk Score

Coming soon

Status

Closed

Have you been affected by this bug?

cost-cta-background

Do you know how much operational outages are costing you?

Understand the cost to your business and how BugZero can help you reduce those costs.

Discussion

Login to read and write comments.

Have you ever...

had your data corrupted from a

VMware

bug?

Search:

...