Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-31853

Failed: compile on Ubuntu 14.04 (RocksDB) [MongoDB (master) @ 253d4c55]

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • Fully Compatible
    • ALL
    • 0

      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.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            xgen-evg-user Xgen-Evergreen-User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: