[ https://issues.apache.org/jira/browse/IGNITE-9880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16685504#comment-16685504 ]
Denis Magda commented on IGNITE-9880: ------------------------------------- Artem, looks good to me thanks. Please consider the following overall comments: * add a reference to this page from the MVCC doc: https://apacheignite-sql.readme.io/v2.6/docs/multiversion-concurrency-control * add a key-value example here showing how to use this transactions and how to handle the exceptions. * add similar SQL examples to the SQL transactions page: https://apacheignite-sql.readme.io/v2.6/docs/multiversion-concurrency-control * this page (https://dash.readme.io/project/apacheignite-sql/v2.6/docs/transactions) doesn't follow formatting rules of similar page: there are no defined "Parameters", "Description", "Example", etc. sections. Check this page for instance: https://dash.readme.io/project/apacheignite-sql/v2.6/docs/drop-table > Document MVCC write conflict exceptions > --------------------------------------- > > Key: IGNITE-9880 > URL: https://issues.apache.org/jira/browse/IGNITE-9880 > Project: Ignite > Issue Type: Task > Components: documentation > Reporter: Vladimir Ozerov > Assignee: Denis Magda > Priority: Major > Fix For: 2.7 > > > When an entry is read (1) inside a transaction and then updated (2), there is > a chance that concurrent transaction will modify that entry in between (1) > and (2). In this case an error is thrown from the first transaction when > action (2) is performed and transaction is marked as "rollback only". User > need to re-try the whole transaction in this case. > When native APi is used, then {{CacheException}} is thrown with special > message {{Cannot serialize transaction due to write conflict (transaction is > marked for rollback)}}. This will be changed in future (AI 2.8|) - special > exception type will be thrown. > When JDBC or ODBC are used, then special SQLSTATE code 40001 (aka > "Serialization failure") is propagated to user. -- This message was sent by Atlassian JIRA (v7.6.3#76005)