Uploaded image for project: 'Apache NiFi MiNiFi C++'
  1. Apache NiFi MiNiFi C++
  2. MINIFICPP-1190

RocksDB fails to build on Clang 10

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0
    • None

    Description

      Our self-built third-party, RocksDB, fails to build on clang. The upstream is already patched, but our version is older.

      The issue is that a const member function tries to lock a mutex that's not marked as mutable in a rocksdb class. It should never have compiled, but it did. Now it fails correctly.

      The supplied patch marks the mutex as mutable.

      Thanks to bakaid for assistance on how to apply third-party patches.

      Attachments

        Issue Links

          Activity

            People

              szaszm Marton Szasz
              szaszm Marton Szasz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m