[MDEV-8600] Write an error/warning message about non-upgraded datadir on server startup Created: 2015-08-11  Updated: 2015-08-21  Resolved: 2015-08-21

Status: Closed
Project: MariaDB Server
Component/s: Galera
Fix Version/s: N/A

Type: Task Priority: Minor
Reporter: Aurélien LEQUOY Assignee: Unassigned
Resolution: Not a Bug Votes: 0
Labels: None


 Description   

launch a cluster with 2 nodes under 10.0.20

convert a node to 10.1.6 without update datadir and launch it. it will provide many error with a lib C, without any clear msg. sorry I couldn't save error log because bank and was lazy to rewrite ...

After I deleted datadir of 10.1.6 and it's started well (I don't thought it was possible).

Have to test with some funny option like : replicate_events_marked_for_skip to see what happen.



 Comments   
Comment by Elena Stepanova [ 2015-08-11 ]

Even aside from Galera, when you start a 10.1 server on a 10.0 datadir, it should produce lots of error messages regarding wrong structure of system tables and such. Did you have those?
Why would you want to run a Galera node (or any server, for that matter) on a non-upgraded datadir? Obviously it won't work properly.

Comment by Aurélien LEQUOY [ 2015-08-11 ]

I made an upgrade before (forgot to say)

Comment by Elena Stepanova [ 2015-08-11 ]

But you said specifically in the description "without update datadir" – what did it mean, then? Did you run mysql_upgrade on this server?

Comment by Aurélien LEQUOY [ 2015-08-11 ]

omg, sorry forgot my last comment i didn't upgrade (i ask myself how i could forgot that). I made so many test in same time

Comment by Elena Stepanova [ 2015-08-12 ]

So, back to the question – what was the expected result of this experiment for you? Did you expect the new server would work on the old datadir? Or what exactly do you want to be fixed?

Comment by Aurélien LEQUOY [ 2015-08-13 ]

the problem is no explicit message. and the error long error tram.

Comment by Elena Stepanova [ 2015-08-13 ]

The long log of error messages is unavoidable, because the server must start on the old datadir (or how else could you upgrade it), and all components that encounter problems must log errors about it.
I'll convert your report into a feature request for an explicit error message about a non-upgraded datadir.

Comment by Aurélien LEQUOY [ 2015-08-13 ]

start with SST but couldn't be good because not the good version of systemes table.

In fact I have to back from begining lol

Comment by Elena Stepanova [ 2015-08-13 ]

nirbhay_c,

If not done yet, It would be good to document the recommended process of upgrading MGC nodes to a higher major server version.

Comment by Aurélien LEQUOY [ 2015-08-13 ]

I try to do that actually

Comment by Aurélien LEQUOY [ 2015-08-14 ]

Impossible to reproduce plz close it

Comment by Aurélien LEQUOY [ 2015-08-14 ]

i tried with new node

and I thought galera was include with MAriaDB and in Centos 6.x and i got one package for MariaDB server and one other for galera.

I tried to migrate and I made it without any problem.

stop server
remove package
update repo
install package
start server
and all fine except for some system table, but mysql started and joined cluster (first node was already in 10.1.6 and in cluster)

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