Commit Graph

3263 Commits

Author SHA1 Message Date
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
nov.lzf
93e47bc6d3
support tpc control in minutes level, support tps control for every ptoro key with matched pattern (#5071) 2021-03-10 22:19:14 +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
shalk(xiao kun)
3dd7915aa6
fix MetricsHttpAgent metrics twice (#5029) 2021-03-10 11:24:03 +08:00
nov.lzf
5247548e86
shade client and using remote ip from header (#5068)
* shade client

* shade client

* fix default cluster port

* rollback client ip

* using remote ip from header

* using remote ip from header

* using remote ip from header
2021-03-10 11:18:37 +08:00
haoyann
d80a272646
Remove extra semicolons (#5063) 2021-03-10 10:00:04 +08:00
shalk(xiao kun)
015a114822
add ut for package com.alibaba.nacos.client.config.common (#5045) 2021-03-09 18:05:27 +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
0c35f056b0 DistroDelayTaskProcessor handle ADD type like CHANGE 2021-03-08 18:26:22 +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
KomachiSion
b007f302b6 Add some log for distro. 2021-03-08 17:41:48 +08:00
KomachiSion
4aee04603c Add some log for distro. 2021-03-08 15:48:11 +08:00
赵延
b1c39a6354
[ISSUE-#4306] StringJoiner should consider '@@'. (#5022)
* StringJoiner should consider '@@'.

* StringJoiner should consider '@@'.
2021-03-08 11:43:26 +08:00
haoyann
2972d4f22f
fix UpdateTask some logic errors (#5041) 2021-03-08 10:03: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
shalk(xiao kun)
63f7e337d9
fix TemplateUtils usage (#5010) 2021-03-05 09:33:53 +08:00
nov.lzf
3afa7eac89
shutdown long connection where server rollback; use client submit client ip (#5013)
* use  client ip from connection setup request.

* reset remote connection for rollback

* npe bugfix

* npe bugfix

* stop long connection where server rollback

* stop long connection where server rollback
2021-03-05 09:28:01 +08:00