杨翊 SionYang
d146e057c4
Fix ThreadPool usage problem and add some monitor for distro ( #5237 )
2021-03-30 16:27:41 +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
李晓双 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
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
杨翊 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
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
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
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
Pixy Yuan
85942358ba
[ISSUE #5067 ] Listing instances and marked as healthy state when heal… ( #5069 )
...
* [ISSUE #5067 ] Listing instances and marked as healthy state when healthy protection threshold reached.
Whatever state the instance is.
* [ISSUE #5067 ] Fix code formatting.
2021-03-10 16:28:22 +08:00
Pixy Yuan
5c8559b8ba
[ISSUE #5054 ] Support naming instance list with healthy protection using service.protectionThreshold. ( #5055 )
...
* [ISSUE #5054 ] Support naming instance list with healthy protection using service.protectionThreshold.
* [ISSUE #5054 ] Fix code formatting.
2021-03-09 11:11:40 +08:00
KomachiSion
cdc7b67292
Fix verify callback build error.
2021-03-08 18:01:10 +08:00
KomachiSion
ff0838268a
Fix distro client verify return error code problem.
2021-03-08 17:48:54 +08:00
赵延
b1c39a6354
[ISSUE-#4306] StringJoiner should consider '@@'. ( #5022 )
...
* StringJoiner should consider '@@'.
* StringJoiner should consider '@@'.
2021-03-08 11:43:26 +08:00
杨翊 SionYang
eb36581c2c
Refactor and enhance for client distro protocol ( #5017 )
...
* Distro check dataStorage status before send verify data.
* Add source server address info for distro verify.
* Refactor Distro verify task.
* Refactor Distro client verify task
2021-03-05 11:45:56 +08:00
KomachiSion
328f905cb3
Fix Unit test error
2021-03-04 19:33:49 +08:00
Pixy Yuan
cab401d5b6
Fix #5001 . Returns empty list when service has no subscribers. ( #5004 )
2021-03-04 18:54:05 +08:00
杨翊 SionYang
121b07be7d
Single push to client when client subscribe service. ( #4998 )
2021-03-03 17:59:01 +08:00
杨翊 SionYang
5c7c28e191
For #4989 , fix throws NPE when some metadata value is null. ( #4994 )
2021-03-03 15:08:16 +08:00
杨翊 SionYang
99cb98d1cf
For #4987 , Fix throw exception when build ClientInfo with empty user-agent. ( #4993 )
2021-03-03 14:32:28 +08:00
JackSun-Developer
02195ef00b
Add unit tests for package com.alibaba.nacos.naming.core.v2.client.impl ( #4978 )
2021-03-01 16:41:32 +08:00
赵延
d8dbf540d2
fix one service init twice problem. ( #4968 )
2021-03-01 10:01:19 +08:00
KomachiSion
e1cbdc490e
For checkstyle
2021-02-26 16:45:23 +08:00
JackSun-Developer
69413e3b73
Add unit tests for package com.alibaba.nacos.naming.core.v2.client.manager.impl ( #4967 )
2021-02-26 16:44:35 +08:00
KomachiSion
158f2b419c
Fix serialize error problem
2021-02-26 14:13:43 +08:00
杨翊 SionYang
d9e21cfa78
Add ClientSyncAttributes to sync some client metadata to other server. ( #4961 )
2021-02-26 10:17:51 +08:00
JackSun-Developer
331f539822
Add EphemeralIpPortClientManager unit test ( #4951 ) ( #4951 )
...
Co-authored-by: sunli <sunli@B-3GFAMD6M-0110.local>
2021-02-25 10:37:27 +08:00
杨翊 SionYang
4e455680f3
Add push unit test ( #4939 )
2021-02-24 14:40:03 +08:00
杨翊 SionYang
3550d8e5e4
Wrapper push data make executors can do operation. ( #4938 )
2021-02-24 14:12:12 +08:00
杨翊 SionYang
8bc443ea48
Add spi for PushExecutor to support extend ( #4935 )
2021-02-23 20:46:08 +08:00
杨翊 SionYang
65224006b2
Fix rpc push error for ipv6 ( #4934 )
2021-02-23 17:12:56 +08:00
杨翊 SionYang
b26acdc726
Fix NPE when client factory init ( #4923 )
2021-02-22 14:47:45 +08:00
杨翊 SionYang
2b4142d428
Add ClientFactory to extend client ( #4922 )
...
* Move Constants to constants package
* Add ClientFactory to extend
2021-02-22 14:33:06 +08:00
杨翊 SionYang
3af5c03c52
Fix double write NPE ( #4886 )
2021-02-05 14:02:24 +08:00
杨翊 SionYang
3a82d5d987
Add some enhancements ( #4881 )
...
* Add some enhancements
* Add tps monitor for naming push
* Add some enhancement for client
2021-02-05 10:15:31 +08:00
JackSun-Developer
9ce5501b8d
[ISSUE #3876 ][NA] failed to update serviceName: DEFAULT_GROUP@@prod-zipkin ( #4864 )
2021-02-05 09:16:13 +08:00
杨翊 SionYang
5626b2be1f
Add switch to close double write in 2.0.0 ( #4845 )
...
* Add close double write
* Add an async service check task when upgrading.
2021-02-01 11:19:19 +08:00
杨翊 SionYang
d7a38774a4
Adapt some naming openAPI ( #4832 )
...
* Adapt HealthController openAPI
* Adapt OperatorController openAPI
* Adapt all necessary openAPI in ServiceController
2021-01-29 15:00:05 +08:00
杨翊 SionYang
01ea27501e
Full support for registering custom instances ( #4828 )
...
* Move out `cluster` from extendInfo in InstancePublishInfo
* Fix unit test error
* Rename instanceId in instanceMetadata to metadataId
* Fix unit test
* Adapt 1.X client instance Id
* Full support for registering custom instances
2021-01-28 20:20:01 +08:00
杨翊 SionYang
c275fc310e
Fix #4788 , Fix client id judgement error for ipv6 ( #4815 )
2021-01-28 12:03:08 +08:00
KomachiSion
1a2088cd69
Fix death loop when 2.0 restart
2021-01-27 20:33:42 +08:00
KomachiSion
8f94646bee
Split double write task
2021-01-27 20:33:42 +08:00
KomachiSion
40dec33ff6
Add double write logic for downgrade
2021-01-27 20:33:42 +08:00