I don't know if you want to flush your logs as you might want them for restoration or other slaves.FLUSH TABLES, as I have learnt the hard way, will make sure all data and index changes be completed. So if you have delay_key_write on, it will save the changes to disk and won't corrupt your tables.