[MDEV-14524] TokuDB is unable to be built on Linux Created: 2017-11-29  Updated: 2017-12-14  Resolved: 2017-12-14

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - TokuDB
Affects Version/s: 10.1.30, 10.2.11
Fix Version/s: 10.1.30, 10.2.12, 10.3.3

Type: Bug Priority: Blocker
Reporter: Brian Evans Assignee: Oleksandr Byelkin
Resolution: Fixed Votes: 0
Labels: None
Environment:

Linux, OpenBSD, and everything that doesn't implement both F_NOCACHE and O_DIRECT at the same time.


Issue Links:
Relates
relates to MDEV-14537 TokuDB not recognized for compilation Closed
relates to MDEV-14532 apt upgrade fails on TokuDB Closed
relates to MDEV-14534 Tokudb stopped working after automati... Closed
Sprint: 10.1.30

 Description   

In the commit https://github.com/MariaDB/server/commit/685db2c112b9d5d59a78835d444e23cf754cda7f, CMakeLists.txt was changed such that F_NOCACHE is required as an early check for TokuDB.

F_NOCACHE does not exist on Linux which makes TokuDB inaccessible.

Please revert or update the storage/tokudb/CMakeLists.txt part of this commit



 Comments   
Comment by Daniel Black [ 2017-11-29 ]

also O_DIRECT doesn't exist in OpenBSD.

Comment by Sergei Golubchik [ 2017-11-29 ]

grknight, we're, of course, fixing it, but here's a workaround for you. You can still force tokudb with -DTOKUDB_OK=1, this doesn't require any changes in the sources.

Generated at Thu Feb 08 08:14:15 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.