KomachiSion
51cc2b1b4b
Merge remote-tracking branch 'upstream/develop' into feature_support_grpc_core
...
# Conflicts:
# client/src/main/java/com/alibaba/nacos/client/config/NacosConfigService.java
# client/src/main/java/com/alibaba/nacos/client/config/impl/CacheData.java
# client/src/main/java/com/alibaba/nacos/client/config/impl/ClientWorker.java
# client/src/test/java/com/alibaba/nacos/client/config/common/GroupKeyTest.java
# common/src/test/resources/META-INF/services/com.alibaba.nacos.common.spi.SpiTestInterface
# config/src/main/java/com/alibaba/nacos/config/server/controller/ConfigServletInner.java
# console/src/main/resources/static/css/main.css
# console/src/main/resources/static/js/main.js
# istio/src/main/java/com/alibaba/nacos/istio/mcp/NacosMcpService.java
# naming/src/main/java/com/alibaba/nacos/naming/controllers/ApiController.java
# naming/src/main/java/com/alibaba/nacos/naming/controllers/CatalogController.java
# naming/src/main/java/com/alibaba/nacos/naming/push/PushService.java
2021-04-13 14:28:30 +08:00
Wu Zhiguo
9bcb901174
Fix some typo ( #5260 )
...
* fix some typo
* rollback some comment format
2021-04-03 12:57:57 +08:00
赵延
1ec21de8f4
groupName can't be empty. ( #5196 )
2021-03-26 09:54: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
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
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
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
赵延
b1c39a6354
[ISSUE-#4306] StringJoiner should consider '@@'. ( #5022 )
...
* StringJoiner should consider '@@'.
* StringJoiner should consider '@@'.
2021-03-08 11:43:26 +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
nov.lzf
2315a745d3
tag publish bugfix; ignore server port for connection reset request. ( #4947 )
...
* grpc port modified;change notify bugfix.
* default member port fix
* modify grpc port to offset
* modify grpc port to offset
2021-02-25 10:38:25 +08:00
nov.lzf
0449fbc707
move server loader controller from console to core; modify common server scheduler count to solve large cpu usage ( #4872 )
...
* move server loader controll from console to core
* modify common server scheduler count to solve large cpu usage
2021-02-04 14:09:08 +08:00
nov.lzf
d5af830d52
remove config resync request and add getting cluster metrics ( #4846 )
...
* from diamond over nacos 2.0
* config notify task type bugfix
* keep consistent with diamond over nacos 2.0
* remove config resync request and add getting cluster metrics
* add using address server to look up interface
* add using address server to look up interface
2021-02-01 13:33:56 +08:00
xbj
51bc113dea
fix addListener method comment ( #4827 )
...
if provided -> if not provided
2021-01-28 20:07:04 +08:00
nov.lzf
3cfa183400
convert payload type from full name to simple name;abilities both on client-server& server cluster submit ( #4791 )
...
* convert payload type from full name to simple name.
* abilities both on client-server& server cluster submit
* Cas of update config, beta,tag publish
* tenant support on connection.
* modify health check tps point name
2021-01-25 14:11:35 +08:00
nov.lzf
7e58b5cb7b
fuzzy match support of tps control;remove http transport of client worker ; add internal executors of CacheData notifier ( #4783 )
...
* keepalive time adjust
* fuzzy match support of tps control;remove http transport of client worker ; add internal executors of CacheData notifier
2021-01-22 18:34:37 +08:00
nov.lzf
4e7346db1d
tps monitor key use self define submit;active detection both on client and server ( #4767 )
...
* tps monitor key use self define submit
* pmd and check style.
* active detection of client and server
* connection manager ,active send interval increase
2021-01-21 14:40:07 +08:00
nov.lzf
91bf227c4a
tps control submit; connection rule ( #4752 )
...
* tps reporter submit
* tps reporter submit
* log optimize; listen concurrent bugfix; async request exception fix
* server loader bugfix;increase keep alive default time
* tps report bugfix, tps log bugfix;
* rpc server push ack notify bugfix.
* change rule store dir ;add local file change event of connection rule.
* remove client side request meta; reduce client parameters
* 简化冗余代码
* 优化异常日志
* md5 sync bugfix
* client metrics submit; tps monitor ip list support
* client metrics submit; tps monitor ip list support
2021-01-20 09:21:40 +08:00
KomachiSion
fd06b5a7b6
Merge remote-tracking branch 'upstream/develop' into feature_support_grpc_core
...
# Conflicts:
# address/pom.xml
# api/pom.xml
# auth/pom.xml
# client/pom.xml
# cmdb/pom.xml
# common/pom.xml
# config/pom.xml
# consistency/pom.xml
# console/pom.xml
# core/pom.xml
# distribution/pom.xml
# example/pom.xml
# istio/pom.xml
# naming/pom.xml
# pom.xml
# sys/pom.xml
# test/pom.xml
2021-01-18 10:32:57 +08:00
KomachiSion
db1314e78e
Merge remote-tracking branch 'upstream/develop' into feature_support_grpc_core
...
# Conflicts:
# address/pom.xml
# api/pom.xml
# auth/pom.xml
# client/pom.xml
# cmdb/pom.xml
# common/pom.xml
# config/pom.xml
# consistency/pom.xml
# console/pom.xml
# core/pom.xml
# distribution/pom.xml
# example/pom.xml
# istio/pom.xml
# naming/pom.xml
# pom.xml
# sys/pom.xml
# test/pom.xml
2021-01-18 10:27:04 +08:00
杨翊 SionYang
1bd67269cd
Use revision to set version and upgrade to 1.4.2-SNAPSHOT ( #4711 )
...
* Use revision set version
* Use revision set version
* Add flatten plugin
2021-01-15 14:37:47 +08:00
杨翊 SionYang
67eb36976e
Upgrade to 1.4.1 ( #4695 )
2021-01-14 11:36:57 +08:00
邪影oO
f28cedea42
fix #4686 ( #4692 )
2021-01-14 09:38:10 +08:00
nov.lzf
79b39db5ca
query config line break miss bugfix . ( #4688 )
2021-01-13 19:35:16 +08:00
KomachiSion
902f501fac
Merge remote-tracking branch 'upstream/develop' into feature_support_grpc_core
...
# Conflicts:
# client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingService.java
# 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
# config/src/main/java/com/alibaba/nacos/config/server/service/notify/AsyncNotifyService.java
# naming/src/main/java/com/alibaba/nacos/naming/push/ClientInfo.java
# naming/src/main/java/com/alibaba/nacos/naming/push/PushService.java
2021-01-13 15:53:50 +08:00
赵延
e2f7796d3a
[ISSUE-#3880] NamingService Client support pushEmptyProtection. ( #4665 )
...
* NamingService Client support pushEmptyProtection.
* check hosts is null. if null, also invalid.
2021-01-12 09:48:27 +08:00
nov.lzf
6027d36222
client use same executor during different connection;metrics count bugfix.;recommend server check ( #4659 )
...
* client use same executor during different connection.
* metrics count bugfix.
* recommend server check
* remove rsocket ;add client metrics
* add client metrics to get cache value
* rpc tps control basic api submit.
* check style ,pmd fix.
2021-01-11 14:11:32 +08:00
nov.lzf
2d8d4c5f5a
onnectionLimitRule submit.client use same executor during different … ( #4651 )
...
* ConnectionLimitRule submit.
* ConnectionLimitRule submit.client use same executor during different connection.
2021-01-08 09:59:03 +08:00
nov.lzf
afb1a28135
log optimize; config re sync request ( #4638 )
2021-01-06 21:25:14 +08:00
KomachiSion
bdacd0958d
Merge remote-tracking branch 'upstream/develop' into 2.0.0-sync-develop
...
# Conflicts:
# client/src/main/java/com/alibaba/nacos/client/config/impl/ClientWorker.java
# client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingService.java
# client/src/main/java/com/alibaba/nacos/client/naming/remote/http/NamingHttpClientProxy.java
# core/src/main/java/com/alibaba/nacos/core/listener/StartingApplicationListener.java
# naming/src/main/java/com/alibaba/nacos/naming/controllers/CatalogController.java
# naming/src/main/java/com/alibaba/nacos/naming/controllers/ServiceController.java
2020-12-31 11:48:52 +08:00
nov.lzf
0ad5bcbb17
call back bugfix. rpc executor extract... ( #4592 )
2020-12-29 16:23:32 +08:00
赵延
56348af81b
make code more readable. ( #4568 )
...
* make code more readable.
* code enhance
* code enhance
* fix comment for grpc client
* initHandlerRpcClient -> initRpcClientHandler
* rename some method and modify some comments
* code enhance.
* code enhance.
* rename NamingPushResponseHandler -> NamingPushRequestHandler
* fix connectionId typo
2020-12-29 13:54:21 +08:00
xujingfeng
5236287fdb
[ISSUE #4583 ] Fix DOMAIN mode retry logic ( #4584 )
...
* fix namingProxy domain retry logic; add retry param namingRequestDomainMaxRetryCount
* add maxRetry param
2020-12-28 09:40:10 +08:00
nov.lzf
6e34f2886b
encode bugfix ( #4548 )
...
* basic spell fix.import
fail bugfix
* encode bugfix
* remote log bugfix; create client concurrent bugfix;optimize log
* checkstyle fix
* checkstyle fix
* checkstyle fix
* checkstyle fix
* checkstyle fix
* checkstyle pmd fix
* checkstyle pmd fix
* http poll sla bugfix; rpc config listen notify optimize
2020-12-26 15:53:10 +08:00
Gagharv
ce57b98332
[ISSUE-#3005] fix ClusterController 403 and some display wrong ( #4512 )
...
* fix 3005
* fix 3005
2020-12-23 19:48:03 +08:00
杨翊 SionYang
4445bad715
Add unit test for naming push ( #4545 )
...
* Add single push task for retry push
* Add unit test for Push task
* Add unit test for Push executor
* Add unit test for Subscriber service v2
* PushService.java --> UdpPushService
* Refactor and add unit test for ClientInfo
* Solve Conflict and compile problem
2020-12-22 17:56:34 +08:00
nov.lzf
452410825f
20201221 lzf grpc ( #4535 )
...
* basic spell fix.
* basic spell fix.
2020-12-21 20:46:36 +08:00
杨翊 SionYang
d8b52d188a
Add callback, simple retry and metric for naming push ( #4533 )
...
* Re-plan the package structure of naming.push
* Add callback and simple retry for push
* Add rpc push metric and refactor MetricsMonitor
2020-12-21 19:28:56 +08:00
赵延
30a04f98ba
check illegal heart beat param when before register ( #4514 )
2020-12-21 10:07:43 +08:00
赵延
c72cb016b4
Enhance log info and fix code checkstyle ( #4529 )
...
* 1.fix code checkstyle check
2.enhance disconnect log info
* log enhance
* revert line
2020-12-21 09:42:11 +08:00
赵延
898c8fb3c8
Optimize PayloadRegistry#init ( #4505 )
...
* 1.remove unnecessary scan packages.
2.split request and response scan packages.
* append naming module package
2020-12-17 10:11:02 +08:00
赵延
508aa9302a
fix response desc always null ( #4504 )
2020-12-17 10:05:31 +08:00
nov.lzf
caffec2d5b
rsocket parse bugfix; auth bugfix;some checkstyle and basic spell fix. ( #4473 )
...
* rsocket parse bugfix; auth bugfix;some checkstyle and basic spell fix.
* auth bugfix
2020-12-14 19:31:33 +08:00
杨翊 SionYang
93a3ac7816
Upgrade to 2.0.0-ALPHA.1 ( #4410 )
...
* Add some new server config parameters
* Upgrade to 2.0.0-ALPHA.1
2020-12-04 18:46:24 +08:00
luoos
24b99aa16b
Fix an order-dependent flaky test ( #4384 )
...
[Problem]
testSerializeExtend add an item to a static mapper,
and testDeserializeExtend read that item from that static mapper.
So if testDeserializeExtend runs before testSerializeExtend,
testDeserializeExtend will fail.
@Ignore testSerializeExtend can stably reproduce this issue.
[Solution]
Add that item to the static mapper in @BeforeClass method
(Even though using static variables in unit tests is a bad practice)
2020-12-04 09:18:55 +08:00
KomachiSion
d6fcac85c5
Merge remote-tracking branch 'upstream/develop' into feature_support_grpc_core
...
# Conflicts:
# client/src/main/java/com/alibaba/nacos/client/config/http/ServerHttpAgent.java
# client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingMaintainService.java
# client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingService.java
# config/src/main/java/com/alibaba/nacos/config/server/auth/ConfigResourceParser.java
# config/src/main/java/com/alibaba/nacos/config/server/controller/ConfigController.java
# config/src/main/java/com/alibaba/nacos/config/server/result/ResultBuilder.java
# core/src/main/java/com/alibaba/nacos/core/listener/StartingApplicationListener.java
# naming/src/main/java/com/alibaba/nacos/naming/controllers/CatalogController.java
# naming/src/main/java/com/alibaba/nacos/naming/healthcheck/ClientBeatCheckTask.java
# naming/src/main/java/com/alibaba/nacos/naming/healthcheck/HealthCheckCommon.java
# naming/src/main/java/com/alibaba/nacos/naming/web/NamingResourceParser.java
# sys/src/main/java/com/alibaba/nacos/sys/utils/ApplicationUtils.java
# test/src/test/java/com/alibaba/nacos/test/naming/AutoDeregisterInstance_ITCase.java
2020-12-03 18:41:41 +08:00
paderlol
4e0e6c6f97
Upgrade Nacos Api/Client modules to support JDK 1.8 compilation ( #4383 )
2020-12-02 10:49:07 +08:00
杨翊 SionYang
8f009b30bd
Add metadata dump and load jraft snapshot ( #4367 )
...
* Metadata support dump and load raft snapshot
* Fix metadata serialize error for hessian
* For checkstyle
2020-11-30 19:14:12 +08:00
nov.lzf
ad98020770
负载均衡bugfix;监听并发问题bugfix;direct memory泄漏bugfix ( #4365 )
...
* memory gc optimize ; string pool bugfix
* grpc executor
* grpc executor
* 负载均衡bugfix;监听并发问题bugfix;direct memory泄漏bugfix
* check style fix
2020-11-30 16:17:34 +08:00
邪影oO
85bdc1e644
Upgrade jraft to 1.3.5 ( #4339 )
...
* 升级jraft到1.3.5以支持IPv6, 调整 NamingUtilsTest 代码格式以解决checkstyle问题
* 删除测试类的类注释
2020-11-26 18:33:18 +08:00