[jira] [Created] (IGNITE-7575) Concurrent updates of common keys cause silent wrong update count (intermittent issue)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-7575) Concurrent updates of common keys cause silent wrong update count (intermittent issue)

Anton Vinogradov (Jira)
Pavel Kuznetsov created IGNITE-7575:
---------------------------------------

             Summary: Concurrent updates of common keys cause silent wrong update count (intermittent issue)
                 Key: IGNITE-7575
                 URL: https://issues.apache.org/jira/browse/IGNITE-7575
             Project: Ignite
          Issue Type: Bug
          Components: sql
            Reporter: Pavel Kuznetsov
            Assignee: Alexander Paschenko


In case of concurrent updates that affects some common keys we get silent wrong update count

There's single table with two columns: key and val.
I'm performing the same query that updates the same 1000 rows. Query doesn't update keys, it only increments val.
In some cases I get expected exception "Failed to update some keys because they had been modified concurrently"  or have 1000 updated rows

In the other case, API tells me that more than 1000 rows updated. Expected  result are exception or successfull update of 1000 rows

see reproducer attached. It should be run against ```ignite/examples/src/main/java/org/apache/ignite/examples/ExampleNodeStartup.java```





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)