1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2026-10-23 21:49:05 +03:00
Commit Graph

3884 Commits

Author SHA1 Message Date
Patrick LeBlanc
3a11ffbfe4 Checkpointing an extremely minor optimization to assist branch prediction. 2020-01-31 16:07:21 -05:00
Patrick LeBlanc
65802377bc Commented debugging things for benchmarking. 2020-01-31 16:07:21 -05:00
Patrick LeBlanc
ad0308316f Checkpointing some things. 2020-01-31 16:07:21 -05:00
Patrick LeBlanc
6178f7b431 Checkpointing to xfer.
Added some debugging printouts.
2020-01-31 16:07:21 -05:00
Patrick LeBlanc
0f400081ca First impl of unix socket for localhost connections. 2020-01-31 16:07:21 -05:00
benthompson15
d7679e8791 Merge pull request #1007 from LinuxJedi/MCOL-3707
MCOL-3707 Packaging pre/post functions
2020-01-28 12:32:05 -06:00
Andrew Hutchings
70f5c12279 Merge pull request #1010 from tntnatbry/MCOL-3680
MCOL-3680 mysqld will abort if Columnstore.xml is missing.
2020-01-28 15:26:05 +00:00
Andrew Hutchings
4fef77ade2 Merge pull request #1014 from tntnatbry/MCOL-3675
MCOL-3675 and MCOL-3676 Detect in postConfigure if columnstore-post-install is run or not
2020-01-28 15:24:27 +00:00
Andrew Hutchings
e75891477e Merge pull request #1011 from pleblanc1976/minor-fixes
Minor fixes
2020-01-27 12:56:04 +00:00
Patrick LeBlanc
092994d00d Merge pull request #1006 from LinuxJedi/change-engine
MCOL-128 Support ALTER TABLE...ENGINE=Columnstore
2020-01-24 09:26:13 -06:00
Gagan Goel
bbd5a13d4a MCOL-3675 and MCOL-3676 Detect in postConfigure if columnstore-post-install is run or not 2020-01-23 18:58:10 -05:00
Andrew Hutchings
4b86890cf7 MCOL-128 Support ALTER TABLE...ENGINE=Columnstore
Also implements:

* ALTER TABLE from Columnstore to another engine
* MCOL-3349 CREATE TABLE ... AS SELECT.
2020-01-23 21:12:33 +00:00
Patrick LeBlanc
dc94725dd5 Fixed a problem with the early-exit code in postConfig, where it would
turn replication on in the config file but not specify whether it was
the master or slave.  Made the early-exit code turn rep off.
2020-01-23 12:48:51 -05:00
Patrick LeBlanc
5b794c862c Fixed a compiler warning that broke debugging builds. 2020-01-23 12:47:56 -05:00
Gagan Goel
d0ffede135 MCOL-3680 mysqld will abort if Columnstore.xml is missing
Add try-catch blocks in the plugin code to prevent mysqld
from aborting if configcpp cannot access Columnstore.xml.
2020-01-23 17:41:02 +00:00
David.Hall
d62600c647 Merge pull request #1009 from pleblanc1976/develop-1.4
Merging into develop-1.4 multiple PRs that originally went into develop.
2020-01-22 14:00:36 -06:00
Roman Nozdrin
c6aaa3f227 This commit fixes MDB crash that happens when table lock timeout fires
with multiply DML run in separate transactions.

This commit also fixes GCC unused variable warning.
2020-01-21 16:48:15 -05:00
Jose Rojas
3a3905b26a Merge pull request #1001 from pleblanc1976/join-abort-fix
MCOL-3713:  Join abort fix
2020-01-21 16:47:25 -05:00
Patrick LeBlanc
b6dfdd6e99 Merge pull request #1000 from drrtuy/MCOL-1734_2
MCOL-1734 CS now behaves similar to MDB in case of NOT IN + correlated subquery if the subquery returns empty set.
2020-01-21 16:45:24 -05:00
Andrew Hutchings
474589e516 MCOL-3707 Packaging pre/post functions
Adds support for:
* columnstore-post-install on RPM install
* MCOL-3708 mcsadmin shutdown on uninstall

