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
Roman Nozdrin
b3a7559ffc Merge pull request #736 from gscteam/develop-1.2
Impove cpimport ingestion speed when insert into Dictionary columns.
2019-04-18 21:57:44 +03:00
David Hall
b38f192e2e MCOL-1985 Don't change umber of decimals if DECIMAL_NOT_SPECIFIED 2019-04-18 13:31:16 -05:00
Patrice Linel
06f24df724 change signature array in a std::set ! lookup performance is now log(N). About 10x performance can be expected on cpimport containing varchars.
Signed-off-by: Patrice Linel <plinel@mendel-master2.cm.cluster>
2019-04-18 09:16:00 -04:00
David Mott
b2810bf35d fix ambiguous symbol 2019-04-18 04:43:28 -05:00
David Mott
67880c2319 Fully qualify ambiguous isnan() with std:: 2019-04-17 17:28:47 -05:00
Roman Nozdrin
d4d7f55c9e Merge pull request #731 from mariadb-corporation/MCOL-2091
MCOL-2091 CS now supports  multiply distincts and UDaF calls in projection using special UDAF reset code for such queries.
2019-04-17 20:34:54 +03:00
David Mott
241d0b0446 rollback unintended changes 2019-04-17 11:36:56 -05:00
David Mott
2a9c5387c3 Enable c++11 2019-04-17 05:03:28 -05:00
Roman Nozdrin
e078d701f3 Merge pull request #733 from kabike/develop-1.1-fix-typo
Fix typo in postConfigure's storage configuration section.
2019-04-16 14:44:51 +03:00
Andrew Hutchings
8a7ccd7d93 Merge pull request #734 from mariadb-corporation/MCOL-3247_2
MCOL-3247 Fixing the thread leak regression.
2019-04-16 11:09:58 +01:00
davidjmott
4d9608cbf2 Merge pull request #707 from mariadb-corporation/MCOL-2001
MCOL-2001 Don't print the line "redistributeData must have one of STA…
2019-04-16 03:24:23 -05:00
数组越界
4e72b1f2d9 fix typo in postConfigure 2019-04-16 09:31:49 +08:00
David Hall
c17e32d5e0 MCOL-1985 Modify regrmysql to use long double where practical and to use the latest algorithms for regr_xxx functions. 2019-04-15 16:36:27 -05:00
David Hall
9846d6b595 MCOL-2091 align margin 2019-04-15 12:52:00 -05:00
David Hall
853dc2a2c1 MCOL-2091 Don't use in-line initializers, a C++x11 feature. 2019-04-15 12:49:43 -05:00
Andrew Hutchings
19ebde8b2a Merge pull request #732 from mariadb-corporation/replication-option
MCOL-593 Add optional MariaDB replication support
2019-04-15 19:56:36 +03:00
Roman Nozdrin
287b2ba7bd MCOL-3247 CS uses thread plugin variables since MCOL-1101 that aren't
good for transmiting cal_connection_info to handler::close_connection().
This variables are then erased in THD::cleanup() and the cal_connection_info
is replaced in handler::delete_table with an empty structure.
handler::close_connection() recevies cal_connection_info with empty cal_conn_hndl.
This patch uses THD::ha_data that is supposed to be used in such occasions.
2019-04-15 19:31:12 +03:00
Andrew Hutchings
f9f966fe96 MCOL-593 Add optional MariaDB replication support
This patch will allow MariaDB replication into UM1 when enabling the
following is added to the SystemConfig section of Columnstore.xml:

<ReplicationEnabled>Y</ReplicationEnabled>

The intended use case is to replication from an InnoDB MariaDB server
into ColumnStore. You would need to create the tables on the ColumnStore
slave as "ColumnStore" and the same tables in the master as InnoDB.

