Massive Update force Deadlocks
------------------------------

                 Key: CORE-6442
                 URL: http://tracker.firebirdsql.org/browse/CORE-6442
             Project: Firebird Core
          Issue Type: Bug
          Components: API / Client Library
    Affects Versions: 3.0.6
            Reporter: Andreas Steibl


I use two instance of my simple application which make simultan updates to a 
Table.

for i:=1 to 10000 do begin
  Create Query 
  Create Transaction with "read_commited, wait"
  UPDATE TEST SET VALUE = 1 WHERE ID = 1
  Commit Transaction
  Close Query
end;

If i start two instances and make these massive updates, i get a deadlock.

if i start instance 1 with 10000 updates, and instance 2 with 1000 updates, i 
get no error, only if i start both instances with at leats 10000 updates.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to