[MDEV-11016] wsrep_node_is_ready() check is too strict Created: 2016-10-10  Updated: 2021-05-13  Resolved: 2017-01-03

Status: Closed
Project: MariaDB Server
Component/s: wsrep
Affects Version/s: 10.1, 5.5-galera
Fix Version/s: 10.1.21

Type: Bug Priority: Blocker
Reporter: Sergei Golubchik Assignee: Sachin Setiya (Inactive)
Resolution: Fixed Votes: 1
Labels: None

Issue Links:
Relates
relates to CONJ-288 Unable to connect to galera non prima... Closed

 Description   

The check that prints the dreaded "WSREP has not yet prepared node for application use" is sometimes too strict. It doesn't allow any selects, even if these selects do not access any tables. For example, I'd think that

SELECT 1;

or, for example,

SELECT @@max_allowed_packet;

could be allowed. This is easy to do, one should not report this error if all_tables is NULL.



 Comments   
Comment by Sergei Golubchik [ 2016-11-01 ]

ok to push

Comment by Nirbhay Choubey (Inactive) [ 2016-12-12 ]

Reopening because of the failing galera.MW-284 test, which could be linked to the commit.

Comment by Sachin Setiya (Inactive) [ 2016-12-15 ]

Patch Reverted.

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