杨翊 SionYang
d146e057c4
Fix ThreadPool usage problem and add some monitor for distro ( #5237 )
2021-03-30 16:27:41 +08:00
shalk(xiao kun)
975985ecc4
[ISSUE #5151 ] add ut for package c.a.nacos.client.naming.core ( #5193 )
...
* add ut for package c.a.nacos.client.naming.core
* fix
* fix shutdown
* fix import
2021-03-30 10:17:56 +08:00
shalk(xiao kun)
51d57e083c
upgrade mockito from 2.4 to 3.8 ( #5226 )
2021-03-30 10:16:46 +08:00
shalk(xiao kun)
85c7d4e518
add ut for c.a.nacos.client.naming.utils in nacos 2.0 ( #5230 )
2021-03-30 10:16:09 +08:00
shalk(xiao kun)
712774f31b
remove unused utils; use threadlocalrandom from jdk since 1.7 ( #5231 )
2021-03-30 10:15:06 +08:00
nov.lzf
a6a254a1c0
fix thread pool ( #5233 )
...
* fix thread pool
* fix log
2021-03-29 21:31:06 +08:00
杨翊 SionYang
1969f00aa5
Fix #5204 , Fix query error when pageNo is larger than service number. ( #5228 )
2021-03-29 15:31:25 +08:00
JackSun-Developer
7cab70e889
[ #5171 ] Too much Integration Tests in package com.alibaba.nacos.test.naming cannot pass, could you fix them? ( #5224 )
2021-03-29 10:51:04 +08:00
shalk(xiao kun)
ebc64d2042
add ut for c.a.nacos.client.naming.event in nacos 2.0 ( #5192 )
2021-03-29 10:48:06 +08:00
mai.jh
9cdfd9599d
[ISSUE-#5182] Remove ConfigController#removeRequestContext method. ( #5201 )
...
* fix #5182 , After some discussion, 2.0 adopted a long connection approach and decided to remove RemoveRequest Context
* fix #5182 , After some discussion, 2.0 adopted a long connection approach and decided to remove RemoveRequest Context
* Removing invalid import
2021-03-26 13:52:56 +08:00
李晓双 Li Xiao Shuang
d5b9b908a0
[ISSUE #5096 ] Add unit tests to package com.alibaba.nacos.naming.healthcheck in nacos 2.0 ( #5170 )
...
* add unit test for healthcheck
* add newline
* delete javadoc
* add Licensed
* add verify
* normalize
2021-03-26 10:01:06 +08:00
杨翊 SionYang
46c9a96ec5
Fix #5178 , Fix NPE when init server list failed. ( #5188 )
2021-03-26 09:36:20 +08:00
Pixy Yuan
db49388f62
[ISSUE #5169 ] Fix instance beat run only by responsible server. ( #5179 )
...
* [ISSUE #5169 ] DISTRO filter support `beat` parameter
For old version clients.
* [ISSUE #5169 ] Only responsible server need to check instance heartbeats
2021-03-25 09:48:00 +08:00
Gagharv
141e531c52
Just delete unnecessary code, which may cause members to lose state, such as supportRemoteConnection
. ( #5176 )
...
When the node list is changed, ClusterRpcClientProxy#refresh is judged as a member leave.
2021-03-25 09:46:01 +08:00
杨翊 SionYang
a9a795c97d
Fix IT start error problem. ( #5168 )
2021-03-23 10:53:56 +08:00
shalk(xiao kun)
2798aa90a1
add ut for c.a.nacos.client.naming.cache in nacos 2.0 ( #5165 )
2021-03-23 09:23:47 +08:00
shalk(xiao kun)
dee919ace9
add ut for package c.a.nacos.client.naming.backups ( #5157 )
2021-03-22 09:54:27 +08:00
shalk(xiao kun)
9afdd430bb
add ut for package c.a.nacos.client.naming.beat ( #5156 )
2021-03-22 09:53:50 +08:00
赵延
32d8d4be43
remove useless file. ( #5142 )
2021-03-19 15:45:55 +08:00
杨翊 SionYang
fb9300d87f
Nacos2.0 adapt batch instance metadata operate ( #5141 )
...
* Rebuild ui
* Nacos2.0 adapt batch instance metadata operate
2021-03-19 11:48:06 +08:00
nov.lzf
9bb08d9f4d
remote reconnect bugfix ( #5136 )
...
* remote reconnect bugfix
* remote reconnect bugfix
2021-03-19 09:30:08 +08:00
杨翊 SionYang
e1dc906b24
Merge pull request #5135 from KomachiSion/develop-merge-to-2.0
...
Develop merge to 2.0
2021-03-18 14:02:48 +08:00
KomachiSion
d160c84bf3
Solve conflict
2021-03-18 13:42:14 +08:00
KomachiSion
acbdaf012e
Solve conflict
2021-03-18 13:41:13 +08:00
KomachiSion
bd4b63d834
Merge remote-tracking branch 'upstream/feature_support_grpc_core' into develop-merge-to-2.0
2021-03-18 13:38:35 +08:00
KomachiSion
5c7c108b65
Solve conflict
2021-03-18 13:38:07 +08:00
nov.lzf
5fc13e9654
add client ip ( #5134 )
...
* add client ip
* checkstyle fix
* wait to register connection setup
2021-03-18 13:22:10 +08:00
KomachiSion
6cda5ad55a
Merge remote-tracking branch 'upstream/develop' into develop-merge-to-2.0
...
# Conflicts:
# client/src/main/java/com/alibaba/nacos/client/naming/core/HostReactor.java
# client/src/main/java/com/alibaba/nacos/client/naming/remote/http/NamingHttpClientProxy.java
# client/src/test/java/com/alibaba/nacos/client/config/impl/YmlChangeParserTest.java
# common/src/main/java/com/alibaba/nacos/common/http/param/Header.java
# common/src/main/java/com/alibaba/nacos/common/utils/ConcurrentHashSet.java
# config/src/main/java/com/alibaba/nacos/config/server/controller/ConfigController.java
# console/src/main/resources/static/js/main.js
# core/src/main/java/com/alibaba/nacos/core/cluster/ServerMemberManager.java
# core/src/main/java/com/alibaba/nacos/core/utils/Loggers.java
# naming/src/main/java/com/alibaba/nacos/naming/controllers/InstanceController.java
# naming/src/main/java/com/alibaba/nacos/naming/healthcheck/HealthCheckReactor.java
# pom.xml
2021-03-18 12:08:45 +08:00
杨翊 SionYang
f1cf643b81
Try to fix #4573,#4629. Jraft leader status check error. ( #5129 )
2021-03-18 11:11:45 +08:00
杨翊 SionYang
00032676e9
[ISSUE#4829] Remove instance when distro and raft remove instances data. ( #5131 )
...
* Fix #4829 , remove instance when distro and raft remove instances data.
* Remove synchronized
2021-03-18 09:53:48 +08:00
杨翊 SionYang
b2fb8839b8
[#4822,#4823,#4824,#4825,#4979] Fix dependency security problem. ( #5128 )
...
* For #4822,#4823,#4824,#4825,#4979, Fix dependency security problem
* Fix jackson annotation version problem.
2021-03-17 17:55:54 +08:00
haoyann
4029d32e01
fix ConcurrentHashSet
compatibility problems ( #5122 )
2021-03-17 09:49:38 +08:00
shalk(xiao kun)
d8e54453a6
add ut for c.a.nacos.client.config ( #5118 )
2021-03-17 09:35:25 +08:00
haoyann
fd57e08897
perfect KvStorage doc ( #5112 )
2021-03-16 16:54:17 +08:00
Pixy Yuan
ed1f244e8b
[ISSUE #5109 ] Fix HealthCheckCommonV2 sometimes will not finish the c… ( #5110 )
...
* [ISSUE #5109 ] Fix HealthCheckCommonV2 sometimes will not finish the checking flag.
* [ISSUE #5109 ] Add a warning log to a maybe-unreachable code at tcp check processor.
2021-03-16 16:53:30 +08:00
JackSun-Developer
bb9e37491f
[ISSUE #4983 ] Add unit tests to package com.alibaba.nacos.naming.core.v2.service in nacos 2.0 ( #5107 )
2021-03-16 09:49:59 +08:00
shalk(xiao kun)
5b99b7d4eb
[ISSUE #5034 ] add ut for package com.alibaba.nacos.client.config.http ( #5048 )
...
* add ut for package com.alibaba.nacos.client.config.http
* remove ut doc
* remove http request case
2021-03-15 09:49:53 +08:00
haoyann
d70e9efff3
add config compare feat ( #5102 )
2021-03-15 09:39:10 +08:00
谭九鼎
71a7d65001
readme: use https links ( #5105 )
2021-03-15 09:37:41 +08:00
shalk(xiao kun)
6d8440fd11
add ut for package com.alibaba.nacos.client.config.impl ( #5104 )
2021-03-15 09:28:30 +08:00
haoyann
bfc97f3371
fix instance list page bug ( #5097 )
2021-03-13 16:08:29 +08:00
Pixy Yuan
e6402bc2a8
[ISSUE #5087 ] Enabled healthy protection threshold when pushing instance data. ( #5088 )
2021-03-12 17:48:47 +08:00
杨翊 SionYang
8a4b885fd6
Use hook to monitor and report push result. ( #5091 )
...
* Add subscribe count monitor.
* Use hook to monitor and report push result.
* Fix ip count monitor will become negative number
2021-03-12 17:48:14 +08:00
Pixy Yuan
8bc49c39fc
[ISSUE #5070 ] Fix catalog instance listing, make selectInstancesWithHealthyProtection isolated. ( #5085 )
2021-03-12 14:49:07 +08:00
Pixy Yuan
4acb6957f8
[ISSUE #5080 ] Fix health checker pre-start logic. ( #5081 )
2021-03-12 14:47:17 +08:00
haoyann
25a8bf696b
[ISSUE #4936 ]Enhance the message when NamingKvStorage#get error ( #5077 )
...
* Enhance the message when NamingKvStorage#get error
* enhance get and delete operation
2021-03-12 10:51:35 +08:00
nov.lzf
481d25a6c7
listener bugfix ( #5079 )
2021-03-12 10:30:52 +08:00
shalk(xiao kun)
711afc7bac
[ISSUE #5037 ]add ut for package com.alibaba.nacos.client.config.utils ( #5050 )
...
* add ut for package com.alibaba.nacos.client.config.utils
* fix ut checkstyle
2021-03-11 19:51:26 +08:00
shalk(xiao kun)
3a89725e28
[ISSUE #5036 ]add ut for com.alibaba.nacos.client.config.listener ( #5049 )
...
* add ut for com.alibaba.nacos.client.config.listener
* remove ut doc
2021-03-11 19:49:43 +08:00
shalk(xiao kun)
e7803d1c44
[ISSUE #5032 ] add ut for package com.alibaba.nacos.client.config.filter ( #5046 )
...
* add ut for package com.alibaba.nacos.client.config.filter
* remove ut doc
2021-03-11 19:43:51 +08:00