Database failure during update from 7.10.30 to 7.10.31

I got the same error today upgrading from 7.17 to 7.20.
Changing the engine on the tables to innodb fixed it.
This link has a script that will generate a list you can edit to run the coversion.