1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-10-28 19:54:55 +03:00
Commit Graph

2546 Commits

Author SHA1 Message Date
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
David Hill
df77de334d MCOL-520 2018-09-25 13:11:20 -05:00
David Hill
b7b98a3e1a MCOL-520 2018-09-25 11:32:56 -05:00
David Hill
bb355df98c MCOL-520 2018-09-24 14:54:09 -05:00
David Hill
7142daac5a MCOL-520 2018-09-24 14:21:00 -05:00
David Hill
148eb6bf58 MCOL-520 2018-09-24 14:20:17 -05:00
David Hill
681cfd34eb MCOL-520 2018-09-24 11:50:56 -05:00
David Hill
72f514ca54 MCOL-520 2018-09-21 14:44:12 -05:00
David Hill
81e35e35eb MCOL-520 2018-09-21 11:23:43 -05:00
David Hill
4e6e5647ef MCOL-520 2018-09-21 10:40:05 -05:00
David Hill
455776ed49 MCOL-520 2018-09-21 09:28:33 -05:00
Roman Nozdrin
f78c90cd3c Merge pull request #575 from mariadb-corporation/MCOL-1737
MCOL-1737 Add debug logging options for LRU cache
2018-09-21 17:19:38 +03:00
Andrew Hutchings
24c5e93756 MCOL-1737 Add debug logging options for LRU cache
This adds options which are user enabled to debug the LRU cache inside
ColumnStore. Specifically cache flushing.

It adds the following:
* PrimProc flush information when SIGUSR2 mode is enabled
* cpimport dictionary flush information when -d2 is used
* WriteEngineServer DML flush information to STDERR
2018-09-21 09:50:10 +01:00
David Hill
1f58669460 MCOL-520 2018-09-20 14:45:18 -05:00
David Hill
bf13a50800 MCOL-520 - remove sudo work and cleanup 2018-09-20 09:37:07 -05:00
David Hill
c7d3dc173e merge 2018-09-19 14:38:25 -05:00
David Hill
6911730113 merge 2018-09-19 14:33:38 -05:00
David Hill
f417d8cfd3 merge 2018-09-19 14:26:21 -05:00
David Hill
c8839b7daa merge 2018-09-19 14:24:21 -05:00
David Hill
38db7303f0 merge 2018-09-19 14:20:22 -05:00
David Hill
f54c311c03 merge 2018-09-19 14:15:50 -05:00
david hill
2f58c7cc8d Merge pull request #574 from mariadb-corporation/develop
Develop
2018-09-19 14:01:38 -05:00
David Hill
45b20b4a9a merge 2018-09-19 14:01:08 -05:00
David Hill
9e64034347 merge 2018-09-19 13:58:13 -05:00
Andrew Hutchings
3326be00de Merge pull request #565 from drrtuy/MCOL-1601
MCOL-1601 GROUP BY now supports subqueries in HAVING.
2018-09-18 13:57:17 +01:00
Roman Nozdrin
5cab6c4c70 MCOL-1601 Removed unused symbols. 2018-09-18 11:23:38 +03:00
benthompson15
b74838bb50 Merge pull request #561 from mariadb-corporation/MCOL-1523-2
MCOL-1523 - additional fixes
2018-09-17 10:41:49 -05:00
Roman Nozdrin
18143ecaee MCOL-1052 Remove unused symbols. 2018-09-17 16:18:54 +03:00
Roman Nozdrin
aa11707585 MCOL-1052 ExeMgr now logs original queries processed by GROUP BY handler. 2018-09-17 16:17:11 +03:00
Roman Nozdrin
1d0488df33 MCOL-1601 GROUP BY supports subqueries in HAVING(derived tables processed by the server.) 2018-09-17 16:15:10 +03:00