1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00
Commit Graph

159 Commits

Author SHA1 Message Date
86159cc899 Migration for Boost 1.85
Boost 1.85 removed some deprecated code in filesystem module which is
still used in columnstore:

- The boost/filesystem/convenience.hpp was removed but columnstore does
  not use any functionality from that file except indirect includes.
  Therefore this include is removed or replaced with more general
  boost/filesystem.hpp. The convenience.hpp header file was deprecated
  in filesystem V3 introduced in Boost 1.46.0.

- `normalize` method was removed and users are suggested to replace it
  with `lexically_normal` method, which was introduced in Boost 1.60.0.
  Original `normalize` call is preserved for backward compatibility with
  old Boost version, however`, `lexically_normal` method is preferably
  used with Boost 1.60.0 and newer.

- The `copy_option` was removed in favor of `copy_options` (note the
  trailing 's'), but enum values were renamed. Namely, `fail_if_exists`
  is replaced with `none` and `overwrite_if_exists` is replaced with
  `overwrite_existing`. The `copy_options` was introduced in Boost
  1.74.0.

  New form is used instead, but a backward compatibility layer for Boost
  1.73.0 and older was introduced in boost_copy_options_compat.hpp file.
  This solution seems to be less awkward than using multiple #if #else
  #endif blocks in source code.
2025-02-23 02:52:52 +04:00
8e9479f580 chore(build): boost API related compilation issues (#3394)
storage-manager/src/Ownership.cpp:80:18: error: ‘class boost::filesystem::path’ has no member named ‘lexically_normal’

Boost 1.53.0
2025-01-27 09:59:23 +00:00
502546d8f1 fix(compilation): fix compilation with gcc 13.2.1 (#3069)
* bump-version

* fix compilation with gcc 13.2.1

---------

Co-authored-by: Leonid Fedorov <leonid.fedorov@mariadb.com>
Co-authored-by: Sergei Golubchik <serg@mariadb.com>
2024-08-29 14:27:52 +03:00
baae1f66a5 * fix(compilation): New warn AKA 3919c541 backport
* fix(compilation): `New warn` AKA 3919c541 backport

* chore: Bump version to 6.4.8-2
2024-04-24 14:33:13 +03:00
757905f0a4 Fix/mcol 5611 5612 fedora build issues dev 6 (#3040)
* fix(build): include dequeue to satisfy fc39 compiler

* fix(build): MCOL-5612 const func pointer assignement must happen after func definition to satisfy modern compilers static analyzer

---------

Co-authored-by: Roman Nozdrin <rnozdrin@mariadb.com>
2023-11-29 19:34:41 +03:00
d31b669995 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-02 18:47:44 +01:00
7a4bc4509b Sanitizers are not ready for all Distros 2022-09-21 22:45:28 +03:00
7b958d50bb Fixing some test for StorageManagerm commenting all broken rest 2022-09-21 22:45:28 +03:00
f951e41432 MCOL-4989: Fix error handling for misconfigured StorageManager startup. (#2384) 2022-06-02 09:14:27 -05:00
0c0379db8e MCOL-3983: always set threadpool max threads in storagemanager (#2268) 2022-02-23 12:21:59 -06:00
7c808317dc clang format apply 2022-02-11 12:24:40 +00:00
ef09342d47 MCOL-4839: Fix clang build (#2102)
* Fix clang build

* Extern C returned to plugin_instance

Co-authored-by: Leonid Fedorov <l.fedorov@mail.corp.ru>
2021-08-23 15:58:56 -05:00
211d047186 Merge pull request #1907 from benthompson15/MCOL-4598
MCOL-4598: Fix the syslog setup script.
2021-04-29 16:41:08 -05:00
1eea9f9e47 MCOL-4598: Fix the syslog setup script. Add syslog options for broken/non-syslog setup. 2021-04-29 16:34:53 -05:00
b4b9bdf046 MCOL-4599: Comment in storagemanager.cnf explaining default endpoint usage. 2021-04-29 14:35:00 -05:00
401c0fd5c7 MCOL-3542: Add ability to set libmarias3 options via StorageManager cnf file. 2021-03-31 16:13:03 -05:00
8dde6c5cb0 MCOL-4386: remove debug logging 2021-03-30 13:10:31 -05:00
a953409df5 MCOL-4386: Create new StorageManager setting for EC2 using assigned IAM credentials. 2021-03-30 13:10:12 -05:00
438d6949d5 MCOL-4437: change VLArray definition for ScopedCloser 2020-12-10 09:33:05 -06:00
02dd4f6ab6 MCOL-3889: use ENGINE_DATADIR cmake value for storagemanager.cnf paths 2020-12-03 16:32:00 -06:00
b25fee320a Remove variable-length arrays (-Wvla) 2020-11-17 15:03:10 +03:00
0e29b0b0f9 Fix -Wtype-limits 2020-11-17 15:03:10 +03:00
ab44ef6ddb MCOL-4170 Refactor services/systemd units to finish their bootstrap ... 2020-11-09 12:01:16 +04:00
ffd96d0315 A preparatory patch for MCOL-4170 Refactor services/systemd units to finish their bootstrap ...
Moving signal initialization code into separate functions.
2020-11-06 11:58:31 +04:00
8ff81e5d45 MCOL-4347: catch exceptions during smcat/smls/smput/smrm on IOC::get() 2020-10-15 15:49:51 -05:00
ac258dc94d MCOL-4347: catch exceptions at init and shutdown SM 2020-10-15 15:49:47 -05:00
d56e2453d6 MCOL-4347: Better handling of getConnection() returning NULL from libmarias3 init. 2020-10-15 15:49:44 -05:00
eb79e604e0 Fix for IAM/STS to have sts_region configurable and not tied to S3 bucket region. 2020-10-15 15:40:53 -05:00
0bb2361254 Fix iam_role_name usage comments. 2020-10-15 15:34:49 -05:00
039521fe91 Fix phrasing of error and cnf comments 2020-10-15 15:34:45 -05:00
bddea43178 add post-install setting of iam_role_name and sts_endpoint thru ENV variables. 2020-10-15 15:34:42 -05:00
00d264cc3f Fix warning messages. 2020-10-15 15:34:31 -05:00
b3f5142141 renamed assumeRole to assume_role. 2020-10-15 15:34:25 -05:00
473af161c3 MCOL-3976:AWS S3 support for IAM roles. Initial commit. 2020-10-15 15:34:13 -05:00
9bc0f2e5ab Replaced the special quotes in storagemanager.cnf with regular ascii
ones.
2020-09-04 16:46:27 -04:00
8a89cb8986 MCOL-3494: cleaner way to do this. 2020-08-26 13:09:26 -05:00
0b32ad8107 Set errno before returning. 2020-08-26 13:09:06 -05:00
2951dbed39 MCOL-3494: make option for testing configuration to skip retryable errors. 2020-08-26 13:08:51 -05:00
4b46f55d6a Fixed a race in storagemanager. On startup it would run a connectivity
test to verify it can use S3.  The key of the object it tests with is
constant, so there can be interference between multiple SM instances that
happen to be doing this at the same time.  The fix is to include a
UUID in the key.
2020-08-25 09:59:07 -04:00
eac7dab096 MCOL-4030: first commit of warning removals unneed const and missing virtual dtors. 2020-06-23 13:51:36 -05:00
4bddc92092 MCOL-4010 - fixes compilation errors on x64 w/-Werror
Merged in Sergei's patch.
2020-06-01 12:52:43 -04:00
2e65619cb1 Fixed an error msg; the function name was wrong. 2020-05-27 16:37:51 -04:00
cd5e872104 Removed unnecessary debugging printouts/logging, fixed a couple add'l bugs. 2020-05-27 16:37:51 -04:00
6fd24d2d06 Added code to delete orphaned objects from the cache & from cloud storage. 2020-05-27 16:37:51 -04:00
33558881ab Fixed the problem with using the correct length for new objects in copyFile.
The metadata should contain the merged length, the object name should
contain the pre-merged length.
2020-05-27 16:37:51 -04:00
c2c23b8098 Snapshotting the changes so far, we'll have to come back to it later. 2020-05-27 16:37:51 -04:00
faa35ebeeb Tentative commit, hunting down a source of misbehavior.
Conflicts:
	storage-manager/src/IOCoordinator.cpp
2020-05-27 16:37:46 -04:00
359beb9c96 Suppressed logging self-correcting problems.
It will start logging as an err if it does not self-correct after 10 attempts,
and will escalate to crit after 20 attempts.

Also fixed a silly error where it was checking the file size after it
deleted the file.
2020-05-27 16:36:18 -04:00
5d8470b91f Fixed a length parameter after a partial write. 2020-05-27 16:36:18 -04:00
43585d55cd Added error detection to the new ::rename calls. 2020-05-27 16:36:18 -04:00