Summary: | databases/mariadb104-server Galera replication w/ mariabackup fails | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Mike Andrews <mandrews> | ||||
Component: | Individual Port(s) | Assignee: | Bernard Spil <brnrd> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Many People | Flags: | bugzilla:
maintainer-feedback?
(brnrd) |
||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Thanks for the patch! Will include in upcoming updated versions. A commit references this bug: Author: brnrd Date: Sat Dec 14 14:34:11 UTC 2019 New revision: 520119 URL: https://svnweb.freebsd.org/changeset/ports/520119 Log: databases/mariadb104-server: Update to 10.4.11 * Fix compression [1] * Fix mariabackup-based replication [2] PR: 239732 [1], 240692 [2] Submitted by: Tao Zhou <zhoutao laocius org> [1], Mike Andrews <mandrews bit0 com> [2] Changes: head/databases/mariadb104-server/Makefile head/databases/mariadb104-server/distinfo head/databases/mariadb104-server/files/patch-scripts_wsrep__sst__mariabackup.sh A commit references this bug: Author: brnrd Date: Sat Dec 21 16:21:40 UTC 2019 New revision: 520571 URL: https://svnweb.freebsd.org/changeset/ports/520571 Log: databases/mariadb103-server: Update to 10.3.21 - Fix table compression [1] - Fix link error in mariabackup [2] - Fix GNUism [3] PR: 239732 [1], 236101 [2], 240692 [3] Submitted by: <iron udjin gmail com> [2], Mike Andrews <mandrews bit0 com> [3] Reported by: Tao Zhou <zhoutao laocius org> [1] Changes: head/databases/mariadb103-server/Makefile head/databases/mariadb103-server/distinfo head/databases/mariadb103-server/files/patch-extra_mariabackup_CMakeLists.txt head/databases/mariadb103-server/files/patch-scripts_wsrep__sst__mariabackup.sh A commit references this bug: Author: brnrd Date: Sat Dec 21 17:45:18 UTC 2019 New revision: 520572 URL: https://svnweb.freebsd.org/changeset/ports/520572 Log: databases/mariadb102-server: Update to 10.2.30 - Fix table compression [1] - Fix link error in mariabackup [2] - Fix GNUism [3] PR: 239732 [1], 236101 [2], 240692 [3] Submitted by: <iron udjin gmail com> [2], Mike Andrews <mandrews bit0 com> [3] Reported by: Tao Zhou <zhoutao laocius org> [1] Changes: head/databases/mariadb102-server/Makefile head/databases/mariadb102-server/distinfo head/databases/mariadb102-server/files/patch-extra_mariabackup_CMakeLists.txt head/databases/mariadb102-server/files/patch-scripts_wsrep__sst__mariabackup.sh A commit references this bug: Author: brnrd Date: Sat Dec 21 20:51:19 UTC 2019 New revision: 520581 URL: https://svnweb.freebsd.org/changeset/ports/520581 Log: database/mariadb101-server: Various fixes - Fix table compression [1] - Fix GNUism [2] PR: 239732 [1], 240692 [2] Submitted by: Mike Andrews <mandrews bit0 com> [3] Reported by: Tao Zhou <zhoutao laocius org> [1] Changes: head/databases/mariadb101-server/Makefile head/databases/mariadb101-server/files/patch-scripts_wsrep__sst__mariabackup.sh |
Created attachment 207630 [details] databases/mariadb104-server/files/patch-wsrep_sst_mariabackup.sh (new file) to fix wsrep_sst_method=mariabackup With databases/mariadb104-server and databases/galera26, attempting to use wsrep_sst_method=mariabackup fails due to bad syntax in the "timeout" command in the wsrep_sst_mariabackup bash script. There is code that attempts to auto-detect which syntax to use by doing "timeout --help" and grepping the result, but the help text goes to stderr, not stdout, which means there's nothing to grep for. Attached is a very simple patch for this, to be put in databases/mariadb104-server/files/patch-wsrep_sst_mariabackup.sh