Skip to content

MDEV-30953: mariadb-server-galera package#931

Open
grooverdan wants to merge 2 commits intoMariaDB:devfrom
grooverdan:MDEV-30953
Open

MDEV-30953: mariadb-server-galera package#931
grooverdan wants to merge 2 commits intoMariaDB:devfrom
grooverdan:MDEV-30953

Conversation

@grooverdan
Copy link
Copy Markdown
Member

The ldd differences need to account that
this is a new 12.3 package.

MDEV-30953, currently being prototyped on bb-12.3-MDEV-30953-mariadb-server-galera-pkgtest ci.

needs to normalise to expectations for https://buildbot.mariadb.org/#/builders/784/builds/1861/steps/4/logs/stdio

-=== /usr/lib/mysql/plugin/wsrep_info.so
-	/lib/ld-linux-aarch64.so.1 
-	libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 
-	libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 
-	libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 
-	libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 
-	libstdc++.so.6 => /lib/aarch64-linux-gnu/libstdc++.so.6 
-	linux-vdso.so.1 

and

--- ./plugins.old.cmp	2026-03-13 03:51:08.520277534 +0000
+++ ./plugins.new.cmp	2026-03-13 03:51:08.516277442 +0000
@@ -69,8 +69,6 @@
 THREAD_POOL_STATS	ACTIVE	INFORMATION SCHEMA	NULL	GPL
 THREAD_POOL_WAITS	ACTIVE	INFORMATION SCHEMA	NULL	GPL
 USER_STATISTICS	ACTIVE	INFORMATION SCHEMA	NULL	GPL
-WSREP_MEMBERSHIP	NOT INSTALLED	INFORMATION SCHEMA	wsrep_info.so	GPL
-WSREP_STATUS	NOT INSTALLED	INFORMATION SCHEMA	wsrep_info.so	GPL
 associative_array	ACTIVE	DATA TYPE	NULL	GPL
 binlog	ACTIVE	DAEMON	NULL	GPL
 ed25519	NOT INSTALLED	AUTHENTICATION	auth_ed25519.so	GPL

I haven't yet found rpm example. Other server bugs in Columnstore (that are reported) preventing this output to be visible.

Obvious for test env testing. But suggestions on better ways most welcome.

@grooverdan grooverdan requested a review from fauust March 13, 2026 07:43
@grooverdan grooverdan marked this pull request as draft March 17, 2026 06:34
@grooverdan
Copy link
Copy Markdown
Member Author

The ldd changes need to be non-greedy.

@grooverdan grooverdan marked this pull request as ready for review March 18, 2026 03:19
@grooverdan grooverdan requested review from fauust and removed request for fauust March 18, 2026 03:20
@grooverdan
Copy link
Copy Markdown
Member Author

reconsidering the last wsrep_info handling. I think I've resolved it server side.

First commit only of importance now.

https://buildbot.mariadb.org/#/grid?branch=bb-12.3-MDEV-30953-mariadb-server-galera-pkgtest

The ldd differences need to account that
this is a new 12.3 package.
using gawk as sed couldn't handle a multiline  inclusive removal
@grooverdan
Copy link
Copy Markdown
Member Author

grooverdan commented Mar 20, 2026

I've attempted to account for all the things from https://buildbot.dev.mariadb.org/#/grid?branch=bb-MDEV-38913-pkgtest

I had troubles with local tests:

~/repos/mariadb-buildbot MDEV-30953
$ podman run --rm --entrypoint /usr/lib/systemd/systemd --user root -v ./scripts:/scripts/ --name u2510 quay.io/mariadb-foundation/bb-worker:dev_ubuntu25.10 --system

$ podman exec -ti --user root -w /scripts  u2510 bash
root@66e2e18e5e64:/scripts# apt-get install -y jq
root@66e2e18e5e64:/scripts# ./deb-upgrade.sh https://buildbot.dev.mariadb.org/#/builders/448/builds/16
...
+ get_columnstore_logs
+ [[ all == \c\o\l\u\m\n\s\t\o\r\e ]]
+ bb_log_err 'mariadb service didn'\''t start properly after installation'
+ set +x
ERROR: mariadb service didn't start properly after installation

Hacked

diff --git a/scripts/deb-upgrade.sh b/scripts/deb-upgrade.sh
index 06fef2a..f538ffa 100755
--- a/scripts/deb-upgrade.sh
+++ b/scripts/deb-upgrade.sh
@@ -146,8 +146,8 @@ if [[ $systemdCapability == "yes" ]]; then
     sudo journalctl -xe --no-pager
     get_columnstore_logs
     bb_log_err "mariadb service didn't start properly after installation"
-    exit 1
   fi
+  systemctl start mariadb.service
 fi

Waiting for rebased build to build with bumped version number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant