![](https://secure.gravatar.com/avatar/bfc1a224a82e549f7114fddc01c8aeb3.jpg?s=120&d=mm&r=g)
Hello, Since we have a rocksdb package ready in Fedora, I tried to unbundle it, using the system package instead. I wasn't successful though. I haven't found any CMake argument which seemed related and from the build log it seems, the code tries to link against the static libraries in any case. Before I'll start to dig further, I'm stopping by on this list, making sure it is possible. - is it currently supported? - have I overlooked any related CMake argument? Links: MariaDB in Fedora: https://src.fedoraproject.org/rpms/mariadb/tree/master -- Michal Schorm Associate Software Engineer Core Services - Databases Team Red Hat
![](https://secure.gravatar.com/avatar/c7422c379fec4aa4d99a8a137bf10594.jpg?s=120&d=mm&r=g)
Hi Michal, On Wed, Jun 06, 2018 at 11:21:34AM +0200, Michal Schorm wrote:
Since we have a rocksdb package ready in Fedora, I tried to unbundle it, using the system package instead.
I wasn't successful though. I haven't found any CMake argument which seemed related and from the build log it seems, the code tries to link against the static libraries in any case.
Before I'll start to dig further, I'm stopping by on this list, making sure it is possible. - is it currently supported? - have I overlooked any related CMake argument?
It is not currently supported. MariaDB gets MyRocks (and RocksDB) from the upstream: https://github.com/facebook/mysql-5.6/. Both upstream and MariaDB have RocksDB as a submodule and so are tied to a particular revision of RocksDB. Using a different revision of RocksDB will typically work, but - it is not a tested combination - it will not necessarily work, especially if you use an older version of RocksDB than the one that MyRocks used. RocksDB development continues, so there may be implicit dependencies that MyRocks at revision X requires RocksDB to be at least at revision Y. BR Sergei -- Sergei Petrunia, Software Developer MariaDB Corporation | Skype: sergefp | Blog: http://s.petrunia.net/blog
![](https://secure.gravatar.com/avatar/8ca9f04433bd78f9de5100d8f4d5ad06.jpg?s=120&d=mm&r=g)
Hi Michal,
Just so you know, we've been discussing the possibility of adding
compression services to the server, which would allow removing some static
libraries from the code. This however is probably a bit far on the horizon
as we haven't particularly scheduled it for 10.4 (yet).
Vicentiu
On Sat, 9 Jun 2018 at 17:49 Sergey Petrunia
Hi Michal,
On Wed, Jun 06, 2018 at 11:21:34AM +0200, Michal Schorm wrote:
Since we have a rocksdb package ready in Fedora, I tried to unbundle it, using the system package instead.
I wasn't successful though. I haven't found any CMake argument which seemed related and from the build log it seems, the code tries to link against the static libraries in any case.
Before I'll start to dig further, I'm stopping by on this list, making sure it is possible. - is it currently supported? - have I overlooked any related CMake argument?
It is not currently supported.
MariaDB gets MyRocks (and RocksDB) from the upstream: https://github.com/facebook/mysql-5.6/. Both upstream and MariaDB have RocksDB as a submodule and so are tied to a particular revision of RocksDB.
Using a different revision of RocksDB will typically work, but - it is not a tested combination - it will not necessarily work, especially if you use an older version of RocksDB than the one that MyRocks used. RocksDB development continues, so there may be implicit dependencies that MyRocks at revision X requires RocksDB to be at least at revision Y.
BR Sergei -- Sergei Petrunia, Software Developer MariaDB Corporation | Skype: sergefp | Blog: http://s.petrunia.net/blog
_______________________________________________ Mailing list: https://launchpad.net/~maria-developers Post to : maria-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-developers More help : https://help.launchpad.net/ListHelp
![](https://secure.gravatar.com/avatar/c7422c379fec4aa4d99a8a137bf10594.jpg?s=120&d=mm&r=g)
On Sat, Jun 09, 2018 at 05:49:15PM +0300, Sergey Petrunia wrote:
Hi Michal,
On Wed, Jun 06, 2018 at 11:21:34AM +0200, Michal Schorm wrote:
Since we have a rocksdb package ready in Fedora, I tried to unbundle it, using the system package instead.
I wasn't successful though. I haven't found any CMake argument which seemed related and from the build log it seems, the code tries to link against the static libraries in any case.
Before I'll start to dig further, I'm stopping by on this list, making sure it is possible. - is it currently supported? - have I overlooked any related CMake argument?
It is not currently supported.
MariaDB gets MyRocks (and RocksDB) from the upstream: https://github.com/facebook/mysql-5.6/. Both upstream and MariaDB have RocksDB as a submodule and so are tied to a particular revision of RocksDB.
Using a different revision of RocksDB will typically work, but - it is not a tested combination - it will not necessarily work, especially if you use an older version of RocksDB than the one that MyRocks used. RocksDB development continues, so there may be implicit dependencies that MyRocks at revision X requires RocksDB to be at least at revision Y.
Also discussed this with the MyRocks upstream. Take-aways: - A confirmation that unbundling is not a good idea. - Sometimes, RocksDB features get deprecated/removed. So, there may also exist implicit dependencies in form "MyRocks at revision X requires that RocksDB it is using is *at most* revision Y". BR Sergei -- Sergei Petrunia, Software Developer MariaDB Corporation | Skype: sergefp | Blog: http://s.petrunia.net/blog
participants (3)
-
Michal Schorm
-
Sergey Petrunia
-
Vicențiu Ciorbaru