diff --git a/klein-common/pom.xml b/klein-common/pom.xml index c153e2f0..6af2af1a 100644 --- a/klein-common/pom.xml +++ b/klein-common/pom.xml @@ -5,13 +5,13 @@ klein com.ofcoder.klein - 0.0.1-SNAPSHOT + 0.0.1 4.0.0 com.ofcoder.klein.common klein-common - 0.0.1-SNAPSHOT + 0.0.1 jar diff --git a/klein-consensus/klein-consensus-facade/pom.xml b/klein-consensus/klein-consensus-facade/pom.xml index aea77fc8..1717cf69 100644 --- a/klein-consensus/klein-consensus-facade/pom.xml +++ b/klein-consensus/klein-consensus-facade/pom.xml @@ -5,13 +5,13 @@ klein-consensus com.ofcoder.klein.consensus - 0.0.1-SNAPSHOT + 0.0.1 4.0.0 com.ofcoder.klein.consensus.facade klein-consensus-facade - 0.0.1-SNAPSHOT + 0.0.1 jar diff --git a/klein-consensus/klein-consensus-facade/src/main/java/com/ofcoder/klein/consensus/facade/config/PaxosProp.java b/klein-consensus/klein-consensus-facade/src/main/java/com/ofcoder/klein/consensus/facade/config/PaxosProp.java index 7845702e..ab6b915a 100644 --- a/klein-consensus/klein-consensus-facade/src/main/java/com/ofcoder/klein/consensus/facade/config/PaxosProp.java +++ b/klein-consensus/klein-consensus-facade/src/main/java/com/ofcoder/klein/consensus/facade/config/PaxosProp.java @@ -25,8 +25,8 @@ */ public class PaxosProp { private int masterHeartbeatTimeout = SystemPropertyUtil.getInt("klein.consensus.paxos.master.heartbeat-timeout", 50); - private int masterHeartbeatInterval = SystemPropertyUtil.getInt("klein.consensus.paxos.master.heartbeat-interval", 1000); - private int masterElectMinInterval = SystemPropertyUtil.getInt("klein.consensus.paxos.master.elect-min-interval", masterHeartbeatInterval * 3); + private int masterHeartbeatInterval = SystemPropertyUtil.getInt("klein.consensus.paxos.master.heartbeat-interval", 5000); + private int masterElectMinInterval = SystemPropertyUtil.getInt("klein.consensus.paxos.master.elect-min-interval", masterHeartbeatInterval * 2); private int masterElectMaxInterval = SystemPropertyUtil.getInt("klein.consensus.paxos.master.elect-max-interval", masterElectMinInterval + masterHeartbeatInterval * 3); private boolean write = SystemPropertyUtil.getBoolean("klein.consensus.paxos.write", true); diff --git a/klein-consensus/klein-consensus-paxos/pom.xml b/klein-consensus/klein-consensus-paxos/pom.xml index 5ec651f5..6065d8a5 100644 --- a/klein-consensus/klein-consensus-paxos/pom.xml +++ b/klein-consensus/klein-consensus-paxos/pom.xml @@ -5,13 +5,13 @@ klein-consensus com.ofcoder.klein.consensus - 0.0.1-SNAPSHOT + 0.0.1 4.0.0 com.ofcoder.klein.consensus.paxos klein-consensus-paxos - 0.0.1-SNAPSHOT + 0.0.1 jar diff --git a/klein-consensus/pom.xml b/klein-consensus/pom.xml index a2a7bc55..6d098ce6 100644 --- a/klein-consensus/pom.xml +++ b/klein-consensus/pom.xml @@ -5,14 +5,14 @@ klein com.ofcoder.klein - 0.0.1-SNAPSHOT + 0.0.1 4.0.0 com.ofcoder.klein.consensus klein-consensus pom - 0.0.1-SNAPSHOT + 0.0.1 klein-consensus-paxos diff --git a/klein-core/pom.xml b/klein-core/pom.xml index 8f3e35ad..35c18754 100644 --- a/klein-core/pom.xml +++ b/klein-core/pom.xml @@ -5,13 +5,13 @@ klein com.ofcoder.klein - 0.0.1-SNAPSHOT + 0.0.1 4.0.0 com.ofcoder.klein.core klein-core - 0.0.1-SNAPSHOT + 0.0.1 jar diff --git a/klein-example/pom.xml b/klein-example/pom.xml index b5c5b3e8..43f7dbd9 100644 --- a/klein-example/pom.xml +++ b/klein-example/pom.xml @@ -5,13 +5,13 @@ klein com.ofcoder.klein - 0.0.1-SNAPSHOT + 0.0.1 4.0.0 com.ofcoder.klein.example klein-example - 0.0.1-SNAPSHOT + 0.0.1 jar diff --git a/klein-jepsen/klein-jepsen-server/pom.xml b/klein-jepsen/klein-jepsen-server/pom.xml index 75cf1e07..207f3e64 100644 --- a/klein-jepsen/klein-jepsen-server/pom.xml +++ b/klein-jepsen/klein-jepsen-server/pom.xml @@ -5,13 +5,13 @@ klein-jepsen com.ofcoder.klein.jepsen - 0.0.1-SNAPSHOT + 0.0.1 4.0.0 com.ofcoder.klein.jepsen.server klein-jepsen-server - 0.0.1-SNAPSHOT + 0.0.1 jar diff --git a/klein-jepsen/pom.xml b/klein-jepsen/pom.xml index dd23d82f..abc852a2 100644 --- a/klein-jepsen/pom.xml +++ b/klein-jepsen/pom.xml @@ -5,13 +5,13 @@ klein com.ofcoder.klein - 0.0.1-SNAPSHOT + 0.0.1 4.0.0 com.ofcoder.klein.jepsen klein-jepsen - 0.0.1-SNAPSHOT + 0.0.1 pom klein-jepsen-server diff --git a/klein-rpc/klein-rpc-facade/pom.xml b/klein-rpc/klein-rpc-facade/pom.xml index 32b14dc5..723f81e3 100644 --- a/klein-rpc/klein-rpc-facade/pom.xml +++ b/klein-rpc/klein-rpc-facade/pom.xml @@ -5,13 +5,13 @@ klein-rpc com.ofcoder.klein.rpc - 0.0.1-SNAPSHOT + 0.0.1 4.0.0 com.ofcoder.klein.rpc.facade klein-rpc-facade - 0.0.1-SNAPSHOT + 0.0.1 jar diff --git a/klein-rpc/klein-rpc-grpc/pom.xml b/klein-rpc/klein-rpc-grpc/pom.xml index c6a5b408..4944993d 100644 --- a/klein-rpc/klein-rpc-grpc/pom.xml +++ b/klein-rpc/klein-rpc-grpc/pom.xml @@ -5,13 +5,13 @@ klein-rpc com.ofcoder.klein.rpc - 0.0.1-SNAPSHOT + 0.0.1 4.0.0 com.ofcoder.klein.rpc.grpc klein-rpc-grpc - 0.0.1-SNAPSHOT + 0.0.1 jar diff --git a/klein-rpc/pom.xml b/klein-rpc/pom.xml index a5aa5efa..3b10e775 100644 --- a/klein-rpc/pom.xml +++ b/klein-rpc/pom.xml @@ -5,14 +5,14 @@ klein com.ofcoder.klein - 0.0.1-SNAPSHOT + 0.0.1 4.0.0 com.ofcoder.klein.rpc klein-rpc pom - 0.0.1-SNAPSHOT + 0.0.1 klein-rpc-grpc diff --git a/klein-spi/pom.xml b/klein-spi/pom.xml index 27dce058..891e332e 100644 --- a/klein-spi/pom.xml +++ b/klein-spi/pom.xml @@ -5,13 +5,13 @@ klein com.ofcoder.klein - 0.0.1-SNAPSHOT + 0.0.1 4.0.0 com.ofcoder.klein.spi klein-spi - 0.0.1-SNAPSHOT + 0.0.1 jar diff --git a/klein-storage/klein-storage-facade/pom.xml b/klein-storage/klein-storage-facade/pom.xml index cb0ba41d..d1bc442b 100644 --- a/klein-storage/klein-storage-facade/pom.xml +++ b/klein-storage/klein-storage-facade/pom.xml @@ -5,13 +5,13 @@ klein-storage com.ofcoder.klein.storage - 0.0.1-SNAPSHOT + 0.0.1 4.0.0 com.ofcoder.klein.storage.api klein-storage-facade - 0.0.1-SNAPSHOT + 0.0.1 jar diff --git a/klein-storage/klein-storage-file/pom.xml b/klein-storage/klein-storage-file/pom.xml index b6448595..4f8c75e7 100644 --- a/klein-storage/klein-storage-file/pom.xml +++ b/klein-storage/klein-storage-file/pom.xml @@ -5,13 +5,13 @@ klein-storage com.ofcoder.klein.storage - 0.0.1-SNAPSHOT + 0.0.1 4.0.0 com.ofcoder.klein.storage.file klein-storage-file - 0.0.1-SNAPSHOT + 0.0.1 jar diff --git a/klein-storage/klein-storage-h2/pom.xml b/klein-storage/klein-storage-h2/pom.xml index 62f6fd12..ef41fc5a 100644 --- a/klein-storage/klein-storage-h2/pom.xml +++ b/klein-storage/klein-storage-h2/pom.xml @@ -5,13 +5,13 @@ klein-storage com.ofcoder.klein.storage - 0.0.1-SNAPSHOT + 0.0.1 4.0.0 com.ofcoder.klein.storage.h2 klein-storage-h2 - 0.0.1-SNAPSHOT + 0.0.1 jar diff --git a/klein-storage/pom.xml b/klein-storage/pom.xml index d8494dd6..216463ee 100644 --- a/klein-storage/pom.xml +++ b/klein-storage/pom.xml @@ -5,14 +5,14 @@ klein com.ofcoder.klein - 0.0.1-SNAPSHOT + 0.0.1 4.0.0 com.ofcoder.klein.storage klein-storage pom - 0.0.1-SNAPSHOT + 0.0.1 klein-storage-facade diff --git a/pom.xml b/pom.xml index 50fd9d96..b665d199 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ com.ofcoder.klein klein pom - 0.0.1-SNAPSHOT + 0.0.1 ${project.groupId}:${project.artifactId}