You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Kuznetsov (JIRA)" <ji...@apache.org> on 2018/01/30 19:45:03 UTC
[jira] [Updated] (IGNITE-7575) Concurrent updates of common keys
cause silent wrong update count (intermittent issue)
[ https://issues.apache.org/jira/browse/IGNITE-7575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Kuznetsov updated IGNITE-7575:
------------------------------------
Attachment: UpdateTestDrive.java
> 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
> Priority: Major
> Attachments: UpdateTestDrive.java
>
>
> 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)