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

3637 Commits

Author SHA1 Message Date
Andrew Hutchings
94d067383f Merge pull request #585 from drrtuy/MCOL-1771
MCOL-1771 Removed extra debug output from sm.cpp in release builds.
2018-10-08 07:56:20 +01:00
Andrew Hutchings
b03e55887a Merge pull request #584 from tntnatbry/MCOL-266
MCOL-266 Add support for BOOLEAN/BOOL data type
2018-10-08 07:50:43 +01:00
Roman Nozdrin
d1f02026c5 Backported the rest of MCOL-1659(spaces in identifiers). 2018-10-07 16:19:50 +03:00
Gagan Goel
38d0740ec1 MCOL-266 Add support for BOOLEAN/BOOL data type 2018-10-07 00:43:34 -04:00
Andrew Hutchings
6a72b28bab MCOL-1775 Fix addtime/subtime for WHERE
MariaDB server renamed addtime/subtime so we need to use the new names
for these functions.
2018-10-06 11:27:51 +01:00
Andrew Hutchings
3fffc75d86 Fix brace merge issue 2018-10-05 21:48:51 +01:00
Patrick LeBlanc
a89013608c Merge branch 'MCOL-520' of github.com:mariadb-corporation/mariadb-columnstore-engine into MCOL-520 2018-10-05 13:43:08 -05:00
Patrick LeBlanc
29046b20da MCOL-520. Added a test for /dev/shm access in post-install. 2018-10-05 13:42:15 -05:00
David Hill
d196b06ae6 MCOL-520 - removed /etc/defaults/columnstore reference 2018-10-05 13:07:24 -05:00
Andrew Hutchings
f1f13a09d1 Merge branch 'develop-1.1' into 1.1-merge-up-2018-10-05 2018-10-05 18:40:07 +01:00
Roman Nozdrin
035c93fe88 MCOL-1771 Removed extra debug output from release builds. 2018-10-05 19:45:17 +03:00
Patrick LeBlanc
f54cc0803a MCOL-520. Made the error msgs users will hit more informative. 2018-10-04 16:17:28 -05:00
Patrick LeBlanc
f97dec3406 Merge branch 'fix-skip-oam-init' into MCOL-520 2018-10-04 15:35:32 -05:00
Patrick LeBlanc
4215a47b5c MCOL-520. More untested changes.
Went down the list in shmkeys.h, added sane error msgs on perms
errors accessing rest of the shmsegs there.
Realized we probably do need 666 to the shmsegs.
Also deleted a little dead code that was copy-pasted everywhere.
2018-10-04 14:25:01 -05:00
Patrick LeBlanc
a35009c8ee MCOL-520. Removed chmod stuff from MST and did a little cleaning. 2018-10-04 11:27:08 -05:00
Patrick LeBlanc
f514ed6775 MCOL-520. Got rid of the chmods on shmsegs & added
better error msgs.  Untested.
2018-10-04 11:13:19 -05:00
Andrew Hutchings
a127f84793 MCOL-1433 Fix TIME for MAKEDATE/TIMEDIFF
Fix saturation behaviour for TIME with MAKEDATE() and TIMEDIFF()
2018-10-04 16:53:14 +01:00
Patrick LeBlanc
1b1026bbe4 MCOL-520. Fixed shm usage in procmon. Untested. 2018-10-04 10:30:30 -05:00
Patrick LeBlanc
bc19fb2f2d MCOL-520. Removed the chmod 666 calls on our shared mem objects. 2018-10-04 08:47:14 -05:00
Andrew Hutchings
1ed5fdfc2b MCOL-1762 Keep Columnstore.xml settings
This patch makes sure the following settings are retained during an
upgrade:

* ThreadPoolSize
* TLSCS
* TLSClientCert
* TLSClientKey
2018-10-04 14:13:34 +01:00
Roman Nozdrin
c0600d0da0 Merge pull request #579 from pleblanc1976/develop
Squash commit of fix-skip-oam-init branch.
2018-10-03 22:58:51 +03:00
David Hill
7aff68969e MCOL-520 - back out nonroot shm changes 2018-10-03 14:09:48 -05:00
Patrick LeBlanc
3d7f4a3170 Squash commit of fix-skip-oam-init branch.
Squashed commit of the following:

commit faaee9141a
Author: Patrick LeBlanc <patrick.leblanc@mariadb.com>
Date:   Wed Oct 3 13:03:02 2018 -0500

    Commented a debugging printout.

commit e47e784c53
Author: Patrick LeBlanc <patrick.leblanc@mariadb.com>
Date:   Wed Oct 3 12:13:23 2018 -0500

    Moved the SKIP_OAM_INIT check for cleanliness, added 'config.h' to
    other places that need it.

