Thank you for your answer.
Yes, actually I think that we should be able to tolerate the failure of any server. And when a service tries to fail gracefully, I see the danger that something goes wrong and the error propagates.
But sure, despite this, having to restart mysqld with --innodb-force-recovery (potentially, several attempts with increasing values) is at best annoying.
Having a future version of InnoDB which doesn't crash for a corrupted table will also pose new problems. What will happen if some queries will be able to run, and others will not (because they access a table marked as crashed)? I guess that the problem should be detected and handled at proxy level - and the interesting part is, on the top of my head, I have no idea if this is currently possible.
So, while non-crashing behaviour is desirable, old behaviour should IMHO remain available for users who don't know how to handle corrupted tables.
About Galera... good point, actually it is very easy to make it inconsistent (at least, intentionally). So this is also something that users should definitely be able to handle. But still, when you will work at this "bug", I hope that you will find some way to avoid corrupted/incorrect data propagation.
Federico
Da: Marko Mäkelä <marko.makela@mariadb.com>
A: Roberto Spadim <roberto@spadim.com.br>
Cc: Federico Razzoli <federico_raz@yahoo.it>; Mailing-List Mariadb <maria-discuss@lists.launchpad.net>
Inviato: Lunedì 20 Novembre 2017 17:04
Oggetto: Re: [Maria-discuss] innodb and corrupted tables