Skip to content

Commit cc2f105

Browse files
authored
Dev 5.4.5 (#143)
* upgrade version to 5.4.5 * bugfix: repub will remove other publishers in same connectID * split meta thread pool to improve stability * configurable electiontimeout * add admin api to implement session connections loadbalance * session heartbeat timeout * upgrade jraft to 1.3.5.Alpha1
1 parent e5d1e19 commit cc2f105

File tree

78 files changed

+1335
-217
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+1335
-217
lines changed

client/all/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.alipay.sofa</groupId>
88
<artifactId>registry-client-all</artifactId>
9-
<version>5.4.4</version>
9+
<version>5.4.5</version>
1010

1111
<name>${project.groupId}:${project.artifactId}</name>
1212
<url>http://github.com/alipay/sofa-registry</url>

client/api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.alipay.sofa</groupId>
77
<artifactId>registry-client-parent</artifactId>
8-
<version>5.4.4</version>
8+
<version>5.4.5</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111
<modelVersion>4.0.0</modelVersion>

client/impl/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.alipay.sofa</groupId>
77
<artifactId>registry-client-parent</artifactId>
8-
<version>5.4.4</version>
8+
<version>5.4.5</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111
<modelVersion>4.0.0</modelVersion>

client/log/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.alipay.sofa</groupId>
77
<artifactId>registry-client-parent</artifactId>
8-
<version>5.4.4</version>
8+
<version>5.4.5</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111
<modelVersion>4.0.0</modelVersion>

client/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>com.alipay.sofa</groupId>
99
<artifactId>registry-parent</artifactId>
10-
<version>5.4.4</version>
10+
<version>5.4.5</version>
1111
<relativePath>../pom.xml</relativePath>
1212
</parent>
1313

core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.alipay.sofa</groupId>
77
<artifactId>registry-parent</artifactId>
8-
<version>5.4.4</version>
8+
<version>5.4.5</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111
<modelVersion>4.0.0</modelVersion>

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<modelVersion>4.0.0</modelVersion>
77
<groupId>com.alipay.sofa</groupId>
88
<artifactId>registry-parent</artifactId>
9-
<version>5.4.4</version>
9+
<version>5.4.5</version>
1010
<packaging>pom</packaging>
1111

1212
<name>${project.groupId}:${project.artifactId}</name>
@@ -59,7 +59,7 @@
5959
<maven.compiler.source>1.8</maven.compiler.source>
6060
<maven.compiler.target>1.8</maven.compiler.target>
6161
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
62-
<bolt.version>1.5.2</bolt.version>
62+
<bolt.version>1.6.2</bolt.version>
6363
<commons.lang.version>2.6</commons.lang.version>
6464
<google.guava.version>18.0</google.guava.version>
6565
<sofa.common.tools.version>1.0.12</sofa.common.tools.version>
@@ -75,7 +75,7 @@
7575
<lookout.version>1.5.2</lookout.version>
7676
<mockito.version>1.10.19</mockito.version>
7777
<powermock.version>1.6.6</powermock.version>
78-
<jraft.version>1.2.7.beta1</jraft.version>
78+
<jraft.version>1.3.5.Alpha1</jraft.version>
7979
<metrics.version>4.0.2</metrics.version>
8080
<commons-io.version>2.4</commons-io.version>
8181
<jetty.version>[9.4.17.v20190418,9.4.19.v20190610]</jetty.version>

server/common/model/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.alipay.sofa</groupId>
77
<artifactId>registry-common</artifactId>
8-
<version>5.4.4</version>
8+
<version>5.4.5</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111
<modelVersion>4.0.0</modelVersion>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one or more
3+
* contributor license agreements. See the NOTICE file distributed with
4+
* this work for additional information regarding copyright ownership.
5+
* The ASF licenses this file to You under the Apache License, Version 2.0
6+
* (the "License"); you may not use this file except in compliance with
7+
* the License. You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
package com.alipay.sofa.registry.common.model.metaserver;
18+
19+
import java.io.Serializable;
20+
import java.util.Map;
21+
22+
/**
23+
* @author xiangxu
24+
* @version : LoadbalanceConfig.java, v 0.1 2020年05月29日 10:19 上午 xiangxu Exp $
25+
*/
26+
public class ConfigureLoadbalanceRequest implements Serializable {
27+
private int maxConnections;
28+
29+
public ConfigureLoadbalanceRequest(int maxConnections) {
30+
this.maxConnections = maxConnections;
31+
}
32+
33+
public int getMaxConnections() {
34+
return maxConnections;
35+
}
36+
37+
public void setMaxConnections(int maxConnections) {
38+
this.maxConnections = maxConnections;
39+
}
40+
41+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one or more
3+
* contributor license agreements. See the NOTICE file distributed with
4+
* this work for additional information regarding copyright ownership.
5+
* The ASF licenses this file to You under the Apache License, Version 2.0
6+
* (the "License"); you may not use this file except in compliance with
7+
* the License. You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
package com.alipay.sofa.registry.common.model.metaserver;
18+
19+
import java.io.Serializable;
20+
21+
/**
22+
* @author xiangxu
23+
* @version : SessionLoadbalanceMetrics.java, v 0.1 2020年05月27日 11:13 上午 xiangxu Exp $
24+
*/
25+
public class GetLoadbalanceMetricsRequest implements Serializable {
26+
}

0 commit comments

Comments
 (0)