[MCOL-4090] Columnstore plugin interferes with local server installation Created: 2020-06-20  Updated: 2020-07-13  Resolved: 2020-07-13

Status: Closed
Project: MariaDB ColumnStore
Component/s: installation
Affects Version/s: 1.5.2
Fix Version/s: 1.5.3

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Roman
Resolution: Fixed Votes: 1
Labels: None
Environment:

bb-10.5-release f6f522257



 Description   

cmake /data/src/10.x -DCMAKE_INSTALL_PREFIX=/data/bld/10.5.4 -DPLUGIN_TOKUDB=NO -DCMAKE_BUILD_TYPE=Debug && make -j12 && make install
...
-- Installing: /etc/columnstore/MessageFile.txt
CMake Error at storage/columnstore/columnstore/utils/loggingcpp/cmake_install.cmake:68 (file):
  file INSTALL cannot copy file
  "/data/src/10.x/storage/columnstore/columnstore/utils/loggingcpp/MessageFile.txt"
  to "/etc/columnstore/MessageFile.txt".
Call Stack (most recent call first):
  storage/columnstore/columnstore/utils/cmake_install.cmake:40 (include)
  storage/columnstore/columnstore/cmake_install.cmake:61 (include)
  storage/columnstore/cmake_install.cmake:41 (include)
  cmake_install.cmake:76 (include)

It's expected that as of now Columnstore cannot be installed locally; however, its existence in the sources shouldn't prevent the server installation.

Maybe Columnstore needs to be disabled by default and only enabled in package builds where it makes sense; or somehow else disabled/enabled conditionally.



 Comments   
Comment by Sergei Golubchik [ 2020-06-20 ]

a possible fix would be to add the keyword DISABLED to the MYSQL_ADD_PLUGIN for columnstore unless it's DEB or RPM:

 IF(NOT DEB AND NOT RPM)
  set (disabled DISABLED)
 ENDIF()
 MYSQL_ADD_PLUGIN(COLUMNSTORE .... ${disabled} ... )

Comment by Roman [ 2020-07-13 ]

Solved by serg suggestion.

Generated at Thu Feb 08 02:47:43 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.