[MDEV-6361] innodb_compression_algorithm configuration variable can be set to unsupported value Created: 2014-06-18 Updated: 2023-02-10 Resolved: 2014-06-26 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.1.0 |
| Fix Version/s: | 10.0.15-FusionIO, 10.1.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Jan Lindström (Inactive) | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | fusion-io, innodb | ||
| Issue Links: |
|
||||||||
| Description |
|
We should check is LZ4 and/or LZO installed and if not do not allow to use respective values on configuration variable. Similarly innodb_compression_algorithm_basic.test should be fixed to work when LZ4 and/or LZO is not installed. |
| Comments |
| Comment by Sergei Golubchik [ 2014-06-18 ] | |
|
Few considerations:
| |
| Comment by Jan Lindström (Inactive) [ 2014-06-19 ] | |
|
Suggestion:
| |
| Comment by Sergei Golubchik [ 2014-06-20 ] | |
|
It doesn't solve the issues I've mentioned:
| |
| Comment by Jan Lindström (Inactive) [ 2014-06-23 ] | |
|
Is there a way to distinguish when we are running tests on buildbot and when running tests when not building a package ? Some external e.g. export BUILDBOT_BUILD_BINARIES=Y ? In my opinion, we should not build our binaries with lz4 or lzo, currently it is not clear if page compression is usefull on HDs. It is clear now that it is not that usefull if you have only one HD. Situation is not clear if you have RAID containing more than one HD. | |
| Comment by Sergei Golubchik [ 2014-06-23 ] | |
|
We can have "BUILDBOT_BUILD_BINARIES", it is possible. But above I suggested to check the version comment. Like in
This will match for packages that we build in buildbot. And this will match for someone, who has download our package and runs the test suite (which is correct, because our packages, even if downloaded, should have the same set of features). And this will not match in buildbot for builders that don't build packages (which is also correct, as they don't have to have the "release" configuration with all features). So, this is probably better than BUILDBOT_BUILD_BINARIES. But anyway, back to your second comment. As you're saying that we should not build with lz4 and lzo now, we don't need to run a separate set of tests in buildbot just now. So for now, current innodb_compression_algorithm_basic.test is good, it only checks for zlib and none values. And while the original bug stays — innodb_compression_algorithm configuration variable can still be set to unsupported value — all related issues (how to build release packages, extra dependencies, how to fix the test for buildbot), all these related issues seem to be solved | |
| Comment by Jan Lindström (Inactive) [ 2014-06-25 ] | |
|
commit 3bca01930aa5298cf6a8d602e66ddcea054edf50 | |
| Comment by Jan Lindström (Inactive) [ 2014-06-26 ] | |
|
10.0-FusionIO revno: 3988 |