Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mariadb (sorry): fix missing pthread mutex init after calloc #661

Closed
wants to merge 455 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
455 commits
Select commit Hold shift + click to select a range
096d634
Merge remote-tracking branch 'origin/4.x-sles' into 4.ee-sles
temeo May 12, 2020
2caa1c5
Merge branch '4.x-bump-version-null-merge' into 4.ee-bump-version-nul…
temeo May 26, 2020
421a48c
Merge branch 'galera-bugs#458-4.x' into galera-bugs#458-4.ee
ayurchen Jun 12, 2020
d2873a5
Merge branch 'galera-bugs#490-4.x' into galera-bugs#490-4.ee
ayurchen Jun 14, 2020
5d0a42c
Galera release 26.4.5
sysprg Jun 15, 2020
81adb2d
Merge branch 'galera-bugs#494-4.x' into galera-bugs#494-4.ee
ayurchen Jun 17, 2020
daca079
Merge branch '4.x-galera#572' into 4.ee-galera#572
temeo Jun 18, 2020
4badaf8
Fix merge errors.
Jun 17, 2020
6fd44b6
Convert 'Trying to continue unpaused monitor' to debug level message
ayurchen Jun 17, 2020
b778f23
TODO-2365 scons binary name is different on rhel-8, build fails
Jun 18, 2020
b3764ab
Increase test timeouts on some tests.
Jun 18, 2020
26aae96
Merge branch '4.x-galera#574' into 4.ee-galera#574
temeo Jun 22, 2020
508ca17
Merge branch 'signed_char-4.x' into signed_char-4.ee
ayurchen Jun 23, 2020
1c30227
Merge branch 'signed_char-4.x' into signed_char-4.ee
ayurchen Jun 25, 2020
09258d2
Merge branch '4.x-asan' into 4.ee-asan
temeo Jul 1, 2020
971d938
Fixed further memory leaks reported by ASAN.
temeo Jul 1, 2020
f8c6e89
Merge branch '4.x-asan' into 4.ee-asan
temeo Jul 1, 2020
17c3b11
Null Merge branch '4.x-asan' into 4.ee-asan
temeo Jul 2, 2020
f7b96ee
Merge branch 'crc32c-4.x' into crc32c-4.ee
ayurchen Jul 6, 2020
e2b80b1
Merge branch '4.x-fix-ist-receiver-null-ptr' into 4.ee
Jul 7, 2020
c2a2078
Merge branch 'asan_fixes-4.x' into asan_fixes-4.ee
ayurchen Jul 8, 2020
f9afee5
Merge branch '4.x-whitesource' into 4.ee-whitesource
temeo Jul 9, 2020
a65a501
Merge branch '4.x-evanjones-cleanup' into 4.ee-evanjones-cleanup
temeo Jul 14, 2020
21ea985
Merge branch 'fix-libcheck-4.x' into fix-libcheck-4.ee
ayurchen Sep 6, 2020
e1bd84b
Merge branch 'fix-libcheck-4.x-fedora-33' into fix-libcheck-4.ee
temeo Sep 7, 2020
cff9257
codership/galera#577 Format string fixes in unit tests.
temeo Sep 7, 2020
f22d005
Merge remote-tracking branch 'origin/4.x-asan-fixes' into 4.ee-asan-fix
Sep 21, 2020
521b688
Merge branch '4.x-fix-voting-leak' into 4.ee-fix-voting-leak
temeo Sep 30, 2020
2b6907f
Merge branch '4.x-26.4.6' into 4.ee
temeo Sep 30, 2020
9c3ef5b
Merge branch '4.x-galera-284' into 4.ee-galera-284
temeo Oct 7, 2020
5e9f639
Merge branch '4.x-galera-bugs#555' into 4.ee-galera-bugs#555
temeo Oct 12, 2020
efcd438
Merge tag release_26.4.6 into mariadb-4.x
Oct 21, 2020
1d8d67c
Fix try to compiler error on aaarch64 in galerautils/src/gu_crc32c_ar…
Oct 22, 2020
ae59324
Merge branch '4.x-galera#579' into 4.ee-galera#579
temeo Oct 23, 2020
027b3e6
Merge branch 'arm-crc32-fix-4.x' into 4.ee
ayurchen Nov 6, 2020
5c2efca
Merge branch '4.x-cmake' into 4.ee-cmake
temeo Nov 8, 2020
d7f35c4
CMake fixes to get 4.ee compiled.
temeo Nov 9, 2020
2a37f28
Merge branch '4.x-cmake' into 4.ee-cmake
temeo Nov 9, 2020
064cfcd
Merge branch '4.x-cmake' into 4.ee-cmake
temeo Nov 9, 2020
95be52a
Merge branch '4.x-cmake' into 4.ee-cmake
temeo Nov 9, 2020
f50c295
Merge branch '4.x-cmake' into 4.ee-cmake
temeo Nov 10, 2020
9eae431
Merge branch '4.x-cmake' into 4.ee-cmake
temeo Nov 12, 2020
1db2e91
Merge branch '4.x-cmake' into 4.ee-cmake
temeo Nov 12, 2020
39db73e
Merge branch 'galera-bugs#569-4.x' into galera-bugs#569-4.ee
ayurchen Nov 13, 2020
bf222fa
Merge branch '4.x-cmake-valgrind' into 4.ee-cmake-valgrind
temeo Nov 15, 2020
b1ff6bf
Merge branch '4.x-suppress-warnings' into 4.ee-suppress-warnings
temeo Nov 17, 2020
2baa795
Merge branch '4.x-UUID_compare_fixed_parts_intersection' into 4.ee-UU…
Nov 19, 2020
72e973d
Merge branch '4.x-cmake-deb-fixes' into 4.ee-cmake-deb-fixes
temeo Nov 20, 2020
a0f9177
Added missing libboost-filesystem-dev into Debian Build-Depends
temeo Nov 23, 2020
4b65051
Misc fixes for Debian packaging in Galera 4
ottok Nov 24, 2020
4161e06
Merge branch '4.x-cmake-rpm' into 4.ee-cmake-rpm
temeo Dec 8, 2020
74894a1
Merge branch 'galera-bugs#592-4.x' into galera-bugs#592-4.ee
ayurchen Dec 22, 2020
a87ad85
Merge branch '4.x-enable-sst-v0-request' into 4.ee-enable-sst-v0-request
ayurchen Dec 27, 2020
94410ab
Merge branch '4.x-fix-cmake-freebsd' into 4.ee-fix-cmake-freebsd
temeo Dec 28, 2020
63922b3
Merge branch '4.x-26.4.7' into 4.ee-26.4.7
temeo Dec 28, 2020
0a9a937
Merge branch '4.x-git-revision' into 4.ee-git-revision
temeo Dec 29, 2020
add7cd5
Merge branch '4.x-fix-post-build-checks' into 4.ee-fix-post-build-checks
temeo Jan 7, 2021
708d82a
Merge branch '4.x-fix-ndebug' into 4.ee-fix-ndebug
temeo Jan 12, 2021
f6ab7d8
Merge branch '4.x-asio-refact' into 4.ee-asio-refact
temeo Jan 12, 2021
4c0ef44
Stream engine based on wsrep TLS service
temeo Jan 12, 2021
4e7fdad
Merge branch '4.x-asio-refact' into 4.ee-asio-refact
temeo Jan 12, 2021
ab9d910
Merge branch '4.x-asio-refact' into 4.ee-asio-refact
temeo Jan 14, 2021
1eb89e6
Fixed uninitialized `tls_service_` in AsioErrorCode constructor
temeo Jan 14, 2021
c77e60f
Merge remote-tracking branch 4.x into mariadb-4.x
Jan 20, 2021
23406f1
Build fixes.
Jan 20, 2021
d369be1
Implementation of the Out-Of-Order membership service returning immed…
ayurchen Nov 18, 2020
b17b178
Fix scons build to build and run wsrep_tests
ayurchen Jan 16, 2021
ee4f10f
Fix rpm
Jan 20, 2021
6768f66
Merge branch '202101_cleanups-4.x' into 202101_cleanups-4.ee
ayurchen Jan 23, 2021
ef85e63
Merge remote-tracking branch 'origin/4.x' into 4.ee-galera-571
temeo Jan 27, 2021
f5052f8
codership/galera#571 Fix merge errors
temeo Jan 27, 2021
1098fb1
Merge branch '4.x-cla' into 4.ee
temeo Feb 1, 2021
a1ddcc6
Fix packaging on sles12
cvicentiu Feb 2, 2021
154331e
scripts/packages/rpm.sh - fix typo
cvicentiu Feb 2, 2021
8fc4dc6
Fix RPM packaging for OpenSuse 42
cvicentiu Feb 2, 2021
bdf9064
Merge branch '4.x-cmake-atomic_8' into 4.ee-cmake-atomic_8
temeo Feb 9, 2021
08a3253
Merge branch '4.x-reload-ssl' into 4.ee-reload-ssl
Feb 9, 2021
7ee237f
Merge branch '4.x-nbo-certification-leak' into 4.ee-nbo-certification…
sciascid Feb 16, 2021
c7bfa6b
Merge branch '4.x-terminate-called' into 4.ee-terminate-called
temeo Feb 18, 2021
364cc37
Merge branch 'freebsd-bswap-4.x' into freebsd-bswap-4.ee
ayurchen Feb 19, 2021
557dc81
Fix segfaut in the warning message in gcs_sm.hpp
ayurchen Feb 19, 2021
fcc301b
Merge branch '4.x-freebsd-fixes' into 4.ee-freebsd-fixes
temeo Feb 23, 2021
63e9c25
Add galera_version_wsrep_api to galera_version so that
Feb 23, 2021
727af20
Merge branch '4.x-asio-react-cleanup' into 4.ee-tls-service
temeo Feb 23, 2021
f7b22a6
Store TLS stream pointer into AsioErrorCode
temeo Feb 18, 2021
41cac3b
Merge branch 'galera-ssl-fixes-4.x' into galera-ssl-fixes-4.ee
ayurchen Mar 2, 2021
a432ebb
Fix compilation warning about uninitialized member in AsioErrorCode ctor
ayurchen Mar 2, 2021
c09fa01
Merge branch '4.x-clear-seqno-before-ist' into 4.ee-clear-seqno-befor…
temeo Mar 3, 2021
f6524c1
Merge branch '4.x-galera-with-ssl' into 4.ee-galera-with-ssl
temeo Mar 3, 2021
c344ef0
Merge branch '4.x-asio-dynamic-engine-timeout' into 4.ee-asio-dynamic…
Mar 12, 2021
ffcabc2
Implementation of `scheme()` virtual function for AsioWsrepStreamEngine
Mar 22, 2021
0a1f767
Merge remote-tracking branch 'origin/4.x-dynamic-engine-ssl-fixes' in…
Mar 24, 2021
c205739
Merge branch 'galera-bugs#663-4.x' into galera-bugs#663-4.ee
ayurchen Mar 25, 2021
321f5dc
Merge branch '4.x-26.4.8' into 4.ee-26.4.8
temeo Mar 26, 2021
36970e5
Merge remote-tracking branch 4.x into mariadb-4.x
Mar 31, 2021
424873e
Bump version and update wsrep/src
Mar 31, 2021
1ccc159
Add timeout
Apr 5, 2021
88a8c7e
Fix CRC32C detection for ARM architectures
temeo Apr 6, 2021
bb2154e
Merge branch '4.x-fix-centos7-arm' into 4.ee-fix-centos7-arm
temeo Apr 7, 2021
902dd26
Fix wsrep/src submodule commit.
Apr 8, 2021
608d9d2
Merge branch '4.x-galera-bugs-672' into 4.ee-galera-bugs-672
temeo Apr 16, 2021
2b3b9e1
Remove .bzrignore
cvicentiu Apr 21, 2021
cdae5e5
Fix address scheme to ssl if wsrep TLS hooks have been enabled
temeo Apr 30, 2021
2f54ad0
Merge branch '4.x-dummy-depends-seqno' into 4.ee-dummy-depends-seqno
sciascid May 25, 2021
d2d5ea4
Merge branch '4.x-depends-seqno-fixup' into 4.ee-depends-seqno-fixup
sciascid May 28, 2021
6df4aa2
Merge branch '4.x-galera-bugs-684' into 4.ee-galera-bugs-684
temeo Jun 2, 2021
6bfe6aa
Merge branch '4.x-galera-558' into 4.ee-galera-558
temeo Jun 16, 2021
abd0cc0
Merge branch 'galera-bugs#681-4.x' into galera-bugs#681-4.ee
ayurchen Jun 19, 2021
f6116a9
Change project name to galera-enterprise-4
temeo Jun 27, 2021
e7fc4bb
Merge branch '4.x-galera-595' into 4.ee-galera-595
temeo Jun 29, 2021
f9eb2a6
Merge branch '4.x-monitor-waits' into 4.ee-monitor-waits
temeo Jul 8, 2021
1ecf29e
Merge branch '4.x-galera-bugs-705' into 4.ee-galera-bugs-705
temeo Jul 13, 2021
4125914
Merge branch 'gcache-issues-4.x' into gcache-issues-4.ee
ayurchen Jul 13, 2021
67e39a0
don't attempt to access plaintext copy when no encryption is enabled.
ayurchen Jul 15, 2021
054e999
Merge branch 'recovery-exception-4.x' into recovery-exception-4.ee
ayurchen Jul 15, 2021
f5b6d04
codership/galera-bugs#714 handshake failed with duplicate uuid
temeo Jul 18, 2021
c71a989
Merge branch '4.x-4.9' into 4.ee-4.9
temeo Jul 21, 2021
49e9a22
Merge branch '4.x-ssl-reload-param' into 4.ee-ssl-reload-param
Jul 22, 2021
b199440
Merge remote-tracking branch 4.x into mariadb-4.x
Jul 27, 2021
819f29c
Bump version
Jul 27, 2021
7b54fa1
Merge branch 'local_monitor_enter_sync-4.x' into local_monitor_enter_…
ayurchen Sep 11, 2021
9c0ff97
codership/galera-bugs#702 Provide both SSL and noSSL packages for Gal…
temeo Sep 17, 2021
82bcfea
Merge pull request #735 from codership/4.ee-nossl-package
abychko Oct 7, 2021
9cac4fc
Merge branch 'galera-bugs#679' into galera-bugs#679-4.ee
ayurchen Oct 8, 2021
4b8990f
Merge branch '4.x-fix-cmake-ssl' into 4.ee-fix-cmake-ssl
temeo Oct 14, 2021
1877e40
Merge branch 'galera-openssl-license-4.x' into galera-openssl-license…
abychko Oct 15, 2021
b93e3b3
Merge branch '4.x-deprecate-fc_master_slave' into 4.ee-deprecate-fc_m…
temeo Nov 9, 2021
afd46af
Merge branch '4.x-26.4.10' into 4.ee-26.4.10
temeo Nov 10, 2021
a6aa74b
Merge branch 'api-update-4.x' into api-update-4.ee
ayurchen Nov 11, 2021
09848b6
Merge branch 4.ee into mariadb-4.x
Nov 11, 2021
9ce2e17
MENT-346: Performanche Schema tables for Galera
sysprg Jun 29, 2021
6541e43
MENT-1333: fix data type for some fields in P_S for Galera
sysprg Oct 13, 2021
1e59a01
Merge branch '4.x-galera-606' into 4.ee-galera-606
temeo Nov 23, 2021
54a6354
Merge branch '4.x-no-release-null' into 4.ee-no-release-null
temeo Nov 25, 2021
b03d470
Merge remote-tracking branch 'origin/4.x-allowlist' into 4.ee-allowlist
Dec 6, 2021
7c577c2
Merge remote-tracking branch 'origin/4.x-wsrep-api-update' into 4.ee-…
Dec 6, 2021
3152fe9
Merge remote-tracking branch 'origin/4.x-allowlist-implementation-cod…
Dec 9, 2021
4df8b5d
Merge remote-tracking branch 'origin/4.x-as-submodule' into 4.ee-as-s…
temeo Dec 9, 2021
6d5390a
Merge branch 'progress-4.x' into progress-4.ee
ayurchen Dec 13, 2021
dff8a3e
Fixup to previous merge
ayurchen Dec 13, 2021
8feb555
Merge branch 4.ee into mariadb-4.x
Dec 14, 2021
71c9d8e
Bump version to 26.4.11dev
Dec 14, 2021
da60ce8
Merge remote-tracking branch 'origin/4.x-allowlist-unescape-ipv6-addr…
Dec 16, 2021
48236c1
Merge remote-tracking branch 4.ee into mariadb-4.x
Dec 17, 2021
dc5fbff
Merge branch '4.x-26.4.11' into 4.ee-26.4.11
temeo Jan 10, 2022
aa09533
Merge remote-tracking branch 4.x into mariadb-4.x
Jan 12, 2022
3419c20
Merge branch '4.x-fix-donor-resync' into 4.ee-fix-donor-resync
temeo Jan 14, 2022
67341d0
Merge remote-tracking branch 4.ee into mariadb-4.x
Jan 18, 2022
4deaf2c
Merge branch 'galera-bugs#773-4.x' into galera-bugs#773-4.ee
ayurchen Jan 23, 2022
0e8a588
Merge branch '4.x-galera-611' into 4.ee-galera-611
temeo Jan 25, 2022
f394216
Debian packaging for Galera enterprise #408
abychko Jan 26, 2022
9bdc81c
Merge pull request #782 from codership/4.ee-deb-packaging
abychko Jan 26, 2022
774e272
Merge remote-tracking branch 4.x into mariadb-4.x
Feb 3, 2022
1cdb054
Merge branch 'gcache-warning-4.x' into gcache-warning-4.ee
ayurchen Feb 4, 2022
23c3e7d
Merge branch 'galera-bugs#789-4.x' into galera-bugs#789-4.ee
ayurchen Feb 6, 2022
a8a885b
Merge branch '4.x-25.3.36-null' into 4.ee-25.3.36-null
temeo Feb 6, 2022
0326fb7
Merge branch 'garb-fixes-4.x' into garb-fixes-4.ee
ayurchen Mar 8, 2022
6ae852a
Merge remote-tracking branch 'origin/4.x-catch-remote_addr-exceptions…
Mar 18, 2022
71efd4d
Merge branch '4.x-old-boost-fix' into 4.ee-old-boost-fix
temeo Mar 21, 2022
0706555
Merge remote-tracking branch 'origin/4.x-implicit-enabled-ssl' into 4…
Mar 30, 2022
d51ad87
Merge branch '4.x-26.4.12' into 4.ee-26.4.12
temeo Apr 22, 2022
9a606fd
Merge branch '4.x-update-asio' into 4.ee-update-asio
temeo May 18, 2022
a8241d3
Merge tag 'release_26.4.12' into mariadb-4.x
May 19, 2022
87f9357
rhel5 is EoL
cvicentiu May 19, 2022
a12145f
Merge remote-tracking branch 'origin/mariadb-4.x-test' into mariadb-4.x
May 24, 2022
2bdbdc3
Merge remote-tracking branch 'origin/4.x-before-replicate-sync-debug-…
May 26, 2022
2d66b23
Merge remote-tracking branch 'origin/4.x-suppress-ssl-eof-while-readi…
temeo May 26, 2022
1eac5b6
Suppress EOF-while-reading error for OpenSSL 3.0
temeo May 26, 2022
1de6a0e
Merge remote-tracking branch 'origin/4.x-26.4.13' into 4.ee
temeo Jul 4, 2022
f9ac715
Merge branch '4.x-config-service' into 4.ee-config-service
sciascid Jul 14, 2022
cf7e675
Fixup missing gcache.keep_plaintext_size param
sciascid Jul 14, 2022
84bdd94
Add keyring_vault plugin build options to cmake config
ayurchen Jul 13, 2022
fa8aac5
Fix setting of `gcache.keep_plaintext_size` parameter.
ayurchen Jul 13, 2022
cf109c4
Fix old-style-cast warning from fd48cafba
ayurchen Jul 18, 2022
8dc627d
Merge remote-tracking branch 4.ee into mariadb-4.x
Sep 14, 2022
6116fa7
Fix automatic merge error.
Sep 27, 2022
75b897b
Fix debian/changelog
Oct 12, 2022
256c415
Fix mess on debian installation
Oct 12, 2022
7583c7f
Fix automatic merge error on debian packaking.
Sep 27, 2022
b4bcffa
Merge branch 'mariadb-4.x-test' into mariadb-4.x
Oct 13, 2022
0675b01
Fix Galera cache page file name.
ayurchen Oct 14, 2022
fe497ae
Merge remote-tracking branch 'wsrep/4.ee' into mariadb-4.x
Oct 24, 2022
fa68e7c
Merge remote-tracking branch 'origin/4.x-asio-1.14.1' into 4.ee-asio-…
temeo Oct 27, 2022
42765b9
Merge branch 'build_fixes-4.x' into build_fixes-4.ee
ayurchen Oct 31, 2022
6845834
Merge branch '4.x-gcs-gcomm-leak' into 4.ee-gcs-gcomm-leak
temeo Nov 2, 2022
e6c1388
Downgraded embedded asio to 1.14.1
temeo Oct 27, 2022
2a84544
Merge branch '4.x-evict-event' into 4.ee-evict-event
denis-protivensky Dec 5, 2022
c556b8c
Merge branch '4.ee' into mariadb-4.x
Dec 8, 2022
87f5ecb
Merge branch '4.x-galera-630' into 4.ee-galera-630
sciascid Dec 21, 2022
0c2a458
Merge remote-tracking branch 'wsrep/4.ee' into mariadb-4.x
Dec 27, 2022
341adbe
Merge remote-tracking branch 'origin/4.x-deprecated-options' into 4.e…
temeo Jan 4, 2023
ace3b13
Bump version to 26.4.14
temeo Jan 23, 2023
a95675f
Merge branch '4.x-26.4.14' into 4.ee-26.4.14
temeo Jan 23, 2023
cf9e5e2
Merge remote-tracking branch 'wsrep/4.ee-26.4.14' into mariadb-4.x
Jan 24, 2023
394ad5a
Use release number instead of code name to build Debian packages (#6)
WilliamDEdwards Jan 25, 2023
a8119ba
Merge remote-tracking branch 'origin/4.x-galera-bugs-851' into 4.ee-g…
sciascid Jan 25, 2023
ee2c1a2
Terminate called after throwing an instance of 'std::regex_error'
sciascid Jan 24, 2023
510ab22
Relax comparison of doubles in unit test test_period_from_double
sciascid Jan 24, 2023
91c685c
Merge remote-tracking branch 'origin/4.x-26.4.14' into 4.ee-26.4.14
temeo Jan 26, 2023
7c05d87
Fix merge error
Jan 26, 2023
3b8951b
MDEV-30478 Galera package naming is broken: same name for all debs
grooverdan Jan 27, 2023
06a0c28
Merge branch wsrep/4.ee into mariadb-4.x
Jan 27, 2023
bda26d3
Merge remote-tracking branch 'origin/4.x-gcs_memb-timeout' into 4.ee-…
temeo Jan 27, 2023
4671465
Merge branch 'maintenance-4.x' into maintenance-4.ee
ayurchen Jan 28, 2023
eb27e9a
Merge remote-tracking branch 'origin/4.x-deprecate-protonet-backend' …
temeo Feb 3, 2023
fe6a2e8
Merge branch '4.x-cleanup-progress' into 4.ee-cleanup-progress
temeo Mar 8, 2023
c08884f
Merge branch '4.x-fix-assertion' into 4.ee-fix-assertion
sciascid Mar 15, 2023
2c40f55
MDEV-23117 : Galera build script does not work in RHEL 8
janlindstrom Apr 6, 2023
6110b61
Merge branch '4.x-fix-cert-index-preload' into 4.ee-fix-cert-index-pr…
temeo Apr 9, 2023
1bdb321
Fix writeset waiting for terminate_trx()
sciascid Nov 2, 2022
4186ce4
Merge branch '4.x-26.4.15' into 4.ee-26.4.15
temeo Jun 13, 2023
ab1136a
Merge remote-tracking branch 'origin/4.x-refactor-cert' into 4.ee-ref…
temeo Jul 3, 2023
aff9468
Fix compilation issues with the writeset waiters commit
ayurchen Jul 5, 2023
72e250f
Merge branch '4.x-fix-key_entry_ng' into 4.ee-fix-key_entry_ng
temeo Jul 10, 2023
bc8c7eb
Merge branch '4.x-gb-886' into 4.ee-gb-886
temeo Aug 12, 2023
9a5afd6
Merge branch '4.x-26.4.16' into 4.ee-26.4.16
temeo Aug 14, 2023
4218caf
Merge tag 'release_26.4.16' into mariadb-4.x
janlindstrom Aug 22, 2023
e046ccf
build.sh: RET already defined
grooverdan Sep 1, 2023
2d60de5
Merge branch 'zero-cert-4.x' into zero-cert-4.ee
ayurchen Sep 8, 2023
ed87212
Fix std::find_if() usage at certify_nbo()
ayurchen Sep 10, 2023
9be5dd5
Merge branch '4.x-ubsan' into 4.ee-ubsan
ayurchen Oct 3, 2023
944228f
Hide wsrep_provider_option variable protonet.backend
janlindstrom Oct 9, 2023
5df8884
Merge remote-tracking branch 'origin/4.x-fix-gcomm-ub' into 4.ee-fix-…
ayurchen Oct 10, 2023
613d2dc
Merge remote-tracking branch 'origin/4.x-gh-647' into 4.ee-gh-647
temeo Oct 12, 2023
1138aa1
Merge branch '4.x-gh-558-fixes' into 4.ee-gh-558-fixes
temeo Oct 12, 2023
b5aeff3
Merge branch '4.x-fix-datagram-detection' into 4.ee-fix-datagram-dete…
temeo Oct 16, 2023
cce7250
Merge branch 'cflags-4.x' into cflags-4.ee
ayurchen Oct 21, 2023
723f174
Merge branch 'commit-cut-race-4.x' into commit-cut-race-4.ee
ayurchen Oct 23, 2023
32ae700
Merge branch 'galera-custom-boost' into galera-ee-custom-boost
abychko Oct 26, 2023
c794d94
Debian build - requires dpkg-buildpackage
grooverdan Sep 4, 2023
589bad8
Galera.spec: remove scons
grooverdan Sep 6, 2023
6d7398e
Leave environment variables for Debian build
grooverdan Oct 24, 2023
df003c6
CMake cannot handle -DCMAKE_C_COMPILER="ccache gcc"
grooverdan Oct 24, 2023
7dce514
rpm: distro detection
grooverdan Oct 24, 2023
01cb7f5
Merge remote-tracking branch 'origin/4.x-accept-joining' into 4.ee-ac…
temeo Dec 7, 2023
cb341b4
Merge branch '4.x-failed-report-last-committed' into
sciascid Dec 19, 2023
a38d4c3
Merge remote-tracking branch 'origin/4.x-26.4.17' into 4.ee-26.4.17
temeo Dec 29, 2023
4ce99c7
Merge remote-tracking branch '4.ee' into galera-26.4.17
janlindstrom Jan 3, 2024
330241b
Merge remote-tracking branch 'origin/4.x-gh-923' into 4.ee-gh-923
temeo Jan 5, 2024
9f1d8aa
Merge remote-tracking branch 4.ee into galera-26.4.17
janlindstrom Jan 9, 2024
928bd4f
Compilation fixes for atomic operations and
sysprg Mar 5, 2024
204b2d0
Correction for an automatic initialization bug present in outdated SS…
sysprg Mar 15, 2024
a96793f
Merge tag 'release_26.4.18' into galera-26.4.18
janlindstrom Mar 25, 2024
8a5fc7c
Merge tag 'release_26.4.19' into galera-26.4.19
janlindstrom Jul 2, 2024
9cda93d
sles/opensuse 15 dependency on ssl-devel
grooverdan Jul 22, 2024
86b6efc
ASIO patch: reading the event counter when timers are used
sysprg Jul 22, 2024
19ce469
Merge pull request #18 from grooverdan/mariadb-4.x-sles15-ssl-devel-dep
grooverdan Jul 22, 2024
101ab7e
build: empty /etc/os-release
grooverdan Jul 22, 2024
5db72da
Merge pull request #19 from grooverdan/empty-os-release
grooverdan Jul 23, 2024
ec7d79d
macos: fix missing pthread mutex init after calloc
sitano Jul 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 0 additions & 81 deletions .bzrignore

This file was deleted.

2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ include_directories(
${PROJECT_SOURCE_DIR}/gcomm/src
${PROJECT_SOURCE_DIR}/gcs/src
${PROJECT_SOURCE_DIR}/wsrep/src
${PROJECT_SOURCE_DIR}/wsrep/ps
)

# Options to control compiler options and error behavior.
Expand Down Expand Up @@ -89,6 +90,7 @@ include(cmake/custom_boost.cmake)
include(cmake/boost.cmake)
include(cmake/crc32c.cmake)
include(cmake/endian.cmake)
include(cmake/seed_seq.cmake)
include(cmake/shared_ptr.cmake)
include(cmake/unordered.cmake)
include(cmake/check.cmake)
Expand Down
48 changes: 43 additions & 5 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,17 @@ elif x86:
if sysname == 'linux':
link_arch = ' -Wl,-melf_i386'
else:
compile_arch = ' -m64'
if sysname == 'linux':
if machine == 'ppc64':
compile_arch = ' -mtune=native'
link_arch = ' -Wl,-melf64ppc'
elif machine == 'ppc64le':
compile_arch = ' -mtune=native'
link_arch = ' -Wl,-melf64lppc'
else:
compile_arch = ' -m64'
if sysname == 'linux':
link_arch = ' -Wl,-melf_x86_64'
link_arch = compile_arch + link_arch
link_arch = compile_arch + link_arch
elif machine == 's390x':
compile_arch = ' -mzarch'
if bits == 32:
Expand Down Expand Up @@ -407,6 +414,16 @@ int main() { SSL_CTX* ctx=NULL; EC_KEY* ecdh=NULL; return !SSL_CTX_set_tmp_ecdh(
context.Result(result)
return result

def CheckStdSeedSeq(context):
test_source = """
#include <random>
int main() { std::seed_seq seeds{1, 2}; }
"""
context.Message('Checking for std::seed_seq ...')
result = context.TryLink(test_source, '.cpp')
context.Result(result)
return result

def CheckVersionScript(context):
test_source = """
int main() { return 0; }
Expand All @@ -428,10 +445,11 @@ conf = Configure(env, custom_tests = {
'CheckTr1UnorderedMap': CheckTr1UnorderedMap,
'CheckWeffcpp': CheckWeffcpp,
'CheckSetEcdhAuto': CheckSetEcdhAuto,
'CheckSetTmpEcdh': CheckSetTmpEcdh
'CheckSetTmpEcdh': CheckSetTmpEcdh,
'CheckStdSeedSeq': CheckStdSeedSeq
})

conf.env.Append(CPPPATH = [ '#/wsrep/src' ])
conf.env.Append(CPPPATH = [ '#/wsrep/src' '#/wsrep/ps' ])

# System headers and libraries

Expand Down Expand Up @@ -674,6 +692,10 @@ if have_ssl:
# Enable SSL compilation
conf.env.Append(CPPFLAGS = ' -DGALERA_HAVE_SSL=1')

# STD library support
if conf.CheckStdSeedSeq():
conf.env.Append(CPPFLAGS = ' -DHAVE_STD_SEED_SEQ')

# these will be used only with our software
if strict_build_flags == 1:
conf.env.Append(CCFLAGS = ' -Werror ')
Expand Down Expand Up @@ -758,6 +780,22 @@ if sysname != 'darwin':
print('Error: realtime library not found or not usable')
Exit(1)

if not conf.CheckCXXHeader('boost/filesystem.hpp'):
print('Error: boost/filesystem.hpp file not found or not usable')
Exit(1)

if not conf.CheckLib('boost_system',
language = 'CXX',
autoadd = 0):
print('Error: boost_system library not found or not usable')
Exit(1)

if not conf.CheckLib('boost_filesystem',
language = 'CXX',
autoadd = 0):
print('Error: boost_filesystem library not found or not usable')
Exit(1)

conf.Finish()

#
Expand Down
23 changes: 23 additions & 0 deletions asio/asio/detail/impl/epoll_reactor.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,29 @@ void epoll_reactor::run(long usec, op_queue<operation>& ops)
#if defined(ASIO_HAS_TIMERFD)
else if (ptr == &timer_fd_)
{
// We must read the 8-byte timeout expiration counter (using the
// "timerfd" descriptor) every time when an EPOLLIN event occurs.
// Otherwise, the timer may stop notifying the application of new
// events, and all actions related to this timer will be frozen
// on some systems; or vice versa, we will get an infinite loop
// of notifications due to the constant readiness to read new data:
if (events[i].events & EPOLLIN)
{
// If timeout was expired, we should read the expiration counter:
uint64_t count;
ssize_t len = sizeof(count);
char * buf = reinterpret_cast<char *>(&count);
for(;;) {
ssize_t ret = read(timer_fd_, buf, len);
if (ret == len) break;
if (ret < 0)
{
if (EINTR == errno) continue; else break;
}
buf += ret;
len -= ret;
}
}
check_timers = true;
}
#endif // defined(ASIO_HAS_TIMERFD)
Expand Down
2 changes: 1 addition & 1 deletion cmake/boost.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

set(Boost_USE_MULTITHREAD ON)
set(Boost_USE_STATIC_LIBS ${GALERA_STATIC})
find_package(Boost 1.41 COMPONENTS program_options)
find_package(Boost 1.41 COMPONENTS filesystem program_options system)
if (NOT Boost_FOUND)
if (Boost_USE_STATIC_LIBS)
message(ERROR
Expand Down
26 changes: 21 additions & 5 deletions cmake/os.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,30 @@ set(GALERA_SYSTEM_LIBS ${PTHREAD_LIB} ${RT_LIB})
if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
# Check if linkage with atomic library is needed for 8 byte atomics
set(ATOMIC_8_TEST_C_SOURCE
"#include <stdatomic.h>
int main() { atomic_llong val; atomic_fetch_add(&val, 1); return 0; }")
check_c_source_compiles("${ATOMIC_8_TEST_C_SOURCE}" GALERA_HAVE_ATOMIC)
"int main()
{
long long s = 1;
s = __atomic_add_fetch(&s, 1, __ATOMIC_SEQ_CST);
return (int)__atomic_load_n(&s, __ATOMIC_SEQ_CST);
}")
CHECK_CXX_SOURCE_COMPILES("${ATOMIC_8_TEST_C_SOURCE}" GALERA_HAVE_ATOMIC)
if (NOT GALERA_HAVE_ATOMIC)
find_library(ATOMIC_LIB NAMES atomic libatomic.so.1)
find_library(ATOMIC_LIB NAMES atomic atomic.so.1 libatomic.so.1 libatomic.dylib libatomic.1.dylib libatomic.a
HINTS
$ENV{HOME}/local/lib64
$ENV{HOME}/local/lib
/usr/local/lib64
/usr/local/lib
/opt/local/lib64
/opt/local/lib
/usr/lib64
/usr/lib
/lib64
/lib
/usr/lib/arm-linux-gnueabihf)
message(STATUS ${ATOMIC_LIB})
set(CMAKE_REQUIRED_LIBRARIES ${ATOMIC_LIB})
check_c_source_compiles("${ATOMIC_8_TEST_C_SOURCE}" GALERA_HAVE_ATOMIC_LIB)
CHECK_CXX_SOURCE_COMPILES("${ATOMIC_8_TEST_C_SOURCE}" GALERA_HAVE_ATOMIC_LIB)
if (NOT GALERA_HAVE_ATOMIC_LIB)
message(FATAL_ERROR "Could not find support for 64 bit atomic operations")
endif()
Expand Down
14 changes: 14 additions & 0 deletions cmake/seed_seq.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#
# Copyright (C) 2020 Codership Oy <info@codership.com>
#
# Check for std::seed_seq which may not be implemented in all
# required platforms. It is missing at least from GCC 4.4.
#

check_cxx_source_compiles("
#include <random>
int main() { std::seed_seq seeds{1, 2}; }
" SEED_SEQ_OK)
if (SEED_SEQ_OK)
add_definitions(-DHAVE_STD_SEED_SEQ)
endif()
2 changes: 1 addition & 1 deletion cmake/version.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ string(REGEX MATCH "GALERA_VERSION_EXTRA=([0-9a-zA-Z]*)" _ ${ver})
set(GALERA_VERSION_EXTRA ${CMAKE_MATCH_1})

set(GALERA_VERSION
"${GALERA_VERSION_MAJOR}.${GALERA_VERSION_MINOR}${GALERA_VERSION_EXTRA}")
"${GALERA_VERSION_WSREP_API}.${GALERA_VERSION_MAJOR}.${GALERA_VERSION_MINOR}${GALERA_VERSION_EXTRA}")

#
# First determine GALERA_GIT_REVISION. If it is stored into file
Expand Down
18 changes: 18 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Build-Depends: check,
debhelper (>= 10),
libasio-dev,
libboost-dev (>= 1.41),
libboost-filesystem-dev (>= 1.41),
libboost-program-options-dev (>= 1.41),
libssl-dev
Homepage: https://www.galeracluster.com/
Expand Down Expand Up @@ -48,6 +49,14 @@ Description: Replication framework for transactional applications
.
This package contains the Galera library/plugin.

Package: galera-4-dbg
Architecture: any
Section: debug
Priority: extra
Depends: galera-4 (= ${binary:Version}), ${misc:Depends}
Description: debugging symbols for galera-4
This package contains the debugging symbols for galera-4.

Package: galera-arbitrator-4
Architecture: any
Conflicts: galera-arbitrator-3,
Expand All @@ -68,3 +77,12 @@ Description: Galera arbitrator daemon
of Galera replication engine see http://galeracluster.com.
.
This package contains the Galera arbitrator daemon (garbd).

Package: galera-arbitrator-4-dbg
Architecture: any
Section: debug
Priority: extra
Conflicts: percona-xtradb-cluster-galera-2.x-dbg
Depends: galera-arbitrator-4 (= ${binary:Version}), ${misc:Depends}
Description: debugging symbols for galera-arbitrator-4
This package contains the debugging symbols for galera-arbitrator-4.
22 changes: 22 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
# Include all defaults, includes buildflags.mk
include /usr/share/dpkg/default.mk
# The following is not available on Debian6
# Galera Version
ifneq (,$(filter version=%,$(DEB_BUILD_OPTIONS)))
VERSION = $(filter version=%,$(DEB_BUILD_OPTIONS))
SCONS_ARGS += $(VERSION)
endif

# Galera revision number
ifneq (,$(filter revno=%,$(DEB_BUILD_OPTIONS)))
REVNO = $(filter revno=%,$(DEB_BUILD_OPTIONS))
SCONS_ARGS += $(REVNO)
endif


# Set unit test timeout multiplier to make slow tests
# pass on loaded builders.
Expand All @@ -18,9 +31,18 @@ override_dh_auto_test:
override_dh_installinit-arch:
dh_installinit -n --name=garb -- defaults 18 22

override_dh_strip:
dh_strip -pgalera-4 --dbg-package=galera-4-dbg
dh_strip -pgalera-arbitrator-4 --dbg-package=galera-arbitrator-4-dbg

override_dh_installsystemd:
dh_installsystemd --name=garb

override_dh_shlibdeps:
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info

%:

dh $@ --list-missing

.PHONY: override_dh_strip
3 changes: 3 additions & 0 deletions galera/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ add_library(galera STATIC
target_include_directories(galera
PRIVATE
${PROJECT_SOURCE_DIR}/wsrep/src
${PROJECT_SOURCE_DIR}/wsrep/ps
)

# TODO: Fix.
Expand Down Expand Up @@ -62,6 +63,7 @@ target_compile_definitions(galera_smm_static
target_include_directories(galera_smm_static
PRIVATE
${PROJECT_SOURCE_DIR}/wsrep/src
${PROJECT_SOURCE_DIR}/wsrep/ps
)

# TODO: Fix.
Expand All @@ -84,6 +86,7 @@ set_target_properties(galera_smm PROPERTIES
target_include_directories(galera_smm
PRIVATE
${PROJECT_SOURCE_DIR}/wsrep/src
${CMAKE_SOURCE_DIR}/wsrep/ps
)

target_compile_definitions(galera_smm
Expand Down
Loading