benthompson15
25084d0020
Merge pull request #1023 from LinuxJedi/mariadb-systemctl
...
MCOL-3718 Use systemd instead of mysql-Columnstore
2020-02-12 10:01:26 -06:00
Jose Rojas
7941dce141
Merge pull request #1047 from LinuxJedi/collate_warn
...
MCOL-3721 Fix quoting issues for COLLATE
2020-02-12 09:59:55 -06:00
Patrick LeBlanc
38b8d4104f
Merge pull request #1043 from benthompson15/MCOL-3748
...
MCOL-3748: Modify signal handling for different default actions.
2020-02-12 08:52:58 -06:00
Patrick LeBlanc
67a389ea8d
Merge pull request #1042 from benthompson15/MCOL-3736
...
MCOL-3736: Change AND to OR. Loop could exit with ops still in pendin…
2020-02-12 08:51:23 -06:00
Andrew Hutchings
f9e5bdbc8d
Fix restart hang
...
mcsadmin restart will do a status call. Before this would log status
output to a file which would be checked. If that file check failed a PID
check would be made.
We do not log the status to a file any more since it could have multiple
different outputs. The PID check could hit a race condition where it is
being checked before the process is up. This would mean there is no
module state change causing a hang.
This fix does the following:
1. Remove the file status check completely
2. Loop the PID check to give it time to come up
3. If the PID check fails drop to a DEGRADED state
This makes mcsadmin restart work correctly again.
2020-02-12 09:57:22 +00:00
Andrew Hutchings
e43d9be05b
MCOL-3721 Fix quoting issues for COLLATE
2020-02-12 09:14:07 +00:00
Roman Nozdrin
0c13c40201
MCOL-3769 This commit refactors create_SH() to return an early error
...
if any of optimizer rewrites fails.
2020-02-12 08:01:01 +00:00
benthompson15
f8055cd6e6
Merge pull request #1045 from dhall-MariaDB/MCOL-3784-1.5
...
MCOL-3784 add scoped_ptr.hpp to rowaggregation.h
2020-02-11 17:41:12 -06:00
benthompson15
fe227c7977
Remove SIGKILL from list.
2020-02-11 17:29:06 -06:00
benthompson15
c4d8d3d87d
MCOL-3748: added missing signal to shutdown. Don't shutdown if fatalHandler is called.
2020-02-11 17:22:30 -06:00
Jose Rojas
8588678115
Merge pull request #1044 from pleblanc1976/2020-2-1.4-final2
...
Merge pull request #1015 from pleblanc1976/mcol-3716
2020-02-11 16:58:24 -06:00
benthompson15
f979baee67
Merge pull request #1041 from dhall-MariaDB/MCOL-3784
...
MCOL-3784 Add boost/scoped_ptr.hpp to rowaggregation.h
2020-02-11 15:03:52 -06:00
David Hall
06fc227ae7
MCOL-3784 add scoped_ptr.hpp to roeaggregation.h
2020-02-11 15:02:51 -06:00
benthompson15
34244c90ac
Merge pull request #1022 from pleblanc1976/mcol-3745
...
MCOL-3745: Investigate slow-ddl problem after restart
2020-02-11 14:58:28 -06:00
David Hall
89569c2504
MCOL-3784 Add boost/scoped_ptr.hpp to rowaggregation.h
...
We were inadvertantly relying on boost/regex.hpp to include boost/scoped_ptr.hpp. When we removed boost regex, we lost scoped_ptr too.
2020-02-11 14:23:17 -06:00
Roman Nozdrin
07f9846275
Merge pull request #1037 from dhall-MariaDB/MCOL-3663-1.5
...
MCOL-3663 revert to using posix regex for LIKE
2020-02-11 20:45:44 +03:00
Roman Nozdrin
3eed0aaae4
Merge pull request #1035 from dhall-MariaDB/MCOL-3663-1.4
...
MCOL-3663 revert to using posix regex for LIKE
2020-02-11 20:43:01 +03:00
Roman Nozdrin
01f0daaa07
Merge pull request #1040 from tntnatbry/MCOL-2101-1.5
...
MCOL-2101 Set up proper permissions for /tmp/columnstore_tmp_files to allow non-root users to write to it.
2020-02-11 19:47:05 +03:00
Roman Nozdrin
f735e1c426
Merge pull request #1039 from tntnatbry/MCOL-2101-1.4
...
MCOL-2101 Set up proper permissions for /tmp/columnstore_tmp_files to allow non-root users to write to it.
2020-02-11 19:46:18 +03:00
Roman Nozdrin
72dc3c4396
Merge pull request #1024 from LinuxJedi/collate_warn
...
MCOL-3721 Allow collate and warn on ORDER BY
2020-02-11 19:28:07 +03:00
benthompson15
5ce8994e14
MCOL-3748: Modify signal handling for different default actions.
2020-02-10 23:44:11 -06:00
Patrick LeBlanc
9e24412681
Merge pull request #1015 from pleblanc1976/mcol-3716
...
Mcol-3716: Wrong min/max after cpimport which causes wrong select results
2020-02-10 18:57:14 -05:00
Gagan Goel
9b01b0ac61
MCOL-2101 Set up proper permissions for /tmp/columnstore_tmp_files to
...
allow non-root users to write to it.
2020-02-10 22:39:21 +00:00
Gagan Goel
7656a1ead3
MCOL-2101 Set up proper permissions for /tmp/columnstore_tmp_files to
...
allow non-root users to write to it.
2020-02-10 22:16:03 +00:00
David Hall
d051482e94
MCOL-3663 revert to using posix regex for LIKE
2020-02-10 13:37:42 -06:00
David Hall
b7156eb244
MCOL-3663 revert to using posix regex for LIKE
2020-02-10 11:29:31 -06:00
Gagan Goel
4b4198608d
Merge pull request #1031 from pleblanc1976/we-splitter-read-from-s3
...
MCOL-3520: Fix importing files from S3 for mode 1 imports.
2020-02-10 11:57:33 -05:00
Andrew Hutchings
c334a6fb1e
Also add support for collate in column definitions
2020-02-10 16:24:02 +00:00
David.Hall
c3eecb9fdd
Merge pull request #1032 from drrtuy/MCOL-3766
...
MCOL-3766 EXPLAIN now doesn't execute query via SH thus doesn't fail
2020-02-10 10:08:38 -06:00
Roman Nozdrin
4d528cc6b8
MCOL-3766 EXPLAIN now doesn't execute query via SH thus doesn't fail
...
every other run.
2020-02-10 10:20:03 +00:00
Patrick LeBlanc
53afb3c71e
MCOL-3520: Fix cpimport S3 multi-PM imports
...
Impl'd mode-1 imports from S3 & fixed a few other minor things I noticed.
2020-02-06 18:11:53 -05:00
David.Hall
5efa6a4dc5
Merge pull request #1030 from LinuxJedi/MCOL-3764
...
MCOL-3764 Fix RENAME TABLE
2020-02-06 09:32:26 -06:00
Andrew Hutchings
cd5e742a2a
MCOL-3764 Fix RENAME TABLE
...
When ALTER TABLE ... ENGINE= is called the following happens:
1. A temporary table is created in the new engine with the real table
name but a temporary file name supplied
2. A bulk insert is started from old to new table
3. The old table is dropped
4. The new table is renamed
For #1 we use the real table name instead of the temporary file name
(otherwise step #2 breaks), we were therefore trying to skip #4 .
This broke regular RENAME TABLE commands.
With this patch we detect if the rename is for a temporary to real table
and skip it. Since this is the only instance where we support temporary
tables.
This patch also fixes issues with extracting table names from file
names and some other irrelevant stuff.
Longer term if we want to support temporary tables we need to store the
provided filename in our metadata since it could be different from table
name.
2020-02-06 11:52:38 +00:00
Andrew Hutchings
7df731a3a6
Make mysqld work without systemd
...
ColumnStore should now start/stop mysqld where the systemd service is
not available.
2020-02-06 09:40:36 +00:00
Andrew Hutchings
6cf6519019
MCOL-3718 Use systemd instead of mysql-Columnstore
...
MariaDB server is now managed using systemd instead of our own
mysql-Columnstore script. This means that MariaDB server can be stopped
/ started independently of ColumnStore
2020-02-06 07:47:44 +00:00
Jose Rojas
18f6688470
Merge pull request #1029 from dhall-MariaDB/MCOL-3749
...
MCOL-3749 Assertion on error
2020-02-05 11:23:20 -06:00
David Hall
f9f7b79a2b
MCOL-3749 Assertion on error
...
Correct error code return stops assertion
2020-02-05 11:10:54 -06:00
Patrick LeBlanc
f141302263
Merge pull request #1026 from jmrojas2332/MCOL-2139
...
MCOL-2139 Cherrypick into develop-1.4
2020-02-04 18:09:24 -06:00
benthompson15
6db7b96fe8
MCOL-3736: Change AND to OR. Loop could exit with ops still in pending/progress.
2020-02-04 15:52:56 -06:00
Patrick LeBlanc
65de8b8e63
MCOL-3520. Checkpointing some mods.
2020-02-04 16:50:18 -05:00
jmrojas2332
979d2bcd03
MCOL-2139 syntax update
2020-02-04 20:44:31 +00:00
jmrojas2332
7c358957dc
MCOL-2139 syntax update based on feedback
2020-02-04 20:44:06 +00:00
jmrojas2332
009a4aea1d
MCOL 2139 Fix subquery not being filtered when using view
2020-02-04 20:43:46 +00:00
David.Hall
4116d3b2d7
Merge pull request #1025 from mariadb-corporation/MCOL-3747
...
MCOL-3747 This patch properly enables queries with IN + uncorrelated …
2020-02-04 09:41:12 -06:00
Roman Nozdrin
608fba77fd
MCOL-3747 This patch properly enables queries with IN + uncorrelated subquery
...
processing that was broken after vtable had been removed.
Before this patch IN-INTO-EXISTS rewrite doesn't add equi-JOIN predicate when
IN+subquery was in a nested subquery.
2020-02-04 08:26:15 +00:00
Patrick LeBlanc
46f30be556
Merge pull request #1018 from jmrojas2332/develop
...
MCOL-2139 Fix subquery not being filtered when using view
2020-02-03 15:01:40 -06:00
jmrojas2332
aa1d8944ce
MCOL-2139 syntax update
2020-02-03 20:49:02 +00:00
jmrojas2332
9fbfb63b85
MCOL-2139 syntax update based on feedback
2020-02-03 20:13:55 +00:00
jmrojas2332
f1285dd79e
MCOL 2139 Fix subquery not being filtered when using view
2020-02-03 15:42:57 +00:00
Andrew Hutchings
acc87f4cfc
MCOL-3721 Allow collate and warn on ORDER BY
...
COLLATE is now allowed but ignored on DDL and ORDER BY. For an ORDER BY
query a note is generated.
2020-02-01 16:02:03 +01:00