1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-08 14:22:09 +03:00
Commit Graph

6176 Commits

Author SHA1 Message Date
Roman Nozdrin
15f65eff15 Merge pull request #2655 from denis0x0D/MCOL-5263_2
MCOL-5263 Add support to ROLLBACK when PP were restarted.
2022-12-13 21:24:01 +03:00
Roman Nozdrin
d43e418a8c MCOL-5346 This patch forces TreeNode::getIntValue to use conversion for dict-based CHAR/VARCHAR and TEXT columns (#2657)
Co-authored-by: Roman Nozdrin <rnozdrin@mariadb.com>
2022-12-13 18:13:22 +03:00
Denis Khalikov
d61780cab1 MCOL-5263 Add support to ROLLBACK when PP were restarted.
DMLProc starts ROLLBACK when SELECT part of UPDATE fails b/c EM facility in PP were restarted.
Unfortunately this ROLLBACK stuck if EM/PP are not yet available.
DMLProc must have a t/o with re-try doing ROLLBACK.
2022-12-13 16:18:53 +03:00
benthompson15
635a9fdb56 Merge pull request #2658 from dhall-MariaDB/patch_out_of_band
patch_out_of_band
2022-12-12 17:14:41 -06:00
david.hall
10e2834033 patch_out_of_band
Some changes made to 10.6-enterprise make a build using the out-of-band method of compiling columnstore not work. Out-of band means the source for the engine is not in the storage subdir of server, but rather in a stand alone directory. This is used by developers for easier develop work. In the case of out-of-band, INSTALL_LAYOUT is false in CMakeLists.txt
2022-12-12 14:17:09 -06:00
mariadb-RomanNavrotskiy
4ec28931b6 ci: Re-enable dockerhub step (#2650) 2022-12-12 15:24:46 +03:00
Daniel Lee
e243a5332b Merge pull request #2654 from mariadb-corporation/dlee_add_setup_database
Create 'test' database in the MTR setup suite
2022-12-09 17:07:05 -06:00
mariadb-DanielLee
3da494e21b Create 'test' database in the MTR setup suite 2022-12-09 16:48:05 -06:00
Daniel Lee
a7fd0fd60b Merge pull request #2652 from mariadb-corporation/dlee_mtr_disable_warnings
Dlee mtr disable warnings
2022-12-09 08:32:34 -06:00
root
2ed151fa59 Recorded reference results 2022-12-09 02:24:40 +00:00
root
f090e65298 More changes 2022-12-08 21:00:01 +00:00
mariadb-DanielLee
fad0fd08f0 Disable warnings for 'drop if exists' and 'create if not exist' commands 2022-12-08 11:37:44 -06:00
Gagan Goel
c14ab6d86b Merge pull request #2649 from dhall-MariaDB/MCOL-5311
MCOL-5311 Add timezone to jobList in subquerytransformer
2022-12-07 14:31:25 -05:00
david.hall
369aea884e MCOL-5311 Add timezone to jobList in subquerytransformer
TimeZone was uninitialized in this scenario and led to undefined behavior.
2022-12-07 09:52:00 -06:00
mariadb-RomanNavrotskiy
bb26fb5b1c ci: set memory limits for mtr and regression (#2644)
Containerized MCS takes a percentage from a hardware RAM amount of the node thus 2 containers could compete for RAM.
2022-12-07 18:33:18 +03:00
Roman Nozdrin
8bb5731ddc MCOL-5310 This patch replaces move-assignment with copy-assignment to avoid memory corruption (#2645)
Co-authored-by: Roman Nozdrin <rnozdrin@mariadb.com>
2022-12-06 12:56:58 -06:00
mariadb-KirillPerov
7d812b1b7e Update .drone.jsonnet (#2647) 2022-12-05 21:26:42 +03:00
Daniel Lee
3ef9751a2a Merge pull request #2643 from mariadb-corporation/dlee_mtr_1pm_folder
Dlee mtr 1pm folder
2022-12-05 11:41:42 -06:00
Roman Nozdrin
a1d89d8f31 Merge pull request #2630 from dhall-MariaDB/sergchanges
Sergchanges
2022-12-02 19:08:08 +03:00
Roman Nozdrin
9a919cdc0b Merge pull request #2642 from tntnatbry/MCOL-5306
MCOL-5306 Re-read the config (Columnstore.xml) file if it was updated.
2022-12-02 17:57:24 +03:00
root
c0d772559e Moved one more test case to 1pmonly folder 2022-12-02 14:30:43 +00:00
Gagan Goel
9bf35d74d4 MCOL-5306 Re-read the config (Columnstore.xml) file if it was updated.
The existing implementation of Config::makeConfig() factory method
was returning a possibly stale config to the caller, without checking
if the config file was updated since the last read. This bug triggered
a scenario as described in MCOL-5306 where after a failover in an MCS
cluster, the controllernode coordinates changed in the config file
after failover and the existing mariadbd process was still using the
old controllernode coordinates. This lead to failed network connection
between mariadbd and the new controllernode.

The change in this fix, however, is more generic and not just limited
to this above scenario.
2022-12-02 06:30:46 +00:00
root
945736cc1f Set batch insert flag to 'on'. Fixed a typo 2022-12-01 19:49:24 +00:00
root
814fc37081 Moved some MTR cases to a new 1pmonly directory. Also added order by clause to few cases 2022-11-30 23:40:41 +00:00
david.hall
7e3ad24437 Serge changes -- Add static joblist lib 2022-11-30 12:46:26 -06:00
david.hall
6113a6e0e8 Serg Changes from 22.08.5 2022-11-30 11:23:02 -06:00
David.Hall
ef0a21267e MCOL-5248 Change func_truncate() to use double for string, rather than attempt to translate to decimal. Currently, the treenode.h conversion functions don't support string to decimal conversion. (#2598)
This new functionality brings us into alignment with MDB 10.6
2022-11-30 19:58:25 +03:00
Roman Nozdrin
b63efe0103 Merge pull request #2637 from drrtuy/MCOL-5264
MCOL-5264 This patch replaces boost mutex locks with std analogs
2022-11-28 20:50:31 +03:00
Roman Nozdrin
c51b9b7693 Merge pull request #2638 from mariadb-corporation/fix/MCOL-5302
MCOL-5302: Fix brm-save to prevent overwrites Extent Map files multiple times with shared(non-S3) storage setup.
2022-11-28 14:18:31 +03:00
Roman Nozdrin
6e185c1ce0 Merge pull request #2639 from mariadb-corporation/remove-cs-server-from-builds
Remove cs-server from builds
2022-11-28 14:16:24 +03:00
Leonid Fedorov
872f574b29 Remove cs-server from builds 2022-11-26 00:12:13 +03:00
mariadb-AlanMologorsky
0ad8c7e758 MCOL-5302: Fix brm-save to prevent overwrites Extent Map files multiple times with shared(non-S3) storage setup.
[fix] oam/install_scripts/mcs-savebrm.py.in , now everytime using method to detect primary node
[fix] condition style in oam/install_scripts/mcs-loadbrm.py.in
2022-11-24 21:59:02 +04:00
Roman Nozdrin
bfbe5bf315 MCOL-5264 This patch replaces boost mutex locks with std analogs
boost::uniqie_lock dtor calls a fancy unlock logic that throws twice.
First if the mutex is 0 and second lock doesn't own the mutex.
The first condition failure causes unhandled exception for one of the clients
in DEC::writeToClient(). I was unable to find out why Linux can have a 0
mutex and replaced boost::mutex with std::mutex b/c stdlibc++ should
be more stable comparing with boost.
2022-11-24 17:19:24 +00:00
Daniel Lee
93a2e7eb8b Merge pull request #2634 from mariadb-corporation/dlee_mtr_collate_update
Update mtr test case for 'show create table' output
2022-11-23 07:58:44 -06:00
Leonid Fedorov
8323d8e0af Turn on spider builds for CI (#2633) 2022-11-23 01:33:21 +03:00
root
740a2c8a6d Update mtr test case for 'show create table' output 2022-11-22 20:46:13 +00:00
Andrey Piskunov
96c40d5081 Add core dumps and stack trace (#2604)
* Add core dumps and stack trace
2022-11-22 03:29:34 +03:00
Leonid Fedorov
b936ed8b2e Fix some GCC-12 Build errors 2022-11-22 03:28:17 +03:00
Leonid Fedorov
678bd6c91e Update BUILD.md 2022-11-21 15:52:07 +03:00
Roman Nozdrin
84bb4e56b8 Merge pull request #2624 from mariadb-corporation/columnstore-22.08.4-1
Columnstore 22.08.4 1
2022-11-18 19:01:33 +03:00
david.hall
9935431b31 Remove blank lines 2022-11-17 12:02:31 -06:00
Sergei Golubchik
246a4db8de fix C API includes
ColumnStore used to include server's mysql.h
but link all tools with libmariadb.so

There's no guarantee that this would work, even with workarounds
it had in dbcon/mysql/sm.cpp

Fix:
* tools (linked with libmariadb.so) *must* include libmariadb's mysql.h
* as a hack prevent service_thd_timezone.h from being loaded into tools,
  as it conflicts with libmariadb's mysql.h
* server plugin *must* include server's mysql.h
* also don't link every tool with libmariadb.so, link the helper library
  (liblibmysqlclient.so) that actually needs it, tools use this
  helper library, not libmariadb.so directly
2022-11-17 12:02:07 -06:00
Sergei Golubchik
21c3bbce16 do *not* link ha_columnstore.so with libmariadb.so
this means some libraries have to be compiled twice -
for tools with libmariadb.so and for plugin, without.
2022-11-17 11:53:42 -06:00
Sergei Golubchik
ae88ef1823 use system boost, if possible
boost 1.71.0 is what ubuntu focal has, so let's start with that version.
boost 1.77.0 is the first that supports c++20
2022-11-17 11:47:08 -06:00
david.hall
9b84bf57c9 From serg: add dependency for generated header files errorids.h messageids.h 2022-11-17 11:46:10 -06:00
david.hall
8642231666 Changes to compile local 2022-11-17 11:29:21 -06:00
Roman Nozdrin
4b15a7e8a9 Merge pull request #2628 from denis0x0D/MCOL-5265
[MCOL-5265] Change boost:shared_ptr to std::shared_ptr.
2022-11-15 16:45:19 +03:00
Denis Khalikov
e09d24cb8d [MCOL-5265] Change boost:shared_ptr to std::shared_ptr.
This is attempt to make some part of the code more stable.
For some reason we can get a spurious nullptr for boost::shared_ptr
which cause an assert and abort.
2022-11-14 18:53:53 +03:00
David.Hall
61d5f80aa0 MCOL-5279 This approach executes same node DEC::writeToClient the last taking multiple ExeMgrs into account (#2623)
Co-authored-by: Roman Nozdrin <rnozdrin@mariadb.com>
v-columnstore-22.08.4-1
2022-11-11 13:17:45 -06:00
David.Hall
e5f3260c8e Update Version to 22.08.4-1 2022-11-11 13:13:04 -06:00