We have updated to the 0.32 version last week and unfortunatelly it happened again this week couple of times.
The error is:
ec2-consistent-snapshot: Trying again in 5 seconds
ec2-consistent-snapshot: Tue Aug 24 00:00:33 2010: MySQL flush & lock
DBD::mysql::db selectrow_hashref failed: fetch() without execute() at /usr/bin/ec2-consistent-snapshot line 246.
DBD::mysql::db selectrow_array failed: fetch() without execute() at /usr/bin/ec2-consistent-snapshot line 253.
ec2-consistent-snapshot: Tue Aug 24 00:00:33 2010: sync
The code is:
241
242 my ($mysql_logfile, $mysql_position,
243 $mysql_binlog_do_db, $mysql_binlog_ignore_db);
244 if ( not $Noaction ) {
245 # This might be a slave database already
246 my $slave_status = $mysql_dbh->selectrow_hashref(q{ SHOW SLAVE STATUS });
247 $mysql_logfile = $slave_status->{Master_Log_File};
248 $mysql_position = $slave_status->{Read_Master_Log_Pos};
249 $mysql_binlog_do_db = $slave_status->{Replicate_Do_DB};
250 $mysql_binlog_ignore_db = $slave_status->{Replicate_Ignore_DB};
251
252 # or this might be the master
253 ($mysql_logfile, $mysql_position,
254 $mysql_binlog_do_db, $mysql_binlog_ignore_db) =
255 $mysql_dbh->selectrow_array(q{ SHOW MASTER STATUS })
256 unless $mysql_logfile;
257 }
258
We have updated to the 0.32 version last week and unfortunatelly it happened again this week couple of times.
The error is:
ec2-consistent- snapshot: Trying again in 5 seconds snapshot: Tue Aug 24 00:00:33 2010: MySQL flush & lock ec2-consistent- snapshot line 246. ec2-consistent- snapshot line 253. snapshot: Tue Aug 24 00:00:33 2010: sync
ec2-consistent-
DBD::mysql::db selectrow_hashref failed: fetch() without execute() at /usr/bin/
DBD::mysql::db selectrow_array failed: fetch() without execute() at /usr/bin/
ec2-consistent-
The code is:
241 binlog_ do_db, $mysql_ binlog_ ignore_ db); dbh->selectrow_ hashref( q{ SHOW SLAVE STATUS }); status- >{Master_ Log_File} ; status- >{Read_ Master_ Log_Pos} ; status- >{Replicate_ Do_DB}; binlog_ ignore_ db = $slave_ status- >{Replicate_ Ignore_ DB}; binlog_ do_db, $mysql_ binlog_ ignore_ db) = dbh->selectrow_ array(q{ SHOW MASTER STATUS })
242 my ($mysql_logfile, $mysql_position,
243 $mysql_
244 if ( not $Noaction ) {
245 # This might be a slave database already
246 my $slave_status = $mysql_
247 $mysql_logfile = $slave_
248 $mysql_position = $slave_
249 $mysql_binlog_do_db = $slave_
250 $mysql_
251
252 # or this might be the master
253 ($mysql_logfile, $mysql_position,
254 $mysql_
255 $mysql_
256 unless $mysql_logfile;
257 }
258
Pleae let me know on anything I can help
Juan