1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-07 03:22:57 +03:00
Commit Graph

635 Commits

Author SHA1 Message Date
Andrew Hutchings
de4ab3e294 MCOL-3702 Fix replication config file changes
log_bin is missing from columnstore.cnf. This causes a search for the
master log file to fail and replication doesn't apply.

This patch adds a commented out log_bin which is enabled as needed.

It also fixes an error message.
2020-01-03 10:08:52 +00:00
Patrick LeBlanc
347c3d2261 MCOL-3702: postConfig replication error
Todd & Andrew ID'd the problem as being that the libjemalloc.so ->
(real lib) link doesn't always exist for whatever reason.  I hacked our
run script to try the 3 possibilities mentioned in the ticket in this order
1) libjemalloc.so
2) libjemalloc.so.1
3) libjemalloc.so.2

Failing that, it will fall back to an empty LD_PRELOAD, so libc
would be used for the allocator.

Fixes the immediate problem.  The lib_bin and server_id vars mentioned
in the ticket are untouched by this commit.
2020-01-02 19:29:49 -05:00
Andrew Hutchings
63af0e8034 MCOL-3630 Remove "columnstore start" instruction
Don't tell the user to do this as ColumnStore already does it.
2019-12-05 16:50:02 +00:00
Andrew Hutchings
7489d0bfd0 MCOL-3625 Rename packages
Rename packages to MariaDB-columnstore-engine, MariaDB-columnstore-libs
and MariaDB-columnstore-platform.

Also add the "columnstore-" prefix the the components so that MariaDB's
packaging system understands then and add a line to include them in
MariaDB's packaging.

In addition
* Fix S3 building for dist source build
* Fix Debian 10 dependency issue
* Fix git handling for dist builds
* Add support for MariaDB's RPM building
* Use MariaDB's PCRE and readline
* Removes a few dead files
* Fix Boost noncopyable includes
2019-12-04 11:04:39 +00:00
Andrew Hutchings
efe829784d MCOL-3624 Move jemalloc to an LD_PRELOAD
Linking will become an issue for the unified build and it is an issue
for jemalloc 5.x. Instead we will LD_PRELOAD on the forked ColumnStore
specific processes.
2019-12-03 21:21:28 +00:00
Andrew Hutchings
b3c22c8f9a MCOL-3626 Remove mcsmysql alias 2019-12-03 21:21:28 +00:00
Andrew Hutchings
627f8345ad MCOL-3564 Don't double-execute ProcMon
It is possible for ProcMon can be left behind during a node shutdown.
This patch makes sure it is killed and makes sure it is killed before a new
one starts.
2019-11-22 20:19:56 +00:00
Andrew Hutchings
2275f4fd26 MCOL-3619 Fix multinode initial start on PM > 1
The new "columnstore stop" command doesn't work well if the cluster is
already down. Instead we need to use the older method to stop
ProcMon/ProcMgr on the node before starting it.
2019-11-19 15:14:16 +00:00
benthompson15
f291d88979 Merge pull request #940 from LinuxJedi/fix-rep-password
MCOL-3553 Use a rep password MENT will accept
2019-11-15 21:13:48 +01:00
Andrew Hutchings
ac093eacee Merge pull request #939 from LinuxJedi/fix-post-mysql
Fix post-mysql-install
2019-11-15 17:10:25 +00:00
Andrew Hutchings
d432a0ac7a MCOL-3553 Use a rep password MENT will accept
MariaDB Enterprise won't accept our canned replication passed. This
patch updates it to a stronger one it will accept.
2019-11-15 16:59:03 +00:00
Andrew Hutchings
45f3dd294f Fix post-mysql-install
It was executing based on a condition that will never be true
2019-11-15 15:30:04 +00:00
benthompson15
5ad303e52b MCOL-3589: Add mcsadmin stopmodule command and modify columnstore stop to use it. 2019-11-14 16:01:17 -06:00
Andrew Hutchings
25d22381c6 MCOL-3608 Add module installer file copy
Adds back some stuff that was remove distributed that didn't work
properly for non-distributed. Also use /var/lib/columnstore/local
for module file as OAM intended.
2019-11-14 14:40:28 +00:00
Andrew Hutchings
8ab9ebb0f4 MCOL-3606 Make ColumnStore use generic paths
ColumnStore now uses standard bin/lib paths for pretty much everything.
Data path is now hard-coded to /var/lib/columnstore.

