Timestamps on the logs don't mean much. What's important is the contents.
Binary logs can be rotated due to only a few reasons:
- the log size reached max_binlog_size;
- FLUSH LOGS is executed;
- server is restarted.
In your case, it is always the latter. Your binary logs are not even close to 1 Gb which is the default value for max_binlog_size and is not modified in your cnf.
At the same time, if you check when each of your binary logs ends, and compare it with the error log which shows server restart, every time binlog rotation correlates with server shutdown/restart.
For example, if we look in the 'master' dir, you have:
16 logs for 2014-07-24 (and 16 restarts)
4 logs for 2014-07-25 (and 4 restarts)
2 logs for 2014-07-26 (and 2 restarts)
10 logs for 2014-07-29 (and 10 restarts).
But between 2014-07-26 and 2014-07-29, you didn't have a single server restart, so the binary log didn't rotate even once.
The log itself contains records for all these days, and generally looks quite normal.
Now, I don't know why your server usually restarts so frequently. If it news for you, you might want to check your environment.
Two times it looked like the server was brutally killed, but all other times it's a normal shutdown.
Btw the times when the server was killed can account for the crashed tables.
All in all, I don't see anything wrong with the binary logs at all.
There is still a question about the data loss, but if it did happen, as expected it has nothing to do with the binary logs.
If it's the range of data that is missing on both servers, it seems more likely that something was accidentally deleted. Since you have all the binary logs, it can even be possible to find out what happened to those records if you can identify them, e.g. by table name + pk value.
Please provide error logs from master and slave, and binary logs from master. You can upload them to our ftp.askmonty.org/private.
Please also specify correct version of MariaDB server that you use.
Thanks.