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

rocksdb (mongo-rocks) compilation failure

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.13
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Storage 2017-09-11

      Description

      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,
                              ^
      

        Attachments

          Activity

            People

            Assignee:
            daniel.gottlieb Daniel Gottlieb
            Reporter:
            daniel.gottlieb Daniel Gottlieb
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: