List:Commits« Previous MessageNext Message »
From:Sergey Vojtovich Date:September 1 2008 1:59pm
Subject:bzr commit into mysql-6.0-falcon branch (svoj:2805) Bug#33575
View as plain text  
#At file:///home/svoj/devel/mysql/BUG33575/mysql-6.0-falcon-team/

 2805 Sergey Vojtovich	2008-09-01
      BUG#33575 - Backup: crash on shutdown if Falcon table
      
      Shutting down the server immediately after BACKUP of Falcon table
      may cause assertion failure.
      
      The problem was that Falcon didn't inform the server that it has
      started internal transaction. Thus the server didn't commit this
      transaction, causing assertion failure on shutdown.
modified:
  storage/falcon/ha_falcon.cpp

per-file messages:
  storage/falcon/ha_falcon.cpp
    Inform the server that we have started transaction, when starting
    consistent snapshot.
=== modified file 'storage/falcon/ha_falcon.cpp'
--- a/storage/falcon/ha_falcon.cpp	2008-08-27 12:55:46 +0000
+++ b/storage/falcon/ha_falcon.cpp	2008-09-01 11:59:45 +0000
@@ -1261,6 +1261,8 @@ int StorageInterface::start_consistent_s
 {
 	DBUG_ENTER("StorageInterface::start_consistent_snapshot");
 	int ret = storageHandler->startTransaction(thd, TRANSACTION_CONSISTENT_READ);
+ 	if (!ret)
+		trans_register_ha(thd, true, hton);
 	DBUG_RETURN(ret);
 
 }

Thread
bzr commit into mysql-6.0-falcon branch (svoj:2805) Bug#33575Sergey Vojtovich1 Sep
  • RE: bzr commit into mysql-6.0-falcon branch (svoj:2805) Bug#33575Kevin Lewis2 Sep