This patch also:

* Removes v1 decompression
* Removes a bunch of unneeded files
* Removes COLUMNSTORE_INSTALL_DIR / $INSTALLDIR
* Makes my.cnf.d work for all platforms (MCOL-3558)
* Changes configcpp to use recursive mutex (fixes possible config write deadlock)
* Fixes MCOL-3599 Fix regr functions, The library was installed in the wrong location
* Fixes a bunch of Ubuntu packaging issues
* Changes the binary names of several of the executables so as not to
clash with potential executables from other packages
2019-11-09 16:53:05 +00:00
Andrew Hutchings
85f25278a2 Don't use calpontsys as default db before creation
We don't need to use calpontsys as the default DB for SHOW ENGINES, it
likely isn't created yet so don't do it.
2019-11-05 14:03:43 +00:00
Andrew Hutchings
ebb22a96a3 MCOL-3551 Use generic MariaDB Server paths
This branch enforces the use of generic MariaDB server paths for their
binaries and data rather than custom paths.

/usr/local/mariadb/columnstore is now only for columnstore with this
patch.

It should be noted that this removes the auto-mounting of external
MariaDB UM data storage for AWS.

This is also a fix for MCOL-3510 after buildbot changes are made.

Also... MCOL-3552 Use columnstore.cnf to load plugins

The ColumnStore plugins now load using a columnstore.cnf instead of a
SQL sequence to be more in-line with MariaDB's methods.
2019-10-13 09:34:37 +01:00
Gagan Goel
c8df46ed26 Replace ha_calpont with ha_mcs in the source code and filenames in the plugin code. 2019-10-11 17:33:43 +00:00
Andrew Hutchings
deac0471bb Merge pull request #887 from mariadb-corporation/MCOL-3498
MCOL-3498: only update bashrc if DataFileEnvFile is set.
2019-10-07 19:27:16 +01:00
benthompson15
4fc711da06 MCOL-3498: when datafileplugin is set only update bashrc if DataFileEnvFile is set. 2019-10-03 14:04:43 -05:00
Jose Rojas
9b99660f84 MCOL-3537 Reworded Post Installation Instruction in post-install script 2019-10-03 17:58:49 +00:00
Andrew Hutchings
97bda78c3b Move config files
This patch:

* Moves config files from /usr/local/mariadb/columnstore/etc to
ENGINE_SYSCONFDIR/columnstore (ENGINE_SYSCONFDIR is /etc by default)
* Sets a define called MCSSYSCONFDIR whic contains the
ENGINE_SYSCONFDIR compile time setting
* Modifies scripts and code to use the new paths
* Removes a whole bunch of files we don't use
2019-09-09 14:13:56 +01:00
Andrew Hutchings
74d68b4db3 Fix my.cnf clash
This patch:

* Moves ColumnStore my.cnf to /etc/my.cnf.d/columnstore.cnf
* Removes unneeded entries from columnstore.cnf
* Removes some things that used my.cnf and are now dead
* Also removes utils/scenarios
* Modifies things that use extra defaults file to use the standard one
* Makes sure that C++11 standard is used for older CMake versions

