[MDEV-6171] Fix error message for split-brain Created: 2014-04-25  Updated: 2017-10-27  Resolved: 2014-04-25

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5.36-galera, 10.0.10-galera
Fix Version/s: 5.5.37-galera

Type: Bug Priority: Trivial
Reporter: Nirbhay Choubey (Inactive) Assignee: Nirbhay Choubey (Inactive)
Resolution: Fixed Votes: 0
Labels: galera


 Description   

In a split-brain situation, if a user tries to run a command (other than SET/SHOW), it will fail with the following error :

ERROR 1047 (08S01): Unknown command

It makes little sense. However, during code inspection I found that
actually a better error message was used wrongly with my_error(),
which eventually ignore it. (fix : use my_message() instead)

..
my_error(ER_UNKNOWN_COM_ERROR, MYF(0),
"WSREP has not yet prepared node for application use");
..



 Comments   
Comment by Sophie chen [ 2017-10-27 ]

how do you solve this issue.when I try to use the command "insert into xx
select * from xx",the mariadb cluster will raise ""WSREP has not yet prepared node for application use",I want to know how to solve this case。
Thanks.

Generated at Thu Feb 08 07:09:53 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.