commit 6626045535
Author: Patrick LeBlanc <patrick.leblanc@mariadb.com>
Date:   Tue Oct 2 16:33:06 2018 -0500

    WIP.  First cut of excising OAM and root access from the dev process.

    This passes most tests; need to make sure that the tests that fail
    have nothing to do with this change.

    DMLProc is doing something that results in a sudo password prompt.
    Will obliterate that next.
2018-10-03 13:04:54 -05:00
Patrick LeBlanc
faaee9141a Commented a debugging printout. 2018-10-03 13:03:02 -05:00
Patrick LeBlanc
e47e784c53 Moved the SKIP_OAM_INIT check for cleanliness, added 'config.h' to
other places that need it.
2018-10-03 12:23:35 -05:00
Patrick LeBlanc
6626045535 WIP. First cut of excising OAM and root access from the dev process.
This passes most tests; need to make sure that the tests that fail
have nothing to do with this change.

DMLProc is doing something that results in a sudo password prompt.
Will obliterate that next.
2018-10-02 16:33:06 -05:00
Andrew Hutchings
1a7fca7fbc Merge pull request #578 from mariadb-corporation/MCOL-521-b
Mcol 521 b
2018-10-02 20:13:19 +01:00
David Hall
dd99e420e0 MCOL-521 Remove "typename" from certain places as some compiles can't handle it 2018-10-02 11:05:50 -05:00
David Hill
8d3ce9757f MCOL-520 - initial changes for /dev/shm 2018-10-01 14:39:17 -05:00
David Hill
05bcd58e76 MCOL-520 2018-10-01 12:51:38 -05:00
David Hill
d435335cdc MCOL-520 2018-09-28 14:58:36 -05:00
David Hill
2f0fb500df MCOL-520 2018-09-28 14:39:00 -05:00
David Hall
dc9ba90f96 MCOL-521 add regr_intecept and regr_r2 2018-09-28 13:51:43 -05:00
David Hill
3393bd1855 MCOL-520 2018-09-28 11:00:50 -05:00
David.Hall
e183557b67 Merge pull request #577 from mariadb-corporation/MCOL-1750b
MCOL-1750 Fix threadpool stack leaks
2018-09-28 10:26:54 -05:00
Andrew Hutchings
5092b4fd13 MCOL-1750 unique_ptr doesn't work in all OSes 2018-09-28 07:55:06 +01:00
Andrew Hutchings
94dfacfe25 MCOL-1750 Fix threadpool stack leaks
When a thread has been idle for 10 minutes and we have too many threads
in the threadpool the thread will be pruned. This is done by the
thread's main function just returning. Unfortunately this does not free
up the memory, the thread either needs to be joined or detatched.

We cannot use detached threads since there are mutexes and conditional
variables between the main thread and the threadpool threads. If the
main thread finishes before the threadpool threads (as would happen in
cpimport) then crashes occur. The parent needs to wait on the child
threads which is the whole point in joining.

So this fix spawns a new thread which every minute will check the list
of threads to be joined due to timeout and join them.

We have had to use an adapted version of boost::thread_group so that we
can join a single thread based off its thread ID.

In addition with have modified PriorityThreadPool to use detached
threads since this does not need to signal the child threads at the end.
2018-09-28 07:21:49 +01:00
David Hill
c86b569c97 MCOL-520 2018-09-27 15:59:57 -05:00
David Hill
cd848bfc85 MCOL-520 2018-09-27 09:37:55 -05:00
David Hill
4d1729c967 MCOL-520 2018-09-27 08:59:03 -05:00
David Hill
92cb061455 MCOL-520 2018-09-26 15:11:05 -05:00
David Hill
07e78c410b MCOL-520 2018-09-26 15:05:27 -05:00
David Hill
f25082bc9a MCOL-520 2018-09-25 17:20:46 -05:00
David Hall
b8bf311c51 Merge branch 'develop' into MCOL-521-b 2018-09-25 16:33:46 -05:00
David Hall
d930a1e322 MCOL-521 Some more fixes for multi-parm aggregates. Add regr slope 2018-09-25 16:31:10 -05:00
David Hill
2c38d5ba4f MCOL-520 2018-09-25 15:25:16 -05:00
David Hill
5b7b3472c3 MCOL-520 2018-09-25 14:19:08 -05:00
David Hill
5fa5c81b67 MCOL-520 2018-09-25 14:03:00 -05:00
David Hill
8754476272 MCOL-520 2018-09-25 13:46:11 -05:00
David Hill
9cfe199154 MCOL-520 2018-09-25 13:35:06 -05:00