[MDEV-30318] galera error messages in mariadb log without galera enabled Created: 2022-12-29  Updated: 2023-02-15  Resolved: 2023-02-15

Status: Closed
Project: MariaDB Server
Component/s: Server
Affects Version/s: 11.0
Fix Version/s: 11.0.1

Type: Bug Priority: Blocker
Reporter: Daniel Black Assignee: Julius Goryavsky
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Problem/Incident
is caused by MDEV-22570 Split wsrep_provider_options in sever... Closed
is caused by MDEV-30133 MariaDB startup does not validate plu... Closed

 Description   

From log in MDEV-30311:

2022-12-28  0:23:36 0 [ERROR] WSREP: plugin-wsrep-provider can't be enabled if wsrep_on==OFF or wsrep_provider is unset or set to 'none'
 
2022-12-28  0:23:36 0 [ERROR] mariadbd: plugin-wsrep-provider can't be enabled if wsrep_on==OFF or wsrep_provider is unset or set to 'none'
 
2022-12-28  0:23:36 0 [ERROR] Plugin 'wsrep_provider' init function returned error.

There shouldn't be error messages in the error log without wsrep/galera.

Caused by 5751c33ef2a6de9b5666f5820935ff1e965bac22.



 Comments   
Comment by Daniel Black [ 2023-01-03 ]

Just to clarify, I was talking about galera enabled at runtime, rather than compile time.

Comment by Jan Lindström (Inactive) [ 2023-01-03 ]

Now you will see message like

2023-01-03 13:55:40 0 [Note] Plugin 'wsrep-provider' is disabled.

Comment by Daniel Black [ 2023-01-12 ]

Looks good to me.

Comment by Daniel Black [ 2023-02-13 ]

Yes. I'm ok with test changes. Thanks for explanation.

I see the BB reference is updating wsrep-lib. I assume that's needed too.

Generated at Thu Feb 08 10:15:21 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.