You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Marton Szasz (Jira)" <ji...@apache.org> on 2020/04/09 14:29:00 UTC

[jira] [Created] (MINIFICPP-1190) RocksDB fails to build on Clang 10

Marton Szasz created MINIFICPP-1190:
---------------------------------------

             Summary: RocksDB fails to build on Clang 10
                 Key: MINIFICPP-1190
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1190
             Project: Apache NiFi MiNiFi C++
          Issue Type: Bug
            Reporter: Marton Szasz
            Assignee: Marton Szasz


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 correctly.

The supplied patch marks the mutex as mutable.

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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)