This is an automated email from the ASF dual-hosted git repository. matthieu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 34a061c89ee595768a0be1cd01823f62b95f0b8b Author: Matthieu Baechler <[email protected]> AuthorDate: Wed Aug 21 16:32:27 2019 +0200 JAMES-2870 deprecate Zookeeper sequential id provider --- mailbox/zoo-seq-provider/pom.xml | 2 +- .../java/org/apache/james/mailbox/store/mail/ZooUidProvider.java | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/mailbox/zoo-seq-provider/pom.xml b/mailbox/zoo-seq-provider/pom.xml index b9ec996..d3a89e5 100644 --- a/mailbox/zoo-seq-provider/pom.xml +++ b/mailbox/zoo-seq-provider/pom.xml @@ -30,7 +30,7 @@ <artifactId>zookeeper-sequence-provider</artifactId> <packaging>jar</packaging> <name>Apache James :: Mailbox :: Zookeeper Sequence Provider</name> - <description>High performance distribuited sequence provider based on ZooKeepr</description> + <description>Deprecated sequence provider based on ZooKeeper</description> <properties> <curator.version>4.0.1</curator.version> diff --git a/mailbox/zoo-seq-provider/src/main/java/org/apache/james/mailbox/store/mail/ZooUidProvider.java b/mailbox/zoo-seq-provider/src/main/java/org/apache/james/mailbox/store/mail/ZooUidProvider.java index e96ae31..05df63c 100644 --- a/mailbox/zoo-seq-provider/src/main/java/org/apache/james/mailbox/store/mail/ZooUidProvider.java +++ b/mailbox/zoo-seq-provider/src/main/java/org/apache/james/mailbox/store/mail/ZooUidProvider.java @@ -37,7 +37,12 @@ import com.google.common.base.Preconditions; /** * ZooKeeper based implementation of a distributed sequential UID generator. + * + * This component is deprecated since 3.4. It way initially implemented for HBase backend that is now gone. + * As Others backends have their own solutions to generate sequential ids, we decided to deprecate then remove + * this implementation. */ +@Deprecated public class ZooUidProvider implements UidProvider { // TODO: use ZK paths to store uid and modSeq, etc. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
