[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: |
|
||||||||||||||||
| 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. |