This is an automated email from the ASF dual-hosted git repository.

nizhikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new c50db3d  IGNITE-15757 TRANSACTIONAL_SNAPSHOT deprecated for removal 
(#9516)
c50db3d is described below

commit c50db3d5221447aeccfcc482235e967f5c217bb5
Author: Nikolay <[email protected]>
AuthorDate: Fri Oct 22 13:57:37 2021 +0300

    IGNITE-15757 TRANSACTIONAL_SNAPSHOT deprecated for removal (#9516)
---
 docs/_docs/SQL/sql-transactions.adoc                                | 2 +-
 docs/_docs/configuring-caches/atomicity-modes.adoc                  | 6 +-----
 docs/_docs/transactions/mvcc.adoc                                   | 2 +-
 .../src/main/java/org/apache/ignite/cache/CacheAtomicityMode.java   | 5 +++--
 4 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/docs/_docs/SQL/sql-transactions.adoc 
b/docs/_docs/SQL/sql-transactions.adoc
index 6824746..5e850c2 100644
--- a/docs/_docs/SQL/sql-transactions.adoc
+++ b/docs/_docs/SQL/sql-transactions.adoc
@@ -15,7 +15,7 @@
 = SQL Transactions
 :javaSourceFile: {javaCodeDir}/SqlTransactions.java
 
-IMPORTANT: Support for SQL transactions is currently in the beta stage. For 
production use, consider key-value transactions.
+CAUTION: `TRANSACTIONAL_SNAPSHOT` is deprecated since 2.12 and will be removed 
in the next releases.
 
 == Overview
 SQL Transactions are supported for caches that use the 
`TRANSACTIONAL_SNAPSHOT` atomicity mode. The `TRANSACTIONAL_SNAPSHOT` mode is 
the implementation of multiversion concurrency control (MVCC) for Ignite 
caches. For more information about MVCC and current limitations, visit the 
link:transactions/mvcc[Multiversion Concurrency Control] page.
diff --git a/docs/_docs/configuring-caches/atomicity-modes.adoc 
b/docs/_docs/configuring-caches/atomicity-modes.adoc
index 6820e8f..4c75657 100644
--- a/docs/_docs/configuring-caches/atomicity-modes.adoc
+++ b/docs/_docs/configuring-caches/atomicity-modes.adoc
@@ -53,11 +53,7 @@ The `TRANSACTIONAL` mode adds a performance cost to cache 
operations and should
 
 a| An experimental mode that implements multiversion concurrency control 
(MVCC) and supports both key-value transactions and SQL transactions. See 
link:transactions/mvcc[Multiversion Concurrency Control] for details about and 
limitations of this mode.
 
-[WARNING]
-====
-MVCC implementation is in beta and should not be considered for production.
-====
-
+CAUTION: `TRANSACTIONAL_SNAPSHOT` is deprecated since 2.12 and will be removed 
in the next releases.
 
 |===
 
diff --git a/docs/_docs/transactions/mvcc.adoc 
b/docs/_docs/transactions/mvcc.adoc
index 86cfaf7..929539a 100644
--- a/docs/_docs/transactions/mvcc.adoc
+++ b/docs/_docs/transactions/mvcc.adoc
@@ -14,7 +14,7 @@
 // limitations under the License.
 = Multiversion Concurrency Control
 
-IMPORTANT: MVCC is currently in beta.
+CAUTION: `TRANSACTIONAL_SNAPSHOT` is deprecated since 2.12 and will be removed 
in the next releases.
 
 == Overview
 
diff --git 
a/modules/core/src/main/java/org/apache/ignite/cache/CacheAtomicityMode.java 
b/modules/core/src/main/java/org/apache/ignite/cache/CacheAtomicityMode.java
index 4705531..f34fa5f 100644
--- a/modules/core/src/main/java/org/apache/ignite/cache/CacheAtomicityMode.java
+++ b/modules/core/src/main/java/org/apache/ignite/cache/CacheAtomicityMode.java
@@ -19,7 +19,6 @@ package org.apache.ignite.cache;
 
 import javax.cache.processor.EntryProcessor;
 import org.apache.ignite.IgniteCache;
-import org.apache.ignite.lang.IgniteExperimental;
 import org.apache.ignite.transactions.Transaction;
 import org.jetbrains.annotations.Nullable;
 
@@ -121,8 +120,10 @@ public enum CacheAtomicityMode {
      * either {@code TRANSACTIONAL_SNAPSHOT} or {@code TRANSACTIONAL}.
      * <p>
      * See {@link Transaction} for more information about transactions.
+     *
+     * @deprecated Use {@link #TRANSACTIONAL} or {@link #ATOMIC} instead. 
Please, be aware this API will be removed in the next releases.
      */
-    @IgniteExperimental
+    @Deprecated
     TRANSACTIONAL_SNAPSHOT;
 
     /** Enumerated values. */

Reply via email to