[SERVER-30490] Compile RocksDB with USE_RTTI=1 Created: 02/Aug/17  Updated: 30/Oct/23  Resolved: 14/Aug/17

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 3.2.17, 3.4.9, 3.5.12

Type: Bug Priority: Major - P3
Reporter: Igor Canadi Assignee: Eric Milkie
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.4, v3.2
Sprint: Storage 2017-08-21
Participants:
Linked BF Score: 0

 Description   

As of https://github.com/facebook/rocksdb/commit/21696ba502d7b2191d6e9c984536f3cc1fc452dd MongoRocks compile is failing in evergreen because rocksdb::Iterator doesn't include runtime information, which MongoRocks depend on. To fix, we need to pass USE_RTTI=1 when compiling RocksDB.

I already updated readme in the MongoRocks repo: https://github.com/mongodb-partners/mongo-rocks/commit/3ffce604ac6399b4be0dcd90c47010d3b022dd93



 Comments   
Comment by Githook User [ 25/Aug/17 ]

Author:

{'email': 'milkie@10gen.com', 'name': 'Eric Milkie', 'username': 'milkie'}

Message: SERVER-30490 compile rocksdb with USE_RTTI=1
Branch: v3.2
https://github.com/mongodb/mongo/commit/0c3ec7beb771cecffda295f8aeea28577b1124a1

Comment by Githook User [ 25/Aug/17 ]

Author:

{'email': 'milkie@10gen.com', 'name': 'Eric Milkie', 'username': 'milkie'}

Message: SERVER-30490 compile rocksdb with USE_RTTI=1

(cherry picked from commit 0f64c416ba3a842ec55cb4f8988626b23aab9cd7)
Branch: v3.4
https://github.com/mongodb/mongo/commit/be73ffe19fd17a0731f815b1d54e67f2230d1908

Comment by Githook User [ 14/Aug/17 ]

Author:

{'name': 'Eric Milkie', 'username': 'milkie', 'email': 'milkie@10gen.com'}

Message: SERVER-30490 compile rocksdb with USE_RTTI=1
Branch: master
https://github.com/mongodb/mongo/commit/0f64c416ba3a842ec55cb4f8988626b23aab9cd7

Comment by Igor Canadi [ 11/Aug/17 ]

Unfortunately the change has to happen in Mongo repo, in evergreen.yml,
where RocksDB library is installed. Mongo-rocks only installs mongorocks
code and assumes rocksdb already exists on the system.

Comment by Ian Whalen (Inactive) [ 11/Aug/17 ]

igor looks like this is a change to https://github.com/mongodb-partners/mongo-rocks/blob/3ffce604ac6399b4be0dcd90c47010d3b022dd93/SConscript? Is this something you can open a pull request for?

Generated at Thu Feb 08 04:24:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.