[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? |
| Comment by Aurélien LEQUOY [ 2015-08-11 ] |
|
I made an upgrade before |
| 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. |
| 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 ] |
|
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 |