I don't see this as a real MySQL bug, it's just a warning message from the MySQL db engine telling that you can't lock a table whose type (engine) is CSV. I guess Zimbra should either filter the output of zmdbintegrityreport or avoid checking those tables; another viable solution is to remove at all those tables because ZCS doesn't need them (see below to understand why).
Both general_log and slow_log are CSV-type tables created by default in every MySQL installation into the 'mysql' database but they are used only if you configure MySQL to log into its own database: in this case the error log should end up in general_log and the slow queries in slow_log.
BTW, when MySQL is left at its default settings it logs in the usual, standard text log files and even the MySQL instance used by ZCS logs in such files, indeed in /opt/zimbra/conf/my.cnf we have:
Code:
slow_query_log_file = /opt/zimbra/log/myslow.log
err-log = /opt/zimbra/log/mysqld.log
Moreover, notice that .frm files are used to store the table's structure for whatever table type you use (MyISAM, InnoDB, CSV), thus removing the .frm file it's like removing the whole table because you no longer see its data even if you leave the other files in place (the .CSV and .CSM files in this case).
My conclusion is that you may safely remove both tables by using this simple command after you have stopped all ZCS services:
Code:
cd /opt/zimbra/db/data/mysql ; rm -f general_log.* slow_log.*
I have deleted them on our ZCS 7.1.4 servers and we didn't experience any problem.