杨翊 SionYang
a44bf67402
Add Http and MySQL health check. ( #4750 )
...
* Add Http health check.
* Add Tcp as ClusterMetadata default checker
* Fix console can update cluster metadata if port no change
* Add MySQL health check.
2021-01-19 19:30:02 +08:00
杨翊 SionYang
c9686a6ae4
Support update cluster metadata. ( #4733 )
2021-01-18 17:41:45 +08:00
杨翊 SionYang
24850682e0
Sync health check status for persistent instance. ( #4728 )
...
* Sync health check status for persistent instance.
* For checkstyle
2021-01-18 15:09:09 +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
xbj
d462eaa1b7
[ISSUE #3922 ] method createServiceIfAbsent in ServiceManager require sync ( #4713 )
...
* fix_#3922
method createServiceIfAbsent in ServiceManager require sync #3922
* roll back createServiceIfAbsent
2021-01-18 09:19:12 +08:00
赵延
fac3bd4bcf
Merge pull request #4700 from horizonzy/fix-4699
...
[ISSUE-#4699] Fix metadata batch operation may delete instance problem.
2021-01-15 21:12:57 +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
horizonzy
1c7780248e
delete comment.
2021-01-14 16:43:05 +08:00
horizonzy
6cdead245e
fix metadata batch operation may delete instance problem.
2021-01-14 16:32:15 +08:00
杨翊 SionYang
67eb36976e
Upgrade to 1.4.1 ( #4695 )
2021-01-14 11:36:57 +08:00
KomachiSion
995dce0bc0
Solve conflict from develop
2021-01-13 16:08:54 +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
liaochuntao
2eac367970
fix: fix Jraft WriteRequest type problem.
2021-01-13 14:39:00 +08:00
杨翊 SionYang
998947315e
Add server identity to replace user-agent white list. ( #4683 )
2021-01-13 14:12:56 +08:00
Catcher Wong
7b81ea666e
naming push service support CSharp client ( #4670 )
2021-01-12 19:45:56 +08:00
杨翊 SionYang
4370882813
Add auth for naming rpc api and ix some bugs for 2.0.0 ( #4675 )
...
* Add auth for naming rpc api
* Fix Callback do not execute problem
* Fix client distro do not retry problem.
2021-01-12 16:37:08 +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
catcherwong
52931abe73
Add CSharp Client
2021-01-10 16:50:41 +08:00
杨翊 SionYang
c66aba5f4d
Remove service cache data when service removed ( #4656 )
...
* Fix instance count no decrement problem
* Dispatch naming event to difference Publisher
* Remove service cache data when service removed
2021-01-09 13:19:12 +08:00
KomachiSion
11210c057d
Merge remote-tracking branch 'upstream/develop' into 2.0.0-sync-dev
2021-01-07 17:09:30 +08:00
杨翊 SionYang
ad1a6d1b65
Add some metrics and logs ( #4649 )
...
* Fix service metadata update failed problem.
* random connect to server
* Add some metrics and log for service and client
* Add some metrics and log for naming task worker
2021-01-07 17:04:26 +08:00
杨翊 SionYang
ac73e7395e
Support register persistent instance and tcp health check ( #4636 )
...
* Fix client beat error in cluster mode
* Add health check for persistent ip port client
* Add health check for persistent ip port client
* Fix client beat error in cluster mode
* Migrate default TCP health check v1.x to v2.x
* Fix unit test error
* Fix dump persistent client snapshot error problem
* Fix load persistent client snapshot error problem
* Fix subscribe error for client id
2021-01-06 16:12:37 +08:00
mai.jh
2af6784f55
for #4594,#4594 Fix IO close problem. ( #4606 )
2020-12-31 15:48:26 +08:00
KomachiSion
7f3a17c620
Solve conflict with develop branch.
2020-12-31 14:24:41 +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
杨翊 SionYang
d1fcfd4529
Support persistent service and instance register/deregister ( #4608 )
...
* Remove unused foreach in ClientManager
* Revert some uncompleted refactor for ClientManager
* Refactor ClientOperationService
* Fix error dependency
* Fix serialize problem for persistent instance
* Refactor client id generation for IpPortBasedClient
* Support persistent service and instance register/deregister
* enhance the speed shutdown server
2020-12-31 11:36:57 +08:00
liaochuntao
6e0a94be3e
refactor: 持久化实例 ( #4603 )
2020-12-30 13:58:55 +08:00
杨翊 SionYang
9b9d1cb565
Execute Distro transport asynchronously. ( #4595 )
2020-12-29 18:09:20 +08:00
杨翊 SionYang
00d4363ad0
Do not retry distro sync again if member has removed. ( #4586 )
2020-12-29 13:51:26 +08:00
杨翊 SionYang
9d1fb57794
Refactor SubscribeManager with NamingSubscriberServiceAggregationImpl ( #4578 )
2020-12-26 15:58:59 +08:00
赵延
f486561bc9
Fix some typo and code enhance. ( #4550 )
...
* fix some typo and code enhance.
* shared grpcExecutor between GrpcSDKServer and GrpdClusrerServer
* code style format
* fix compile problem
* code style format
2020-12-24 20:16:22 +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
赵延
638d89b70a
[ISSUE-3917] Enhance service detail console web, add metadata filter ( #4439 )
...
* add metadata filter at back-end of nacos naming console
* code enhance
* 添加input,tag等组件,初步布局
* 实现页面交互,可添加,删除filter
* 更新filter向后端发起请求获取数据
* 实现更新更改过滤条件,刷新表格
* 添加国际化配置
* 输入完后按空格直接添加,没输入的input给出响应
* 提交单元测试,更新打包后的静态资源
* 修改配置 解决生产环境上sourcemap不生效的问题
* 用hook重构组件InstanceFilter
* 多个集群各自使用过滤
* 解决多集群时,元数据过滤无法单独使用的问题
* revert backend code
* revert metadata filter test
* 只从客户端已获取到的实例中过滤
* 变动更新到打包后的mian.js
Co-authored-by: jzhishu <john1994@foxmail.com>
2020-12-21 10:19:42 +08:00
neighbor-uncleWang
2f50f53da6
Fixed issue where null values could not be converted to base parameters ( #4527 )
2020-12-21 09:43:16 +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
liaochuntao
5b2d76fb34
[ISSUE #4364 ] Fix Cluster member state isn't updated to 'DOWN' after the node becomes down ( #4371 )
...
* fix: fix issue #4364
* refactor: fixed node changes that could not trigger event publishing
* fix: fixed a problem with frequent releases of events
2020-12-16 18:30:41 +08:00
杨翊 SionYang
7d9c103f0d
Fix can't query non-default-group problem for catalog API ( #4502 )
2020-12-16 17:28:36 +08:00
赵延
617c5e16b1
Fix RpcClientStatus description. ( #4497 )
...
* fix RpcClientStatus description.
* fix check style.
* revert it's doc
2020-12-16 17:02:46 +08:00
杨翊 SionYang
791d872073
Refactor udp push service ( #4492 )
...
* Rename PushExecuteService -> PushExecutor
* Move remote.handler to remote.rpc.handler
* Move out AckEntry and AckPacket
* Add UdpConnector in remoting
* Use new udp push to push service from v2.x to client v1.x
* Fix client v1.x subscriber status error in v2.x
2020-12-15 18:10:32 +08:00
赵延
2546f052e4
[ISSUE-#4467] Fix snowflake id problem ( #4468 )
...
* fix snowflake id problem
* revert code format
2020-12-15 12:56:05 +08:00
haoyann
ec99590500
fix service/list fromIndex > toIndex ( #4486 )
2020-12-15 12:55:46 +08:00
赵延
6bf46e9c4d
[ISSUE-#4436] Fix parse label expression error problem ( #4465 )
...
* fix parse label expression error problem
* ignore VariableDeclarationUsageDistance checkstyle
* fix check style
2020-12-14 10:23:29 +08:00
杨翊 SionYang
91082afe37
Refactor PushService to separate subscriber logic. ( #4461 )
...
* Add Subscriber Service
* Remove deprecated method and classes
* Refactor PushService to separate subscriber logic.
2020-12-11 23:28:30 +08:00
杨翊 SionYang
93ef110998
Adapt all openAPI in for InstanceController. ( #4441 )
...
* Adapt get instance detail openAPI
* Adapt list statuses openAPI
* Adapt patch instance API
* For checkstyle.
2020-12-09 23:43:15 +08:00
KomachiSion
8d4397d54b
Save ephemeral status in service metadata.
2020-12-09 15:06:35 +08:00
KomachiSion
3026120c2b
Adapt create service and delete service in ServiceController
2020-12-09 15:06:35 +08:00
KomachiSion
8877bd3460
Fix the error in determining the type of deleted metadata
2020-12-09 15:06:35 +08:00