posted 13 years ago
Hi,
I have to perform some action in a table which shall be synchronized with multiple instances.
I created two tables first Lock and second which contains actual data. Now each instance first tries to acquire lock on Lock table by using
Select X from Lock for update.
My application is running fine, but I have a threat that if application which have lock goes down due to any error.
Will my application work or will it stuck?
If yes how to solve it and if not then how lock will be release and how such locks work?
Thanks in Advance.