Commit Graph

3253 Commits

Author SHA1 Message Date
haoyann
6870e57e2a
Closeable interface remove public (#4971) 2021-03-01 10:01:45 +08:00
赵延
d8dbf540d2
fix one service init twice problem. (#4968) 2021-03-01 10:01:19 +08:00
MajorHe1
4191286625
[ISSUE #4925] correct the member's state when the cluster information changed (#4948) 2021-03-01 09:06:30 +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
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
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
haoyann
fe1d064cf4
raft ops interface add auth (#4919) 2021-02-23 09:32:34 +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
邪影oO
3a86bd1020
登录框增加提示信息 (#4903)
* 登陆框增加提示信息

* 前端编译
2021-02-08 11:41:56 +08:00
杨翊 SionYang
3af5c03c52
Fix double write NPE (#4886) 2021-02-05 14:02:24 +08:00
杨翊 SionYang
8dfaabdaf3
Fix getSpasHeaders serviceName exception (#4883) 2021-02-05 11:13:48 +08:00
nov.lzf
ed0edaa023
listen config auth bugfix (#4882) 2021-02-05 10:44:16 +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
mai.jh
6379ba25bf
[ISSUE-#4854] Modify Header to support Keys Ignore Case (#4870)
* Modify header key Ignore Case, Replace LinkedHashMap with TreeMap(String.case_insensitive_order)

* Delete redundant import

* add junit test case
2021-02-04 19:13:56 +08:00
nov.lzf
4f0ec0a196
optimize config file read (#4875) 2021-02-04 16:22:50 +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
JackSun-Developer
c455a900d9
[ISSUE #3876] [NA] failed to update serviceName: DEFAULT_GROUP@@prod-zipkin (#4866) 2021-02-04 11:46:48 +08:00
nov.lzf
c272d78890
add client sign header and nacos default port;sync code with diamnd over nacos 2.0 (#4857)
* add client sign header and nacos default port

* sync code with diamnd over nacos 2.0

* pmd and check style
2021-02-02 17:31:01 +08:00
杨翊 SionYang
4238483059
For check style (#4847) 2021-02-01 13:55:38 +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
杨翊 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
ttttangzhen
b6ecce425b
#3378 (#4813) 2021-01-29 16:51:29 +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
huqingfeng
0e42a75833
log error (#4799) 2021-01-28 20:08:34 +08:00
xbj
51bc113dea
fix addListener method comment (#4827)
if provided -> if not provided
2021-01-28 20:07:04 +08:00
杨翊 SionYang
c275fc310e
Fix #4788, Fix client id judgement error for ipv6 (#4815) 2021-01-28 12:03:08 +08:00
邪影oO
0881af3f32
fix-4787 (#4802) 2021-01-28 09:52:36 +08:00
杨翊 SionYang
9a30b206fa
Merge pull request #4810 from KomachiSion/2.0-upgrade
2.0 Support upgrade from 1.X
2021-01-27 20:35:30 +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
KomachiSion
cecf0c0893 Add double write logic for upgrade 2021-01-27 20:33:42 +08:00
KomachiSion
4096026048 Fix edit cluster use error data 2021-01-27 20:33:42 +08:00
赵延
2db2a8544d
[ISSUE-#4762] Naming health check thread num support user define it by self. (#4764)
* NAMING_HEALTH_EXECUTOR support user define it by self.

* promise less one thread to process the health check task.
2021-01-27 13:36:28 +08:00
shalk(xiao kun)
d4d245f2cc
make SecurityProxy.accessToken threadsafe in single writer multi reader (#4778) 2021-01-26 19:37:27 +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
wjm0729
0545e851db
导入优化 (#4775)
* import 优化

* 无法识别项目 提示优化

* revert

* revert

* 改回原来的格式
2021-01-22 17:03:37 +08:00
nov.lzf
c4ffbab21f
connection manager ,active send interval increase (#4776)
* connection manager ,active send interval increase

* adjust sync all interval
2021-01-21 20:47:23 +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