杨翊 SionYang
b1ac88be78
[ISSUE#8481] Add Trace Event SPI for Naming. ( #9336 )
...
* Add Trace plugin spi.
* Add NacosCombinedTraceSubscriber
* Subscribe NamingTraceEvent when start up cluster.
* Fix test error.
2022-10-18 09:30:37 +08:00
KomachiSion
6eae075a48
Solve conflict.
2022-10-17 19:23:13 +08:00
KomachiSion
22169055ed
Merge remote-tracking branch 'upstream/develop' into 2.2.0
...
# Conflicts:
# naming/src/main/java/com/alibaba/nacos/naming/core/Cluster.java
2022-10-17 19:17:31 +08:00
胡俊
0834641825
[ISSUE#9323]1.x http接口服务名校验问题 ( #9324 )
...
* 1.x http接口服务名校验问题
* 1.x http接口服务名校验问题 for #9323
2022-10-14 14:34:50 +08:00
Karson
a78ee54007
[ISSUE #6876 ] Concurrent instance deregiste NullPointerException ( #9287 )
...
* fix issue #6876 .
* reset properties.
2022-10-10 15:20:17 +08:00
Pixy Yuan
9c771cf2c3
[ISSUE #9277 ] publisherIndexes clean the service key when no instances anymore. ( #9278 )
2022-10-10 09:51:15 +08:00
杨翊 SionYang
f272c36df7
[ISSUE#9210] ConnectionBasedClient support add revision ( #9239 )
...
* ConnectionBasedClient support add revision
* getRevision when get verifydata.
2022-09-29 15:55:43 +08:00
Pixy Yuan
af22d35d6f
[ISSUE #9230 ] Fix missing dependency between event publisher and subs… ( #9231 )
...
* [ISSUE #9230 ] Fix missing dependency between event publisher and subscriber triggered on snapshot loading.
* [ISSUE #9230 ] Fix codestyle.
* [ISSUE #9230 ] Fix missing dependency between event publisher and subscriber triggered on persistent clients' snapshot loading.
* [ISSUE #9230 ] Fix import.
2022-09-29 09:42:03 +08:00
Pixy Yuan
04fe7eab2f
Support client hash revision for DISTRO ( #9214 )
...
* [ISSUE #9210 ] Using hash as ephemeral clients' revision for DISTRO verification.
* [ISSUE #9210 ] Improve performance of ephemeral client hash calc.
* [ISSUE #9210 ] Remove calculation for ephemeral client's subscribers.
* [ISSUE #9210 ] Persist and sync revision for clients.
* [ISSUE #9210 ] Improve hash of ephemeral client.
* [ISSUE #9210 ] Improve performance of hash calc for clients.
* [ISSUE #9210 ] Make distro verification compatible with zero revision from old servers.
* [ISSUE #9210 ] Log clientId when VERIFY-FAILED.
* [ISSUE #9210 ] Fix long class cast exception to REVISION.
* [ISSUE #9210 ] Just renew clients when verify v2 clients on v1 mode.
* [ISSUE #9210 ] Add UTs for ephemeral client verification.
* [ISSUE #9210 ] Fix codestyle.
* [ISSUE #9210 ] Fix IpPortBasedClientTest.
* [ISSUE #9210 ] Fix codestyle.
* [ISSUE #9210 ] Fix license.
* [ISSUE #9210 ] Fix ConcurrentHashSetTest cases to verify concurrent modification properly.
* [ISSUE #9210 ] Fix codestyle.
2022-09-28 13:56:33 +08:00
KomachiSion
a2b997f6a7
Fix print logs for NamingTraceEvent.
2022-09-22 13:58:18 +08:00
hoErYu
0fdfd194f9
For #9106 Remove redundant judgment of WebUtils ( #9107 )
...
* For #9106 Remove redundant judgment of WebUtils
* For #9106 Remove redundant judgment of WebUtils
* For #9106 Remove redundant judgment of WebUtils
2022-09-15 11:34:36 +08:00
lphx
0cf9c24086
remove redundant code ( #9089 )
...
* Modifying duplicate code,remove unnecessary if
* remove [instance.getIp() + ":" + instance.getPort()] and use the original Instance.toIpAddr() method,Because their implementation is the same
2022-09-07 16:46:42 +08:00
KomachiSion
6edddcf48e
Remove some v1 persistent datum processor.
2022-08-29 20:19:06 +08:00
KomachiSion
e515915895
Fix UT.
2022-08-29 20:19:06 +08:00
KomachiSion
48695dab16
Remove Instance.java.
2022-08-29 20:19:05 +08:00
KomachiSion
77b3391e10
Remove Instances.java.
2022-08-29 20:19:05 +08:00
KomachiSion
8941086f5d
Remove Service.java and Cluster.java.
2022-08-29 20:19:05 +08:00
KomachiSion
c727a38411
Remove old Service usage part1.
2022-08-29 20:19:05 +08:00
KomachiSion
e648586064
Remove ServiceManager usage part3 and remove ServiceManager.java
2022-08-29 20:19:05 +08:00
KomachiSion
2f5ebe0af9
Remove DistroServiceNameTagGenerator.java
2022-08-29 20:19:05 +08:00
KomachiSion
162f4224b3
Remove some unused classes in selector.
2022-08-29 20:19:04 +08:00
KomachiSion
99035c5ec1
Remove some unused classes in push.
2022-08-29 20:19:04 +08:00
KomachiSion
1fe89a31ec
Remove some unused classes in pojo.
2022-08-29 20:19:04 +08:00
KomachiSion
5c9c35ab22
Remove some unused classes in misc.
2022-08-29 20:19:04 +08:00
KomachiSion
976f8a6729
Remove some old properties.
2022-08-29 20:19:04 +08:00
KomachiSion
db11e0bf5a
Remove ClientBeatProcessor.java and ServiceStatusSynchronizer.java
2022-08-29 20:19:04 +08:00
KomachiSion
9b68e45c97
Remove ServiceManager usage part2.
2022-08-29 20:19:03 +08:00
KomachiSion
f28efe62e1
Remove double write task.
2022-08-29 20:19:03 +08:00
KomachiSion
28ddce8d56
Remove UpgradeJudgement.java
2022-08-29 20:19:03 +08:00
KomachiSion
7af6e869d7
Remove HealthCheckTask.java
2022-08-29 20:19:01 +08:00
KomachiSion
989922600c
Remove EmptyServiceAutoCleaner.java
2022-08-29 20:18:49 +08:00
KomachiSion
49e12c8b8e
Remove old raft classes
2022-08-29 20:18:49 +08:00
KomachiSion
6f58ebf0c2
Remove EphemeralConsistencyService.java
2022-08-29 20:18:49 +08:00
KomachiSion
9df2536a1e
Remove DoubleWriteEventListener.java and DistroConsistencyServiceImpl.java
2022-08-29 20:18:48 +08:00
KomachiSion
bf0783c0e7
Remove ServiceManager usage part1.
2022-08-29 20:18:48 +08:00
KomachiSion
2477080e1d
Remove Operators for V1.
2022-08-29 20:18:48 +08:00
阿魁
d123703958
Fix spelling mistakes. ( #9026 )
2022-08-29 09:58:53 +08:00
杨翊 SionYang
f1c95a8fb4
Fix grpc push data not filter by cluster. ( #9019 )
2022-08-24 09:56:37 +08:00
无处不在
21b624e302
[ISSUE #8931 ] Fix bug :BatchInstanceData cannot Serializable question ( #8940 )
...
* [fix] fix BatchInstanceData cannot Serializable question
* fix update serialVersionUID auto generate
2022-08-12 16:44:15 +08:00
chenhao26
3586ad64c9
[ISSUE#8910] bug fix calcu ipCount ( #8911 )
...
* bug fix calcu ipCount
* update logic
2022-08-10 10:32:33 +08:00
chenhao26
0b428e0fa2
Feat/calculate ip count when use batchregister ( #8858 )
...
Feat/calculate ip count when use batchregister
2022-08-03 19:45:28 +08:00
GuiShao
56104495da
[ISSUE#8481]Unified TRACE capacity building ( #8805 )
...
* [ISSUE#8481]Unified TRACE capacity building
* [ISSUE#8481]Unified TRACE capacity building
1. Event type add to traceEvent.
2. The event about instance add instancePort.
3. Add health check type to healthChangeEvent.
4. Other fixup.
2022-07-29 16:22:40 +08:00
胡俊
e950be1322
[ISSUE#8653]Fix health check bug ( #8639 )
...
* fix health bug.
* fix health bug.
* fix health bug.
* test update
* format code
* 注释
* check service exist
* check service exist
* test fail
* user group()
* add unit test.
* add unit test.
* add unit test.
* add unit test.
* add unit test.
* add unit test.
2022-07-26 15:52:34 +08:00
Pixy Yuan
34bbd3844a
[ #8775 ] Fix HealthCheckTaskV2 blocks jraft's init when server is starting. ( #8785 )
2022-07-26 15:02:45 +08:00
liqipeng
e97b695db2
[ISSUE #8345 ] Check cluster name in server-side when registerInstance ( #8724 )
...
* Check cluster name in server-side when register ephemeral instance
* Check cluster name in server-side when register persistent instance
* add unit test for register instance
* add unit test for NamingHttpClientProxy
* remove catching NacosException to throw NacosRuntimeException
2022-07-25 09:57:43 +08:00
ZhangShenao
4a3472b9b7
Fix Word Spelling subscribers
in Comments ( #8773 )
2022-07-21 10:27:15 +08:00
KomachiSion
a20cfe2575
Fix change instance metadata, the revision of service not change.
2022-07-19 11:58:57 +08:00
ZhangShenao
8cc92c598d
Use Fail-Fast in Method `com.alibaba.nacos.naming.core.ServiceManager… ( #8731 )
...
* Use Fail-Fast in Method `com.alibaba.nacos.naming.core.ServiceManager#createServiceIfAbsent`
* Modify Comments
2022-07-14 09:29:40 +08:00
chenhao26
b52fc22d37
batch register add some unit tests ( #8702 )
...
* add some junit for batch register
* code syle
2022-07-08 11:53:58 +08:00
MajorHe1
e7498d7a4c
[ISSUE #8707 ] add distroKey log output when distro sync failed. ( #8708 )
...
* [ISSUE #8707 ] add distroKey log output when distro sync failed.
* append toString() method to log getDistroKey()
Co-authored-by: Oliver <wqdyxnbd@163.com>
Co-authored-by: Oliver <wqdyxnbd@163.com>
2022-07-08 11:53:16 +08:00