1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-21 13:40:58 +03:00
Commit Graph

5453 Commits

Author SHA1 Message Date
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
Andrew Hutchings
d1199e03c3 Fix atomic usage
Using atomic without namespace broke the build on most platforms
2019-12-19 11:15:09 +02:00
Andrew Hutchings
5eb050f3af Merge pull request #989 from LinuxJedi/set-maturity
Make plugin maturity definable at compile time.
2019-12-19 08:20:15 +02:00
Andrew Hutchings
0be00a3a73 Merge pull request #987 from LinuxJedi/MCOL-3677
Revert "MCOL-1734 This patch fixes the error for NOT IN + subquery wh…
2019-12-19 07:37:31 +02:00
Andrew Hutchings
edcee3c317 Merge pull request #986 from pleblanc1976/hj-fix
Found and fixed a race on a counter in the new HJ hash table
2019-12-19 07:36:55 +02:00
Andrew Hutchings
76f25045d9 Make plugin maturity definable at compile time. 2019-12-19 07:30:22 +02:00
Andrew Hutchings
3fb01d5f60 Revert "MCOL-1734 This patch fixes the error for NOT IN + subquery when outer query has NULLs in a key"
This reverts commit 5174c40bfe.
2019-12-18 15:09:47 +02:00
Patrick LeBlanc
98d546c2c2 Found and fixed a race on a counter in the new HJ hash table
construction code in PrimProc.
2019-12-17 18:17:04 -05:00
Andrew Hutchings
d15560d9c0 Merge pull request #985 from pleblanc1976/develop
MCOL-3674: Fix row-based replication detection
2019-12-17 20:38:37 +02:00
Patrick LeBlanc
d8e763655c MCOL-3654: Fix row-based repl detection
if 0'd the row-based repl checks for now to prevent ruling out
stmts we should be able to process.
2019-12-17 13:26:18 -05:00
Patrick LeBlanc
e02302908b MCOL-3674: Fix row-based replication detection
Changed the row-based repl detection mechanism so stmt-based repl works
again, however, the detection mechanism is still wrong somehow.  What it
should be is currently unknown.
2019-12-17 13:15:58 -05:00
Andrew Hutchings
d0f51f6526 MCOL-3673 Fix legacy db type
We were auto-assigned a DB type which could cause issues during major
upgrades. Setting to autoassign gives us a DB type of 0 which solves
these issues.
2019-12-17 15:32:32 +02:00
benthompson15
451284aeee Merge pull request #982 from LinuxJedi/MCOL-3669a
MCOL-3669 Add real versioning to plugin
2019-12-13 22:07:37 +01:00
Andrew Hutchings
ff96140949 Merge pull request #983 from drrtuy/fixing-debug-build_1
Refactored MDB relation names decoding in DDL code.
2019-12-13 19:24:57 +00:00
Andrew Hutchings
114c5be935 MCOL-3669 Add real versioning to plugin
Make the version in information_schema.all_plugins reflect the real
version of ColumnStore.
2019-12-13 19:19:16 +00:00
Roman Nozdrin
7acfddddb7 Refactored MDB relation names decoding in DDL code.
SH now takes all or nothing thus we need to change if conditions that rules our GBH.

Small warning fixes for GCC8.2

Disabled GBH.
2019-12-13 11:38:19 -06:00
Andrew Hutchings
fb07a02696 Merge pull request #981 from LinuxJedi/MCOL-3672
MCOL-3672 Fix regression in deletes
2019-12-13 08:41:48 +00:00
Andrew Hutchings
b7396129c7 MCOL-3672 Fix regression in deletes
Deletes appear to only use the direct delete path. This allows that to
happen.
2019-12-13 07:33:29 +00:00
benthompson15
7cda5cd179 Merge pull request #980 from LinuxJedi/MCOL-3672
MCOL-3672 Fix double-DML execution
2019-12-13 00:18:10 +01:00
Andrew Hutchings
9734a25a35 MCOL-3672 Fix double-DML execution
Direct update/delete executed doUpdateDelete as well as the regular
execution route for doUpdateDelete.

This patch only executes doUpdateDelete the first time and direct
update/delete collects the counts.
2019-12-12 22:58:20 +00:00
benthompson15
833bb1cfe5 Merge pull request #978 from LinuxJedi/MCOL-3666
MCOL-3666 Cleanup columnstore.cnf
2019-12-12 19:57:15 +01:00
Andrew Hutchings
4f03c8ac44 MCOL-3666 Cleanup columnstore.cnf
Options need to be loaded after the plugin is installed or they aren't
valid. Also remove a lot of junk from the file.
2019-12-12 13:28:17 +00:00
benthompson15
3a4441f403 Merge pull request #977 from LinuxJedi/fix-combined-cmake
Fix cmake for combined build bintar build
2019-12-11 17:09:25 +01:00
Andrew Hutchings
54c6cc1f06 Fix cmake for combined build bintar build
INSTALL_SYSCONF2DIR is not set if the build is not RPM or DEB which
causes cmake to fail. When we make generic paths work correctly we
should correct this.
2019-12-11 15:13:42 +00:00
Andrew Hutchings
1fea11337c Merge pull request #976 from drrtuy/fix-for-DEV-18973
This patch fllows the change introduced in the direct_update/delete API
2019-12-11 15:05:24 +00:00
Roman Nozdrin
19b4702a24 This patch fllows the change introduced in the direct_update/delete API
in 10.4.11 to fix MDEV-18973 in Spider.
2019-12-11 08:05:49 -06:00
Roman Nozdrin
914fa570fa Merge pull request #970 from LinuxJedi/fix-warnings
Fix warnings found in DEBUG combined build
2019-12-10 19:26:20 +02:00
Andrew Hutchings
49994f7bc3 Fix warnings found in DEBUG combined build
Fixes:
* Irrelevant where conditions
* Irrelevant const
* A potential infinite loop in treenode
* Bad implicit case fallthroughs
* Explicit markings for required case fallthroughs
* Unused variables
* Unused function

Also disabled some warnings for now which we should fix later.
2019-12-10 16:33:08 +00:00
Roman Nozdrin
344c1d4025 Merge pull request #956 from tntnatbry/impl-space-quote
Implement SPACE() and QUOTE() functions.
2019-12-10 18:32:35 +02:00
benthompson15
a119da7e54 Merge pull request #968 from LinuxJedi/MCOL-3650
MCOL-3650 delete bad UDF entries
2019-12-10 17:24:17 +01:00
Andrew Hutchings
8dc77bb678 Merge pull request #974 from tntnatbry/MCOL-3659
MCOL-3659 Use Long Double as result type for AVG_DISTINCT window function.
2019-12-10 14:28:05 +00:00
Gagan Goel
feaa9cb659 Implement SPACE() and QUOTE() functions. 2019-12-10 14:18:28 +00:00