杨翊 SionYang
7a23c56822
[ISSUE#7930] 2.2.0 remove some deprecated codes ( #9368 )
...
* Remove double write switch and upgrade from 1.X switch.
* Remove IFilterConfig.java
* Remove some deprecated constants and methods
* Remove some deprecated classes in nacos-core
* Remove some deprecated config
* Remove some deprecated codes in naming module
* Remove some deprecated codes in sys module
* Fix unit test
* Try to make UdpConnectorTest pass more easier.
2022-10-21 17:44:26 +08:00
KomachiSion
f4438ac202
Follow 2.2.0 branch.
2022-10-21 15:33:04 +08:00
KomachiSion
aa6816b69f
Merge remote-tracking branch 'upstream/2.2.0' into summer2022_issue#8308
...
# Conflicts:
# naming/src/main/java/com/alibaba/nacos/naming/controllers/v2/InstanceControllerV2.java
# naming/src/main/java/com/alibaba/nacos/naming/controllers/v2/ServiceControllerV2.java
# naming/src/main/java/com/alibaba/nacos/naming/misc/UtilsAndCommons.java
2022-10-21 14:16:18 +08:00
杨翊 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
DongYafei
94d812a269
fix api result ( #9237 )
2022-09-29 10:39:23 +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
DongYafei
0032b8cfc1
Add ClientInfoControllerV2 ( #9197 )
...
* add ClientInfoControllerV2
* rename tenant to namespaceId
2022-09-23 14:11:59 +08:00
KomachiSion
a2b997f6a7
Fix print logs for NamingTraceEvent.
2022-09-22 13:58:18 +08:00
DongYafei
6501dd8ab6
update ServiceControllerV2, add OperatorControllerV2 ( #9156 )
2022-09-19 11:30:14 +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
DongYafei
9439250e80
[ISSUE#8308] update InstanceControllerV2 for api 2.0 ( #9111 )
...
* update InstanceControllerV2 for api 2.0
* for InstanceControllerV2, add parameter groupName for api 2.0
2022-09-15 10:47:07 +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