1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00
Commit Graph

6015 Commits

Author SHA1 Message Date
fad0fd08f0 Disable warnings for 'drop if exists' and 'create if not exist' commands 2022-12-08 11:37:44 -06:00
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
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
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
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
7d812b1b7e Update .drone.jsonnet (#2647) 2022-12-05 21:26:42 +03:00
3ef9751a2a Merge pull request #2643 from mariadb-corporation/dlee_mtr_1pm_folder
Dlee mtr 1pm folder
2022-12-05 11:41:42 -06:00
a1d89d8f31 Merge pull request #2630 from dhall-MariaDB/sergchanges
Sergchanges
2022-12-02 19:08:08 +03:00
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
c0d772559e Moved one more test case to 1pmonly folder 2022-12-02 14:30:43 +00:00
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
945736cc1f Set batch insert flag to 'on'. Fixed a typo 2022-12-01 19:49:24 +00:00
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
7e3ad24437 Serge changes -- Add static joblist lib 2022-11-30 12:46:26 -06:00
6113a6e0e8 Serg Changes from 22.08.5 2022-11-30 11:23:02 -06:00
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
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
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
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
872f574b29 Remove cs-server from builds 2022-11-26 00:12:13 +03:00
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
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
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
8323d8e0af Turn on spider builds for CI (#2633) 2022-11-23 01:33:21 +03:00
740a2c8a6d Update mtr test case for 'show create table' output 2022-11-22 20:46:13 +00:00
96c40d5081 Add core dumps and stack trace (#2604)
* Add core dumps and stack trace
2022-11-22 03:29:34 +03:00
b936ed8b2e Fix some GCC-12 Build errors 2022-11-22 03:28:17 +03:00
678bd6c91e Update BUILD.md 2022-11-21 15:52:07 +03:00
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
9935431b31 Remove blank lines 2022-11-17 12:02:31 -06:00
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
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
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
9b84bf57c9 From serg: add dependency for generated header files errorids.h messageids.h 2022-11-17 11:46:10 -06:00
8642231666 Changes to compile local 2022-11-17 11:29:21 -06:00
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
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
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
e5f3260c8e Update Version to 22.08.4-1 2022-11-11 13:13:04 -06:00
e71bb49267 Merge pull request #2617 from mariadb-corporation/spetrunia-tmp
Add ability to compile against MariaDB with new cost model
2022-11-10 20:49:08 +03:00
b7fc8e4609 Add ability to compile against MariaDB with new cost model
If MariaDB defines MARIADB_NEW_COST_MODEL, then ha_mcs::scan_time()
has a different signature.
2022-11-10 18:16:44 +03:00
4e7b0b9c4c Merge pull request #2616 from mariadb-corporation/do-not-link-mysql-client
Serg`s patch for develop-6 revised for develop
2022-11-10 14:03:17 +03:00
37fd915a08 Serg`s patch for develop-6 revised for develop https://github.com/mariadb-corporation/mariadb-columnstore-engine/pull/2614 2022-11-09 22:41:38 +00:00
f4e3022fbd This commit fixes an incorrect predicate in the if condition (#2608)
that checks for HWM extent in WE_DMLCommandProc::processBatchInsertHwm().
2022-11-08 14:51:42 -06:00
aa372fed58 Merge pull request #2610 from mariadb-corporation/columnstore-22.08.3-1
Columnstore 22.08.3 1
2022-11-06 00:15:13 +03:00
f5aeb1c1a7 Merge branch 'develop' into columnstore-22.08.3-1 v-columnstore-22.08.3-1 2022-11-04 16:12:56 -05:00
09d785fc9b MCOL-5279 This commit fixes the corner case of the issue that can rarely happen when flow control is used to backpressure PPs that overflows EM with Primitive messages. It also adds a relevant test that makes sense in a multi-node scenario only. (#2605)
Co-authored-by: Roman Nozdrin <rnozdrin@mariadb.com>
2022-11-03 16:36:54 -05:00
e3ab19e639 Remove unreferenced variable 2022-11-03 11:29:24 -05:00
4ccab75720 Mcol 5279 2 (#2606)
* MCOL-5279 Send ByteStream with Primitive message to remote PPs first
and to the local PP last

MCOL-5166 forces EM to interact with PP over a messaging queue when they are in the same process. When ByteStream is taken from the queue it is drained so it is impossible to re-use the same ByteStream to send to the other nodes.

* MCOL-5279 Fix a corner case when sending PP messages
Multi-node can break when flow control is used to backpressure PPs that overflows EM with Primitive messages.
2022-11-03 09:42:12 -05:00
88404f70f1 MCOL-5013: added terminated_by, enclosed_by, escaped_by for s3dataload 2022-11-03 15:46:08 +03:00