Subject | Re: [ib-support] Deadlock and wait |
---|---|
Author | Ann W. Harrison |
Post date | 2001-07-26T18:39:03Z |
At 03:18 PM 7/26/2001 -0300, Marcos Vinicius Dufloth wrote:
changed, the WAIT option causes A to wait for B to end before reporting
an error to A. If B rolls back, A succeeds. If B commits, A gets a
Deadlock - update conflict error.
At one point InterBase and several other databases shared error codes -
a source of major irritation - and we agreed on a small set of primary
errors, based on the recovery required. Since deadlock and update conflict
require the same sort of correction, they were combined.
Regards,
Ann
www.ibphoenix.com
We have answers.
>Yes, tanks too, but I yet have the opinion that the clause WAIT must beIf transaction A attempts to update a row that transaction B has already
>waiting for some period of time before raise an deadlock error.
changed, the WAIT option causes A to wait for B to end before reporting
an error to A. If B rolls back, A succeeds. If B commits, A gets a
Deadlock - update conflict error.
>deadlock error: update conflict would be renamed to something like "Time outThere's no timer involved - as long as B is open, A will wait.
>lock error"
>leave deadlock to truly deadlock, when A waits for aThe update conflict is a secondary error for a reason buried in history.
>resource locked by B and B waits for a resource locked by A. Maybe this
>topic must be moved to ib-architect?
At one point InterBase and several other databases shared error codes -
a source of major irritation - and we agreed on a small set of primary
errors, based on the recovery required. Since deadlock and update conflict
require the same sort of correction, they were combined.
Regards,
Ann
www.ibphoenix.com
We have answers.