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
Roman Nozdrin
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
Sergei Petrunia
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
Roman Nozdrin
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
Leonid Fedorov
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
Gagan Goel
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
Roman Nozdrin
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
David.Hall
f5aeb1c1a7
Merge branch 'develop' into columnstore-22.08.3-1
v-columnstore-22.08.3-1
2022-11-04 16:12:56 -05:00
Roman Nozdrin
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
David.Hall
e3ab19e639
Remove unreferenced variable
2022-11-03 11:29:24 -05:00
David.Hall
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
Leonid Fedorov
88404f70f1
MCOL-5013: added terminated_by, enclosed_by, escaped_by for s3dataload
2022-11-03 15:46:08 +03:00
Roman Nozdrin
e3505aa26c
Merge pull request #2601 from mariadb-corporation/MCOL-5227
...
func json_arrayagg test adjustments
2022-11-03 01:57:10 +03:00
David.Hall
a1c8f519c1
MCOL-5279 Send ByteStream with Primitive message to remote PPs first ( #2603 )
...
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.
2022-11-02 16:09:45 -05:00
david.hall
eef1495105
Update VERSION to 22.08.3-1
2022-11-02 15:50:01 -05:00
mariadb-AndreyPiskunov
8b4be1b7f9
func json_arrayagg test adjustments
2022-11-02 16:07:45 +02:00
Roman Nozdrin
c2ae123020
Merge pull request #2600 from drrtuy/MCOL-5279
...
MCOL-5279 This patch forces to send ByteStream with a Primitive messa…
2022-11-02 15:35:08 +03:00
Roman Nozdrin
76a33ac246
MCOL-5279 This patch forces to send ByteStream with a Primitive message to the 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.
2022-11-01 19:54:52 +00:00
David.Hall
6d680ceb8c
MCOL-603 Add error message for sum(a=1) ( #2597 )
...
* MCOL-603 Add error message for sum(a=1)
This isn't currently supported, but rather than emitting an error, it asserted and crashed.
2022-11-01 10:13:40 -05:00
mariadb-RomanNavrotskiy
511a9e726f
This patch adds new Perl dependencies needed for MTR in RPM-based distros and does a housekeeping for changed paths
2022-11-01 17:51:41 +03:00
mariadb-AndreyPiskunov
33b09f5499
Add truncate for result consistency
2022-10-31 20:38:08 +03:00
Roman Nozdrin
8ff367e58a
Merge pull request #2592 from mariadb-corporation/MCOL-5227
...
MCOL-5227
2022-10-31 20:34:01 +03:00
mariadb-AndreyPiskunov
d7f4ec73c5
Small fixes + test sorting
2022-10-31 14:56:32 +02:00
mariadb-AndreyPiskunov
b57d2c30fe
Minor fixes
2022-10-31 14:56:32 +02:00
mariadb-AndreyPiskunov
315e4be2d8
First working attempt for json_arrayagg
2022-10-31 14:56:32 +02:00
mariadb-AndreyPiskunov
1714b75434
Non working attempt to do MCOL-5227
2022-10-31 14:56:32 +02:00
Roman Nozdrin
d22627af7d
Merge pull request #2566 from denis0x0D/MCOL-5191_1
...
MCOL-5191 Add MCV statistics.
2022-10-30 15:49:46 +03:00
Roman Nozdrin
567a5657ee
Merge pull request #2593 from drrtuy/constnullablestring
...
Adding NULL flag into ConstString class
2022-10-23 16:54:08 +03:00
Roman Nozdrin
a0086bc561
Adding NULL flag into ConstString class
2022-10-21 18:13:18 +00:00