Commit Graph

4618 Commits

Author SHA1 Message Date
杨翊 SionYang
9d70b40e1e
For #10566, Use ClientReleaseEvent replace ClientDisconnectEvent. (#10557) 2023-05-26 17:40:58 +08:00
nov.lzf
83ee4c8e2c
1. notify thread change to one thread to avoid potential ClassLoader switch exception (#10555)
2. optimize current notify ,add receiveNotifyChanged flag
3. add notify block log for over 60s
4. add notify error & block stack trace
5. fix shutdown client worker memory leak  of server list change subscriber
6. use multi thread for different  task id  for sync with server to speed up config sync.
7. fix exception when request with 0 or negative timeouts.
8. simply local snapshot path  when env name over 50 chars
9. add a random sleep in health check for avoid health check syntony.
2023-05-26 17:01:06 +08:00
杨翊 SionYang
dced8805f2
For #10056, set Revision of client for distro sync. (#10553) 2023-05-26 15:52:58 +08:00
ZhangShenao
4c57517786
Use Generic Type in NacosConfigConfiguration (#10549) 2023-05-26 15:17:15 +08:00
nov.lzf
505c90b96d
uniform config lastmodified ts & refactor config disk storage. (#10533)
* uniform cache timestamp

* uniform cache timestamp

* uniform cache timestamp

* uniform cache timestamp

* checkstyle & pmd

* revert application properties

* remove duplicate code

* checkstyle and pmd

* bug fix
2023-05-26 09:53:25 +08:00
杨翊 SionYang
cf59d62260
HessianSerializer add whitelist. (#10542) (#10546)
* HessianSerializer add whitelist. (#10542)

* HessianSerializer add whitelist.

* Handle exception in onApply and onRequest to save the stateMachine.

* Add new ut for HessianSerializer

* Fix unit test.

* For checkstyle.
2023-05-26 09:31:55 +08:00
chenyiqin
8cd5a5ea0b
Add the validation for namespace name (#10520)
* add the validation for namespace name

* move the validation action to controller

* fix checkstyle

* add the check for namespaceId when creating

* fix checkstyle

* add UT for namespace controller

* remove unnecessary mock

* fix checkstyle

* fix checkstyle
2023-05-23 10:23:08 +08:00
nov.lzf
51903edd82
add out date connection active detection,expel it when client no response. (#10509)
* add out date connection active detection,expel it when client no response.

* add out date connection active detection,expel it when client no response.
2023-05-19 10:20:37 +08:00
The-Gamer-01
9e7ba8cf4b
[ISSUE #10388] Fix third-party component bugs (#10504) 2023-05-17 17:10:12 +08:00
suncong
ee30e354d1
Update MapperProxy.java (#10487)
* Update MapperProxy.java

fix:代理类打印日志错误

* Update MapperProxy.java

fix:代理类打印日志错误

* 规范格式

* Update MapperProxy.java

reformat code

* Update MapperProxy.java

reformat code
2023-05-17 16:57:56 +08:00
Montos
70b96495bd
Fix -在开启认证的情况下增加token解析认证处理方式 (#10425)
* Fix -在开启认证的情况下增加token解析认证处理方式

Fix -在开启认证的情况下增加token解析认证处理方式

* Update UserController.java

* Update UserController.java

* fix codestyle
2023-05-16 17:35:38 +08:00
chenyiqin
62a106bc1c
remove dependence of package sun.security.action for ResponseUtilTest.java (#10478) 2023-05-16 10:21:06 +08:00
杨翊 SionYang
6cde13be92
Merge pull request #10475 from alibaba/asoc2022_issue#8460-2
[ISSUE#8460] Add config change hook plugin.
2023-05-12 10:47:50 +08:00
chenyiqin
7c3518e7ca
Fix npe when concurrent operations for client (#10467) 2023-05-12 10:15:51 +08:00
KomachiSion
dc79f05838 For pmd 2023-05-12 10:14:21 +08:00
Wilson Wu
b535293bc2
Fix some missed i18n for ui (#10472) 2023-05-12 09:44:42 +08:00
Wilson Wu
9824743655
Fix broken logos (#10473) 2023-05-12 09:43:34 +08:00
KomachiSion
5897a61e8e Fix start error. 2023-05-11 20:09:33 +08:00
KomachiSion
f0336b86e8 Remove useless method and field. 2023-05-11 17:19:27 +08:00
KomachiSion
23780d9b15 ConfigChangeAspect 去除对插件实现的感知。 2023-05-11 16:44:29 +08:00
KomachiSion
131dc643b3 Merge remote-tracking branch 'upstream/develop' into asoc2022_issue#8460-2
# Conflicts:
#	persistence/src/test/java/com/alibaba/nacos/persistence/configuration/condition/ConfigChangeConfigsTest.java
2023-05-11 15:41:17 +08:00
Karson
6b0df825df
[Optimization] Code optimization for MapUtil (#10461)
* maputil enhancement

* optimization
2023-05-11 11:51:58 +08:00
liqipeng
2b218432bc
Fix incorrect service revision in log. (#10420) 2023-05-10 13:43:11 +08:00
杨翊 SionYang
c43cb682f0
Merge pull request #10459 from alibaba/develop#10361
[ISSUE#10361]
2023-05-09 18:28:06 +08:00
KomachiSion
4198005529 For checkstyle and pmd. 2023-05-09 16:40:25 +08:00
Wh1te
eb2022ef57
For #6819, Add a PageSizeselector in service details page (#10397) 2023-05-09 16:39:25 +08:00
ZhangShenao
662e3fce61
[ISSUE #10400] Use Generic Type in NamingConfig (#10455) 2023-05-09 15:56:49 +08:00
KomachiSion
0555619b05 Merge remote-tracking branch 'upstream/develop' into develop#10361
# Conflicts:
#	config/src/main/java/com/alibaba/nacos/config/server/constant/Constants.java
2023-05-09 15:50:12 +08:00
KomachiSion
c701689314 Fix -f config still can see naming console problem. 2023-05-09 15:46:35 +08:00
KomachiSion
607074c877 Make HealthController not strongly depend config and naming module. 2023-05-09 14:43:25 +08:00
KomachiSion
f345bc5ba1 UserPersistService add PageHelper. 2023-05-09 11:09:45 +08:00
KomachiSion
f96ebd3e9a RolePersistService add PageHelper. 2023-05-09 10:57:42 +08:00
KomachiSion
6067779974 PermissionPersistService add PageHelper. 2023-05-09 10:45:27 +08:00
KomachiSion
cb65d53c7e Move ExternalStoragePaginationHelperImpl to persistence module. 2023-05-09 10:15:22 +08:00
nov.lzf
dbe3730d69
fix sslconf out of date (#10451)
* 更新证书文件

* fix test case

* update ssl conf
2023-05-09 10:09:21 +08:00
KomachiSion
9d92b5122a Add NamespaceDetailInjector and move NamespaceOperationService to core module. 2023-05-09 10:05:26 +08:00
KomachiSion
e93d417de6 Move CommonPersistService impls to core module and rename to NamespacePersistService. 2023-05-08 20:42:29 +08:00
KomachiSion
a972e02b13 Move NACOS_PLUGIN_DATASOURCE_LOG to datasource plugin module. 2023-05-08 20:34:07 +08:00
KomachiSion
515ae912b2 Move some TenantInfo and NamespaceRowMapperInjector to core module. 2023-05-08 20:29:53 +08:00
KomachiSion
841ce677d1 Move DerbySnapshotOperation and DistributedDatabaseOperateImpl to core module. 2023-05-08 19:29:14 +08:00
zhanghong
5cf5829253
add configModuleState/raftModuleState/distroModuleState in branch develop#10153 (#10288)
* add configModuleState/raftModuleState/distroModuleState

* add configModuleState/raftModuleState/distroModuleState

* update TEST

* 修复test bug

* 移除ip暴露风险
2023-05-08 18:05:34 +08:00
杨翊 SionYang
b8e3f688fb
Fix CI problem. (#10442)
* Fix CI problem.

* Fix CI problem.

* Fix CI problem.

* Fix CI problem.
2023-05-08 16:12:07 +08:00
KomachiSion
3d4014a3d3 Move StandaloneDatabaseOperateImpl to persistent module. 2023-05-08 11:56:38 +08:00
xxc
3c51570393
Merge pull request #10390 from panxiaojun233/develop
Delete invalid log
2023-04-26 13:45:11 +08:00
panxiaojun233
2a79daa9a2 Delete invalid log 2023-04-26 13:28:47 +08:00
KomachiSion
576225485e Move TimerContext to sys module and add new one single thread to snapshot for derby. 2023-04-25 14:46:38 +08:00
KomachiSion
4622d0e1bf Split RowMapperManager and move to persistence module. 2023-04-25 14:23:43 +08:00
KomachiSion
66a2e2db4a Use apply hook replace ConfigDump depend. 2023-04-25 14:01:41 +08:00
KomachiSion
218fe4e732 Move some events and exception to persistence module 2023-04-25 11:29:11 +08:00
KomachiSion
77b7377826 Move Conditions to persistence module. 2023-04-23 20:06:22 +08:00