Subject | RE: [IBO] Re: lock conflict on no wait transaction |
---|---|
Author | Alan McDonald |
Post date | 2005-10-05T21:56:20Z |
> I never mentioned the app was writing to the same record -- in fact, Ido you have a separate connection per thread?
> specifically state that only one thread writes to the same record
> everytime -- i.e.
>
> thread 1 -- enter CS, insert record A, commit, leave CS, enter CS,
> delete record A, commit, leave CS, loop
> thread 2 -- enter CS, insert record B, commit, leave CS, enter CS,
> delete record B, commit, leave CS, loop
> ... --> same goes for thread 3 and 4, but updating record C and D
> respectively
>
> I'm not seeing a conflict there, even if firebird doesn't support
> optimistic locking. Every update transaction is performed in a
> critical section -- i.e. only one thread performs update transaction
> at one time.
>
> Should I expect a conflict in such a case?
>
Alan