At the moment the use case is narrow and could be prone to problems so
this will use the hidden flag until we can improve it.
2019-04-15 14:45:34 +01:00
Roman Nozdrin
34b1d44563 MCOL-3247 Add two utility functions to simplify the code:
to log the messages and to forcely close the FEP connection.
2019-04-15 12:37:04 +03:00
Patrick LeBlanc
e51bb230ed Changed the mergeJournal* usage under the assumption that the
metadata contains the merged length, not the object's unmerged
length.
2019-04-12 17:23:59 -05:00
Patrick LeBlanc
979fb573b4 Fix to the rwlock impl; need to lock around checking status. 2019-04-12 15:32:03 -05:00
Patrick LeBlanc
6b1717dd6a Merge branch 'develop' of github.com:pleblanc1976/storage-manager into develop 2019-04-12 15:12:27 -05:00
Patrick LeBlanc
5443f8662c Checkpointing some paranoid assertions & some fixes I noticed. 2019-04-12 15:08:01 -05:00
Ben Thompson
081a4ad11b append/write newObject shouldn't always point at data start 2019-04-12 11:29:45 -05:00
Patrick LeBlanc
308a25c22b Fixed an off by one error in some brittle path manipulation.
Need robustify that once we figure out the bigger
problems.
2019-04-11 17:51:04 -05:00
Patrick LeBlanc
27ac1c85a0 Saw a bug in the loop to prune the fds to poll on, rewrote the loop. 2019-04-11 16:17:47 -05:00
David Hall
f1b908abeb MCOL-2091 Special UDAF reset code for multi-distinct queries 2019-04-11 15:44:46 -05:00
Andrew Hutchings
8825c0928b Merge pull request #730 from mariadb-corporation/MCOL-1559
Mcol 1559
2019-04-11 08:00:02 +01:00
Patrick LeBlanc
46163c129a Neutered all of the excessive snapshotting that was going on. 2019-04-10 17:53:05 -05:00
Patrick LeBlanc
c9d6730639 Had to replace boost::split wrt key manipulation. 2019-04-10 16:43:18 -05:00
Patrick LeBlanc
dfc29fa833 Eventually found the problem with rename(). Was calling
::unlink() instead of our unlink/remove.
2019-04-10 15:01:29 -05:00
David Hall
28e743bf38 MCOL-1559 remove unused boost/trim header 2019-04-10 08:46:15 -05:00
Andrew Hutchings
67b42acc9c Merge pull request #729 from mariadb-corporation/MCOL-2061
MCOL-2061 Add upgrade path to rebuild FRM files
2019-04-10 04:43:24 +01:00
Patrick LeBlanc
c0f93d904a Fixed a bug where the BRM would open the journal for reading when
it should be have open for writing.  Not sure how that ever worked.
2019-04-09 17:34:30 -05:00
David Hall
d78944d9ff MCOL-1559 backout trim before setting compare. Shouldn't do this in all cases. 2019-04-09 17:08:03 -05:00
David Hall
b6484dda4a MCOL-1559 trim constant varchar string before adding filter 2019-04-09 16:57:21 -05:00
David Hall
e2cb644484 MCOL-1559 trailing space compare 2019-04-09 16:34:45 -05:00
Patrick LeBlanc
6e6cfdb59b The BRM structs aren't using IDBDataFile consistently.
Testing whether forcing them to use IDBDataFiles breaks anything.
2019-04-09 15:07:00 -05:00
David Hall
e71378d719 Merge branch 'develop-1.2' into MCOL-1559 2019-04-09 13:11:17 -05:00
David Hall
5b581f53cb MCOL-1559 trailing space compare 2019-04-09 13:09:29 -05:00
Patrick LeBlanc
2b9e7facd2 Merge remote-tracking branch 'upstream/develop' into S3-project 2019-04-09 10:28:31 -05:00
Patrick LeBlanc
e060cce496 Updated ref for storage-manager. 2019-04-09 10:27:32 -05:00
Patrick LeBlanc
867c12f07f Fixed a bug in the cache. 2019-04-09 09:41:26 -05:00
Ben Thompson
cf678170ca fixes for write and finish append. add append unit_test cases. 2019-04-08 16:34:48 -05:00
Patrick LeBlanc
9b82b3b0ba Fixed a probable off-by-one error in the journal merging code. 2019-04-08 15:10:23 -05:00
Patrick LeBlanc
06fe98c1a7 Fixed a boundary condition in metadatafile. 2019-04-08 13:52:21 -05:00
Patrick LeBlanc
88efa1c1f3 Fix to the sync requeuing logic. 2019-04-08 10:48:30 -05:00
Patrick LeBlanc
0be099769b Cleaned up a kludge, and made the retry behavior requeue a job
rather than wait forever to it to work in the same thread.
2019-04-08 10:40:28 -05:00
Patrick LeBlanc
64bbf44227 Realized Cache::_makeSpace() could deadlock, made a mutex a recursive_mutex. 2019-04-08 10:39:30 -05:00
Patrick LeBlanc
6f234f45c0 More fixes around sync, error handling, and logging. 2019-04-05 16:38:37 -05:00