Hi,
So, an interesting case just happened to me on test: my laptop rebooted.
I was using the latest code with the new persistent layer and it worked - accidentally before the boot I looked at the data nad it was correct - log file and number.
After the reset (mysql is local on my machine) - it seems the data reseted on the server:
show master status;
'mysql-bin.000001', '147', 'test_db,evme,mysql_replication_test,pymysqlreplication_test', '', ''
obviously there's an exception trying to use the old log file and log number.
So, to the point:
1. Do you know if this is normal mysql master behavior?
2. Should we not better prepare for it on the library? For now it throws an InternalError with code 1236, which is the general, the only way to differentiate is on the error message itself - that doesn't sound right.
Also obviously, since the only way to recover is just go "full sync" (no file not location) - should we allow to automatically do it?