[SERVER-31853] Failed: compile on Ubuntu 14.04 (RocksDB) [MongoDB (master) @ 253d4c55] Created: 07/Nov/17  Updated: 27/Oct/23  Resolved: 08/Nov/17

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Xgen-Evergreen-User Assignee: Backlog - Storage Execution Team
Resolution: Gone away Votes: 0
Labels: bot-analyzed
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Assigned Teams:
Storage Execution
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 0

 Description   

compile failed on Ubuntu 14.04 (RocksDB)

Project: MongoDB (master)
Commit: diff: SERVER-31674 Rename misleading functions and structs in cluster_aggregate.cpp

2017/10/26 14:44:07.898] 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':
[2017/10/26 14:44:07.898] src/mongo/db/modules/rocksdb/src/rocks_server_status.cpp:73:76: error: no matching function for call to 'mongo::Lock::GlobalLock::GlobalLock(mongo::Locker*, mongo::LockMode, unsigned int)'
[2017/10/26 14:44:07.898]          Lock::GlobalLock lk(opCtx->lockState(), LockMode::MODE_IS, UINT_MAX);
[2017/10/26 14:44:07.898]                                                                             ^
[2017/10/26 14:44:07.898] In file included from src/mongo/db/modules/rocksdb/src/rocks_server_status.cpp:41:0:
[2017/10/26 14:44:07.898] src/mongo/db/concurrency/d_concurrency.h:195:9: note: candidate: mongo::Lock::GlobalLock::GlobalLock(mongo::OperationContext*, mongo::LockMode, unsigned int, mongo::Lock::GlobalLock::EnqueueOnly)
[2017/10/26 14:44:07.898]          GlobalLock(OperationContext* opCtx,
[2017/10/26 14:44:07.898]          ^
[2017/10/26 14:44:07.898] src/mongo/db/concurrency/d_concurrency.h:195:9: note:   candidate expects 4 arguments, 3 provided
[2017/10/26 14:44:07.898] src/mongo/db/concurrency/d_concurrency.h:186:9: note: candidate: mongo::Lock::GlobalLock::GlobalLock(mongo::Lock::GlobalLock&&)
[2017/10/26 14:44:07.898]          GlobalLock(GlobalLock&&);
[2017/10/26 14:44:07.898]          ^
[2017/10/26 14:44:07.898] src/mongo/db/concurrency/d_concurrency.h:186:9: note:   candidate expects 1 argument, 3 provided
[2017/10/26 14:44:07.898] src/mongo/db/concurrency/d_concurrency.h:185:9: note: candidate: mongo::Lock::GlobalLock::GlobalLock(mongo::OperationContext*, mongo::LockMode, unsigned int)
[2017/10/26 14:44:07.898]          GlobalLock(OperationContext* opCtx, LockMode lockMode, unsigned timeoutMs);
[2017/10/26 14:44:07.898]          ^
[2017/10/26 14:44:07.898] src/mongo/db/concurrency/d_concurrency.h:185:9: note:   no known conversion for argument 1 from 'mongo::Locker*' to 'mongo::OperationContext*'

If this failure has an identifiable signature but the extracted symptom is missing, wrong, incomplete, or too verbose, please email the ticket number(s) to serverteam-tig@10gen.com or leave a message in the #server-tig Slack channel.



 Comments   
Comment by Ian Whalen (Inactive) [ 08/Nov/17 ]

Fixed with change in external repo: https://github.com/mongodb-partners/mongo-rocks/commit/90a473cea2af1559b577c2f12f3302c92326eaac

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