You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ni...@apache.org on 2021/10/22 12:26:03 UTC

[ignite] branch ignite-2.12 updated (a33e1b7 -> b11d832)

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

nizhikov pushed a change to branch ignite-2.12
in repository https://gitbox.apache.org/repos/asf/ignite.git.


    from a33e1b7  IGNITE-14703 Add MergeSort distributed cache query reducer. (#9081)
     new 406760c  IGNITE-15764 CacheConfiguration#rebalanceDelay deprecated for removal (#9514)
     new b11d832  IGNITE-15757 TRANSACTIONAL_SNAPSHOT deprecated for removal (#9516)

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 docs/_docs/SQL/sql-transactions.adoc                                | 2 +-
 docs/_docs/configuring-caches/atomicity-modes.adoc                  | 6 +-----
 docs/_docs/data-rebalancing.adoc                                    | 4 ++++
 docs/_docs/transactions/mvcc.adoc                                   | 2 +-
 modules/core/src/main/java/org/apache/ignite/IgniteCache.java       | 2 ++
 .../src/main/java/org/apache/ignite/cache/CacheAtomicityMode.java   | 5 +++--
 .../java/org/apache/ignite/configuration/CacheConfiguration.java    | 4 ++++
 7 files changed, 16 insertions(+), 9 deletions(-)

[ignite] 01/02: IGNITE-15764 CacheConfiguration#rebalanceDelay deprecated for removal (#9514)

Posted by ni...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 406760ca4523adafb9078e91758af06cc4de4b76
Author: Nikolay <ni...@apache.org>
AuthorDate: Fri Oct 22 13:53:28 2021 +0300

    IGNITE-15764 CacheConfiguration#rebalanceDelay deprecated for removal (#9514)
---
 docs/_docs/data-rebalancing.adoc                                      | 4 ++++
 modules/core/src/main/java/org/apache/ignite/IgniteCache.java         | 2 ++
 .../main/java/org/apache/ignite/configuration/CacheConfiguration.java | 4 ++++
 3 files changed, 10 insertions(+)

diff --git a/docs/_docs/data-rebalancing.adoc b/docs/_docs/data-rebalancing.adoc
index 1f92807..21af78d 100644
--- a/docs/_docs/data-rebalancing.adoc
+++ b/docs/_docs/data-rebalancing.adoc
@@ -129,6 +129,10 @@ tab:C++[unsupported]
 
 The following table lists the properties of `CacheConfiguration` related to rebalancing:
 
+[CAUTION]
+====
+`rebalanceDelay` and related API's are deprecated and will be removed in the next releases.
+====
 
 [cols="1,4,1",opts="header"]
 |===
diff --git a/modules/core/src/main/java/org/apache/ignite/IgniteCache.java b/modules/core/src/main/java/org/apache/ignite/IgniteCache.java
index c12f3bb..1a6e782 100644
--- a/modules/core/src/main/java/org/apache/ignite/IgniteCache.java
+++ b/modules/core/src/main/java/org/apache/ignite/IgniteCache.java
@@ -1577,7 +1577,9 @@ public interface IgniteCache<K, V> extends javax.cache.Cache<K, V>, IgniteAsyncS
      * <p>
      * @return Future that will be completed when rebalancing is finished. Future.get() returns {@code true}
      *      when rebalance was successfully finished.
+     * @deprecated Use baseline topology feature instead. Please, be aware this API will be removed in the next releases.
      */
+    @Deprecated
     public IgniteFuture<Boolean> rebalance();
 
     /**
diff --git a/modules/core/src/main/java/org/apache/ignite/configuration/CacheConfiguration.java b/modules/core/src/main/java/org/apache/ignite/configuration/CacheConfiguration.java
index 778ddaa..4544a43 100644
--- a/modules/core/src/main/java/org/apache/ignite/configuration/CacheConfiguration.java
+++ b/modules/core/src/main/java/org/apache/ignite/configuration/CacheConfiguration.java
@@ -1617,7 +1617,9 @@ public class CacheConfiguration<K, V> extends MutableConfiguration<K, V> {
      * @return Rebalancing delay, {@code 0} to start rebalancing immediately, {@code -1} to
      *      start rebalancing manually, or positive value to specify delay in milliseconds
      *      after which rebalancing should start automatically.
+     * @deprecated Use baseline topology feature instead. Please, be aware this API will be removed in the next releases.
      */
+    @Deprecated
     public long getRebalanceDelay() {
         return rebalanceDelay;
     }
@@ -1627,7 +1629,9 @@ public class CacheConfiguration<K, V> extends MutableConfiguration<K, V> {
      *
      * @param rebalanceDelay Rebalance delay to set.
      * @return {@code this} for chaining.
+     * @deprecated Use baseline topology feature instead. Please, be aware this API will be removed in the next releases.
      */
+    @Deprecated
     public CacheConfiguration<K, V> setRebalanceDelay(long rebalanceDelay) {
         this.rebalanceDelay = rebalanceDelay;
 

[ignite] 02/02: IGNITE-15757 TRANSACTIONAL_SNAPSHOT deprecated for removal (#9516)

Posted by ni...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit b11d832fc7a8cf5f7f13008b8caca686f042270a
Author: Nikolay <ni...@apache.org>
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. */