There is a counterpart for the server tree to propagate the RPM settings
up and add Debian packaging support.
2020-01-21 11:34:01 -08:00
Andrew Hutchings
011cc70e17 Merge pull request #1004 from pleblanc1976/runtime-disable-oam
Runtime disable oam
2020-01-17 10:31:05 -08:00
Patrick LeBlanc
83676a1193 Removed the commented SKIP_OAM_INIT lines from cmake files. 2020-01-17 13:29:14 -05:00
Patrick LeBlanc
65f6701b99 Moved the early-exit code in postConfig s.t. it will still run the
mysql setup steps.
2020-01-16 10:33:30 -05:00
Patrick LeBlanc
2691dbf790 postConfig goes down a different path "sometimes", added a SKIP_OAM_INIT
check to another path to prevent steps that are redundant with our
init scripts.
2020-01-15 16:52:18 -05:00
Patrick LeBlanc
d01df95144 Made the SKIP_OAM_INIT checks happen at run time vs build time. 2020-01-15 16:31:07 -05:00
Andrew Hutchings
39de72d8f8 Merge pull request #994 from pleblanc1976/pool-alloc-fix
Noticed a potential deadlock problem in poolallocator.
2020-01-09 16:40:55 +00:00
Jose Rojas
8e6fde3b71 Merge pull request #999 from pleblanc1976/random-bug-fixes
Fixed a couple minor things I ran into working on another task
2020-01-08 10:35:23 -06:00
Patrick LeBlanc
80ff0bfa56 Fixed a couple minor things I ran into working on another task
- Made TupleUnion not allocate 64MB per frame.
 - Saw a crash, where a THJS would be destroyed w/o being used.
   Fixed the bad reference.
2020-01-06 14:17:43 -05:00
Patrick LeBlanc
d47df1b6dd Noticed another deadlock possibility in PoolAllocator.
Also currently not a problem.
2020-01-03 17:29:39 -05:00
Patrick LeBlanc
bf356cdb86 Merge pull request #959 from benthompson15/MCOL-3638
MCOL-3638: Fix level of various storagemanager logging items.
2020-01-03 09:42:45 -06:00
Patrick LeBlanc
81017e2ec0 Merge pull request #993 from toddstoffel/spelling
Spelling
2020-01-03 09:42:11 -06:00
Patrick LeBlanc
9d033ae9f5 Merge pull request #996 from LinuxJedi/MCOL-3702b
MCOL-3702 Fix replication config file changes
2020-01-03 09:31:35 -06:00
Andrew Hutchings
915b4999ec Remove "Beta" 2020-01-03 10:37:23 +00:00
Andrew Hutchings
98b81d8cb7 Bump VERSION 2020-01-03 10:36:18 +00:00
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.
columnstore-1.4.2-2
2020-01-03 10:08:52 +00:00
Andrew Hutchings
a4546eab4f Merge pull request #995 from pleblanc1976/mcol-3702-partial
MCOL-3702: postConfig replication error
2020-01-03 07:36:28 +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
Patrick LeBlanc
8b6d004523 Noticed a potential deadlock problem in poolallocator. 2020-01-02 12:16:05 -05:00
Todd Stoffel
63a963b206 Fix typo 2019-12-23 10:55:59 -08:00
Todd Stoffel
1acec861e1 Fix Typos 2019-12-23 10:27:14 -08:00
Andrew Hutchings
bd592aa714 Merge pull request #984 from LinuxJedi/fix-engineid
MCOL-3673 Fix legacy db type
2019-12-20 07:44:14 +02:00
Andrew Hutchings
bf944c4ce4 Merge pull request #991 from mariadb-corporation/MENT-513
fixes for MENT-513
2019-12-20 07:40:49 +02:00
Andrew Hutchings
edc889c9e5 Merge pull request #992 from pleblanc1976/develop
Fixed commit 5eb050f3af
2019-12-20 07:37:38 +02:00
Patrick LeBlanc
b0248c665c Re-added commit 5eb050f3af with a one-char modification that fixes
an odd access denied error when running a select stmt.
2019-12-19 18:40:57 -05:00
Patrick LeBlanc
dbc8cbaca9 Revert "Merge pull request #989 from LinuxJedi/set-maturity"
This reverts commit 5eb050f3af, reversing
changes made to 0be00a3a73.
2019-12-19 18:08:49 -05:00
Sergei Golubchik
96adf535ae don't create a ResourceManager to initialize a global variable
this is executed when ha_columnstore is loaded, at dlopen time
before any initialization code is run and crashes any dlopen
attemps.

Crashes - because a missing config file is a crashing offence,
but it's an issue for another day
2019-12-19 19:42:38 +01:00
Sergei Golubchik
dab1a8b147 .gitignore 2019-12-19 18:50:59 +01:00
Sergei Golubchik
9cc92fda91 compilation failure
#define likely clashes with

static bool likely(const string_type& str)

in /usr/include/boost/date_time/special_values_parser.hpp
2019-12-19 18:15:16 +01:00
Sergei Golubchik
586391e1ca compilation failure
error: reference to 'mutex' is ambiguous
note: candidates are: 'class boost::mutex'
note:                 'class std::mutex'
2019-12-19 18:13:39 +01:00
Andrew Hutchings
36a44ff136 Merge pull request #990 from LinuxJedi/fix-namespace
Fix atomic usage
2019-12-19 11:16:59 +02:00