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

142 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
Andrew Hutchings
a8cd34f86d Add support for building from server 2019-12-03 21:21:28 +00:00
benthompson15
f3dae6bf0d MCOL-3577: Fix messaging for filesytem sync. 2019-11-21 18:50:05 -06:00
benthompson15
830490c846 MCOL-3577: Make this run syncFS for storagemanager on all nodes when suspend writes is done from mcsadmin. 2019-11-21 15:19:03 -06: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
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
benthompson15
2fff4cf065 Merge pull request #872 from mariadb-corporation/kill-distributed
MCOL-3515 Remove distributed install
2019-09-25 12:07:44 -05:00
Andrew Hutchings
4e92e75274 Fix merge conflict issue 2019-09-24 15:20:27 +01:00
Andrew Hutchings
70b3aa3159 Merge branch 'develop-1.2' into develop-merge-up-20190924-2 2019-09-24 14:17:57 +01:00
Andrew Hutchings
8c207bf412 MCOL-3515 Remove distributed install
Non-distributed is now the only install method.
2019-09-24 12:02:10 +01: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
Patrick LeBlanc
26a0768b88 Include the right header file... 2019-08-16 13:19:13 -05:00
Patrick LeBlanc
5f497a0517 Create dir to download BRM data to. 2019-08-16 13:11:37 -05:00
Patrick LeBlanc
7f4d060dc3 Removed some storage-manager specific stuff from a cherry-picked
commit.
2019-08-16 11:54:29 -05:00
Patrick LeBlanc
ac4902c22f Tentative fix for procmon d/ling DBRM files into data1. That screws things
up on shared filesystems, and storagemanager, which has sort-of a shared
filesystem view.
2019-08-16 11:41:53 -05:00
Patrick LeBlanc
fbdf1a5308 Merge branch 'develop' into S3-project 2019-08-14 15:37:14 -05:00
Roman Nozdrin
b1bc995420 Merge branch 'develop' into remove-infinidb 2019-08-13 12:32:01 +03:00
Andrew Hutchings
9d83b49fca MCOL-104 First pass of InfiniDB rename in code 2019-08-12 09:41:28 +01:00
Patrick LeBlanc
a09a9d5d0f Mass substitution 'Corporaton' -> 'Corporation' 2019-08-07 14:43:25 -05:00
Patrick LeBlanc
fa1ad8faca Made procmon touch the journal file using idb file ops. Not sure
why this is necessary for load_brm to work.
2019-07-22 17:04:41 -05:00
Patrick LeBlanc
094e5b554a Changed debugging outputs. 2019-07-22 16:25:31 -05:00
Patrick LeBlanc
d0a576483e Tentative fix for procmon d/ling DBRM files into data1. That screws things
up on shared filesystems, and storagemanager, which has sort-of a shared
filesystem view.
2019-07-19 09:54:54 -05:00
Patrick LeBlanc
43f7a71bad Disable force-killing of StorageManager. Data corruption is possible
ATM.
2019-07-17 13:07:08 -05:00
Patrick LeBlanc
4ec3cdc8b9 Fixed a bug where procmon would have a PID of 0 for StorageManager,
and would end up sending SIGTERM to everything.
2019-07-15 15:15:38 -05:00
Patrick LeBlanc
3f532eb059 Possible fix for OAM madness when SM is killed externally. 2019-07-15 09:48:25 -05:00
Patrick LeBlanc
eead61f238 Fixed the broken build, flipped the switch to put BRM files in SM. 2019-06-13 09:26:10 -05:00
Patrick LeBlanc
a79b3131b5 A little modding to get oam to play nice with storagemanager wrt
BRM files.
2019-06-13 08:18:21 -05:00
Patrick LeBlanc
42b6776598 Changed how procmon kills StorageManager to allow it to shutdown
gracefully.
2019-06-12 13:32:24 -05:00
Patrick LeBlanc
753139a933 Checked for references to DBRootStorageType, made a couple changes
I suspect are necessary to make failover work.
2019-06-12 13:07:22 -05:00
Patrick LeBlanc
366cd406ba Cleaned up the diff vs S3-project. 2019-06-12 10:00:11 -05:00
Patrick LeBlanc
4ae09352d2 Got postConfigure to set up storagemanager correctly and disabled
the disk-check stuff for SM clusters.
2019-06-12 09:37:45 -05:00
Patrick LeBlanc
d454f84b82 Cleaned up the hacks made so far. 2019-06-10 09:41:03 -05:00
Patrick LeBlanc
15c256b011 Checkpointing some stuff. Doesn't work yet. 2019-06-06 15:47:15 -05:00
Patrick LeBlanc
98c9cd7b22 Checkpointing some experimental changes to get storagemanager running. 2019-06-06 08:36:40 -05:00
Roman Nozdrin
9dc33c4e82 Another try to cope with warnings under gcc 8.2. 2019-04-29 11:05:03 +03:00
Patrick LeBlanc
5559674208 MCOL-1558. Got it working.
Fixed a couple off-by-one type errors constructing the new paths.
2018-11-15 16:50:45 -06:00
Patrick LeBlanc
69046633d2 MCOL-1558. The load side needs to handle abs paths. 2018-11-15 15:49:12 -06:00
Patrick LeBlanc
86c64d6dc0 MCOL-1558. This likely covers it. First cut. 2018-11-15 15:33:50 -06:00
David Hill
deba5d2a10 MCOL-520 - check storage type before unmount 2018-11-07 09:29:55 -06:00
David Hill
5d04584704 MCOL-520 - changes for mysql_upgrade requiring password 2018-11-06 15:35:47 -06:00
David Hill
cf6820d342 MCOL-520 - added in mysql_upgrade script and fix issue with shared memory not cleared at shutdown 2018-11-03 17:06:36 -05:00
David Hill
988c573166 MCOL-520 - add in the mariadb upgrade code 2018-11-02 15:13:58 -05:00
David Hill
23e5602496 MCOL-520 - add in the mariadb upgrade code 2018-11-02 14:22:44 -05:00
David Hill
1699f05ce6 MCOL-520 - add in the mariadb upgrade code 2018-11-02 14:22:16 -05:00
David Hill
3e17f0ce5b MCOL-520 - add in the mariadb upgrade code 2018-11-02 10:52:11 -05:00
David Hill
efc69d86f4 MCOL-520 - sudo for mount amazon 2018-11-01 09:41:10 -05:00
David Hill
84c62d4fd1 MCOL-520 - sudo for mount amazon 2018-11-01 08:59:02 -05:00
David Hill
3e4b869a25 MCOL-520 - sudo testing amazon 2018-10-30 16:25:11 -05:00
David Hill
32d9b20cf3 MCOL-520 - sudo testing amazon 2018-10-30 15:27:39 -05:00