#1  
Old 12th August 2004, 04:40 AM
David Charron
 
Posts: n/a
Default Lock time out and Transaction not rollingback completly <- URGENT

Hi,

Going thru the inventory and error log of our application I notice that
sometimes (not always) when a Lock time out error occurs the transaction is
not rollback completly. Meaning that all changes are rollback sucessfully
exept the one done on the table that throwed the lock time out.

I'am not able to reproduce the error since I don't know how to force a lock
time out to pop up but I can assure you that the change were apply to the
table a not rollback.

Is this a know issue? Is there any way to fixe this? It's really urgent
because it is altering our live inventory.

Setup is Nexus 1.07 with all the hotfixes applied. Server is accessed over
tcp/ip with >50 clients connected at all time.

I'd be happy to post more info if needed.

Thank you.


--
Regards from Quebec.

David Charron
  #2  
Old 12th August 2004, 04:57 AM
David Marcus [NDX]
 
Posts: n/a
Default Re: Lock time out and Transaction not rollingback completly <- URGENT

David Charron wrote:
> Going thru the inventory and error log of our application I notice that
> sometimes (not always) when a Lock time out error occurs the transaction is
> not rollback completly. Meaning that all changes are rollback sucessfully
> exept the one done on the table that throwed the lock time out.


Are you calling Cancel on the table? When there is an exception, you
need to roll back the transaction and call TnxTable.Cancel. If you don't
do the latter, the edit is still active and may be posted, e.g., if you
move to a different record.

--
David Marcus [NexusDB Expert]
  #3  
Old 12th August 2004, 05:16 AM
David Charron
 
Posts: n/a
Default Re: Lock time out and Transaction not rollingback completly <- URGENT

David Marcus [NDX] <David.Marcus@ndx.nexusdb_x.com> wrote in
<MPG.1b84280ac927573e989958@news.nexusdb.com>:
>Are you calling Cancel on the table? When there is an exception, you
>need to roll back the transaction and call TnxTable.Cancel. If you don't
>do the latter, the edit is still active and may be posted, e.g., if you
>move to a different record.
>


That must be it then. I'll try it and keep you posted.



--
Regards from Quebec.

David Charron


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: Explicit transaction in progress, nested transaction are not supported ... Bert Moorthaemer nexusdb.public.support.sql 13 2nd June 2008 10:58 PM
Table lock question? Piko nexusdb.public.support.sql 1 5th February 2007 01:30 PM
Lock behavior Lieu Pham nexusdb.public.support 19 20th April 2004 07:18 AM
A lock request timed out Robyn Hooper nexusdb.public.discussions 6 11th November 2003 01:07 AM
Lock timeout and windows 98 Roberto Nicchi nexusdb.public.support 24 30th August 2003 10:27 PM


All times are GMT +11. The time now is 10:04 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.