You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of Galera 26.4.21 and probably since the feature was added in Galera 4, one gets this error when trying to run garbd with -w /tmp or the env variableWORK_DIR=/tmp :
Jan 26 12:38:33 deb12-ga systemd[1]: Started garb.service - Galera Arbitrator Daemon.
Jan 26 12:38:33 deb12-ga garb-systemd[475]: Starting garbd
Jan 26 12:38:33 deb12-ga garb-systemd[477]: 2025-01-26 12:38:33.448 INFO: CRC-32C: using 64-bit x86 acceleration.
Jan 26 12:38:33 deb12-ga garb-systemd[477]: 2025-01-26 12:38:33.448 INFO: Read config:
Jan 26 12:38:33 deb12-ga garb-systemd[477]: daemon: 0
Jan 26 12:38:33 deb12-ga garb-systemd[477]: name: garb
Jan 26 12:38:33 deb12-ga garb-systemd[477]: address: gcomm://10.0.5.11,10.0.5.12,10.0.5.13
Jan 26 12:38:33 deb12-ga garb-systemd[477]: group: mycluster
Jan 26 12:38:33 deb12-ga garb-systemd[477]: sst: trivial
Jan 26 12:38:33 deb12-ga garb-systemd[477]: donor:
Jan 26 12:38:33 deb12-ga garb-systemd[477]: options: gcs.fc_limit=9999999; gcs.fc_factor=1.0; gcs.fc_single_primary=yes base_dir=/tmp;
Jan 26 12:38:33 deb12-ga garb-systemd[477]: cfg:
Jan 26 12:38:33 deb12-ga garb-systemd[477]: workdir: /tmp
Jan 26 12:38:33 deb12-ga garb-systemd[477]: log:
Jan 26 12:38:33 deb12-ga garb-systemd[477]: 2025-01-26 12:38:33.448 FATAL: Exception in creating receive loop: More than one value for key 'gcs.fc_single_primary' at ' gcs.fc_single_primary=yes base_dir=/tmp' in parameter list.
Jan 26 12:38:33 deb12-ga garb-systemd[477]: at ./galerautils/src/gu_config.cpp:parse():52
Jan 26 12:38:33 deb12-ga systemd[1]: garb.service: Main process exited, code=exited, status=1/FAILURE
Jan 26 12:38:33 deb12-ga systemd[1]: garb.service: Failed with result 'exit-code'.
Because of a missing ; the internally built configuration gcs.fc_single_primary=yes base_dir=/tmp is interpreted as a single parameter instead of having gcs.fc_single_primary=yes; base_dir=/tmp for the two distincts parameters.
I believe this bug happened during the resolution of a conflicting merge in the following commit:
1d7c284 ("Merge branch 'garb-fixes-3.x' into garb-fixes-4.x")
between these two commits:
29d906e ("Add command line option to specify desired working directory where")
Could you ensure 29d906e 's intent gets really applied and put back the missing ;? I tested that doing so (and rebuilding) does fix the issue and allows to use -w / WORK_DIR with garbd.
Note: to be transparent, although without details, somebody else already reported this in the past in this pull request: #641
I'm also working on submitting this to the Debian project in this merge request:
As of Galera 26.4.21 and probably since the feature was added in Galera 4, one gets this error when trying to run
garbd
with-w /tmp
or the env variableWORK_DIR=/tmp
:Because of a missing
;
the internally built configurationgcs.fc_single_primary=yes base_dir=/tmp
is interpreted as a single parameter instead of havinggcs.fc_single_primary=yes; base_dir=/tmp
for the two distincts parameters.I believe this bug happened during the resolution of a conflicting merge in the following commit:
1d7c284 ("Merge branch 'garb-fixes-3.x' into garb-fixes-4.x")
between these two commits:
29d906e ("Add command line option to specify desired working directory where")
where the semi-colon does get added:
and
b3c4983 ("Fix renaming of fc_master_slave to fc_single_primary. In particular don't")
whose part changing the same place for a different purpose didn't have the semi-colon which finally got lost in the merge.
Could you ensure 29d906e 's intent gets really applied and put back the missing
;
? I tested that doing so (and rebuilding) does fix the issue and allows to use-w
/WORK_DIR
withgarbd
.Note: to be transparent, although without details, somebody else already reported this in the past in this pull request: #641
I'm also working on submitting this to the Debian project in this merge request:
https://salsa.debian.org/mariadb-team/galera-4/-/merge_requests/31
The text was updated successfully, but these errors were encountered: