If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Other > Firebird transaction problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-20-06, 04:46
m_I_K_E m_I_K_E is offline
Registered User
 
Join Date: Feb 2006
Posts: 3
Firebird transaction problem

I've discovered a Firebird's major problem, and i don't know how to solve it.
I have two apps updating the same record using transactions. If one app has a connection failure and didn't get the chance to commit, the other app hangs, waiting for the other app to commit, but that will never gonna happen, until you do a restart of the firebird server.
If anybody knows a method on how to solve this problem, without the "dummy packet" option because that is not a safe one, i appreciate.
Thanks.
Reply With Quote
  #2 (permalink)  
Old 02-28-06, 09:10
jwenting jwenting is offline
Registered User
 
Join Date: Apr 2003
Posts: 40
ever heard of transaction timeouts? You likely have those set to unlimited, set it to something decent and the transaction from the crashing application should time out causing a rollback.
Reply With Quote
  #3 (permalink)  
Old 03-01-06, 04:51
m_I_K_E m_I_K_E is offline
Registered User
 
Join Date: Feb 2006
Posts: 3
Where can i set the transaction timeout in Firebirs 1.5.3?
Reply With Quote
  #4 (permalink)  
Old 03-01-06, 05:19
m_I_K_E m_I_K_E is offline
Registered User
 
Join Date: Feb 2006
Posts: 3
Thumbs up

I found where i can set the transaction timeout, but this doesn't solve my problem, because the server still block other clients which tries to access those records. In this case the server should be able to recognize transactions that had been disconnected and to kill them. Do you know how can i solve this problem?
Reply With Quote
  #5 (permalink)  
Old 04-09-06, 21:15
F8R F8R is offline
Registered User
 
Join Date: Apr 2006
Posts: 1
I'm new to Firebird, but according to manual Firebird doesn't auto commit/rollback transaction manualy.
You must (handle) commit/rollback it manualy if exception happen.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On