With this patch we no longer need to set -DINSTALL_SYSCONF2DIR and
-DINSTALL_SYSCONFDIR when building MariaDB server.
2019-09-04 18:51:02 +01:00
Andrew Hutchings
b4c02e41c7 MCOL-3432 Fix plugin install for non-root
MariaDB 10.4 only allows the system root user to log in as the root DB
user. This means the SQL commands to install the plugins won't run on a
non-root install. This patch skips the grant tables for plugin install
and does some workarounds to get the plugins in.
2019-08-15 17:33:31 +01:00
Andrew Hutchings
9d83b49fca MCOL-104 First pass of InfiniDB rename in code 2019-08-12 09:41:28 +01:00
benthompson15
6d53e18a30 Merge pull request #637 from mariadb-corporation/MCOL-1944
Mcol 1944
2018-11-23 16:58:46 +00:00
Andrew Hutchings
1834b64de8 Merge branch 'develop-1.1' into 1.1-merge-up-2018-11-23 2018-11-23 11:45:17 +00:00
David Hill
b422396371 MCOL-1944 - move cplogger to syslogSetup.sh 2018-11-21 11:43:05 -06:00
David Hill
bb23798e74 MCOL-1944 - move cplogger to syslogSetup.sh 2018-11-21 11:10:27 -06:00
David Hill
7c1853feab MCOL-1944 - move cplogger to syslogSetup.sh 2018-11-21 10:52:48 -06:00
David Hill
430f7c494c MCOL-1944 - move cplogger to syslogSetup.sh 2018-11-21 10:25:19 -06:00
David Hill
bb096737c3 MCOL-1944 - move cplogger from post-install to syslogSetup 2018-11-20 16:47:22 -06:00
David Hill
05ce8e24ef MCOL-1944 - do chmod on all directories 2018-11-20 15:13:20 -06:00
benthompson15
f6cf90fee7 Merge pull request #628 from mariadb-corporation/MCOL-1947
MCOL-1947 - change module and home alias
2018-11-20 19:52:17 +00:00
David Hill
4d70ccd679 MCOL-1944 - fix issues with logging after upgrade 2018-11-20 13:21:34 -06:00
David Hill
332d07328e MCOL-1944 2018-11-20 09:35:02 -06:00
David Hill
575fdf2284 MCOL-1944 2018-11-20 09:11:11 -06:00
David Hill
9bf8df6a6f MCOL-1947 - change module and home alias 2018-11-19 09:07:01 -06:00
David Hill
f8267a54b6 MCOL-1944 - correct the non-root user:group setup 2018-11-16 14:13:31 -06:00
Patrick LeBlanc
65779c7d83 MCOL-1844. Preserve user-added args in 'myCnf-include-args.text' across upgrades.
Conflicts:
	oamapps/postConfigure/mycnfUpgrade.cpp
2018-11-14 17:31:51 -06:00
Patrick LeBlanc
5fd94e1438 MCOL-1844. Preserve user-added args in 'myCnf-include-args.text' across upgrades. 2018-11-14 17:15:14 -06:00
David Hill
e508dd5629 tweaking post-install for buildbot 2018-11-07 13:23:06 -06:00
David Hill
04ab8c04df MCOL - change to get buildbot to work 2018-11-07 11:27:41 -06:00
David Hill
f49ad9a4a1 MCOL-520 - move mysql_upgrade 2018-11-06 18:42:44 -06:00
David Hill
a3e78d6b63 MCOL-520 - move mysql_upgrade 2018-11-06 17:41:11 -06:00
David Hill
b090339cab MCOL-520 - move mysql_upgrade 2018-11-06 16:58:33 -06:00
David Hill
16e956db02 MCOL-520 - move mysql_upgrade 2018-11-06 16:35:44 -06:00
David Hill
5d04584704 MCOL-520 - changes for mysql_upgrade requiring password 2018-11-06 15:35:47 -06:00
David Hill
5dd8bbd634 MCOL-520 - moved mysql_upgrade to post-mysql-install 2018-11-06 12:10:51 -06:00
David Hill
f46250112b MCOL-520 - change to exit on invalid command line argument 2018-11-06 08:59:18 -06:00