实现 nacos + traefik,改了很多东西!!!

This commit is contained in:
编码猿
2025-09-22 02:27:53 +08:00
parent e038fdb965
commit dabb91ef1e
71 changed files with 27668 additions and 189 deletions

View File

@@ -32,22 +32,28 @@
```txt
.
├── back-end # 【后端】基于Deno写的后端 测试接口,仅供测试
├── doc # 一些markdown笔记
├── front-end # 前端 微服务 项目
│ ├── app-product # 独立的【商品】领域模块
── app-shared # 独立的 共享资源 模块
│ ├── .... # 实际项目还会有更多其他的领域模块
── main-app # 主应用(入口应用)
└── README.md # 帮助文档
├── back-end # 【后端】基于Deno写的后端 测试接口,仅供测试
├── doc # 一些markdown笔记
├── docker # 微服务系统下的一些工具
│ ├── nacos # 动态服务发现配置管理平台
── traefik # 微服务网关
├── front-end # 前端 微服务 项目
── app-product # 独立的【商品】领域模块
│ ├── app-shared # 独立的 共享资源 模块
│ ├── nacos-federation # 开发的Nacos服务注册与发现的插件简化优雅代码
│ ├── .... # 实际项目还会有更多其他的领域模块
│ └── main-app # 主应用(入口应用)
├── package.json # pnpm的顶级配置文件可以控制模块运行相同命令
├── pnpm-workspace.yaml # 管理多个包的依赖关系
└── README.md # 帮助文档
```
**main-app 目录:**
** DDD前端分层目录:**
```txt
src/
├── domains/ # 【核心】领域层 - 所有业务领域模块
│ └── product/ # 订单领域模块(app-product
│ └── product/ # app-product模块】订单领域模块
│ ├── domain/ # 领域模型(充血模型)
│ │ ├── entities/ # 实体Product, ProductLineItem
│ │ ├── value-objects/ # 值对象Money, Address
@@ -76,7 +82,7 @@ src/
│ ├── router/ # 订单相关的页面级Vue组件
│ ├── composables/ # 订单相关的Vue组合式函数
│ └── index.ts # 订单功能模块的出口
├── shared/ # 共享资源
├── shared/ # 【app-shared模块】共享资源
│ ├── infra(infrastructure) # 基础设施层
│ │ ├── http/
│ ├── lib/ # 第三方库的封装/工具函数
@@ -206,15 +212,16 @@ export default class Header extends TSX<Props>()(Vue) implements Props {
- [x] 基于DDD理念改造
- [x] 基于 vite-plugin-federation 拆分领域模块为联邦模块,实现微前端
- [x] 基于Vue3+OOP+JSX改造项目代码
- [x] 基于Nacos开发Nodejs模块实现各模块的服务注册&发现,统一管理远程地址
- [ ] pnpm 统一管理集中项目依赖,运行&构建等...
- [x] 基于 Vue3+OOP+JSX 改造项目代码
- [x] 基于 Nacos开发Nodejs模块实现各模块的服务注册&发现,统一管理远程地址
- [x] 配置 Traefik实现微前端网关限流与熔断重试IP 白名单,压缩
- [x] pnpm 统一管理集中项目依赖,运行&构建等
- [ ] 领域模块实现 docker 自动化构建部署上线
- [ ] Deno集成GraphQL
- [ ] ....
- [ ] 爬快手api实现一个完整项目测试脚手架不足
## 运行 & 打包
## ~~【失效】运行 & 打包~~
```bash
# 1 下载代码

View File

@@ -1,82 +1,82 @@
import { App, staticFiles, cors } from "fresh";
import { App, cors, staticFiles } from "fresh";
import { define, type State } from "./utils.ts";
export const app = new App<State>();
app.use(cors({
origin: "*",
allowHeaders: ["*"],
allowMethods: ["POST", "GET", "OPTIONS"],
exposeHeaders: ["Content-Length", "X-Kuma-Revision"],
maxAge: 600,
credentials: true,
origin: "*",
allowHeaders: [ "*" ],
allowMethods: [ "POST", "GET", "OPTIONS" ],
exposeHeaders: [ "Content-Length", "X-Kuma-Revision" ],
maxAge: 600,
credentials: true,
}))
app.use(staticFiles());
// 模拟产品数据
const mockProductsList = [
{
id: 1,
name: "Xiaomi Buds 5 Pro",
description: "高音质无线蓝牙耳机续航可达30小时",
price: 1199.19,
imageUrl: "https://cdn.cnbj0.fds.api.mi-img.com/b2c-shopapi-pms/pms_1740638541.0557913.png",
stock: 2000,
categoryId: 1,
},
{
id: 2,
name: "机械键盘MK71pro",
description: "青轴机械键盘,全键无冲",
price: 899.00,
imageUrl: "https://cdn.cnbj0.fds.api.mi-img.com/b2c-shopapi-pms/67D4F43CD4C647AD8F45892D6567E14A.png",
stock: 1000,
categoryId: 1,
},
{
id: 3,
name: "Xiaomi Watch S4 Sport",
description: "多功能智能手表支持心率监测和GPS",
price: 1699.00,
imageUrl: "https://cdn.cnbj0.fds.api.mi-img.com/b2c-shopapi-pms/pms_1721233615.78223053.png",
stock: 200,
categoryId: 1,
}
{
id: 1,
name: "Xiaomi Buds 5 Pro",
description: "高音质无线蓝牙耳机续航可达30小时",
price: 1199.19,
imageUrl: "https://cdn.cnbj0.fds.api.mi-img.com/b2c-shopapi-pms/pms_1740638541.0557913.png",
stock: 2000,
categoryId: 1,
},
{
id: 2,
name: "机械键盘MK71pro",
description: "青轴机械键盘,全键无冲",
price: 899.00,
imageUrl: "https://cdn.cnbj0.fds.api.mi-img.com/b2c-shopapi-pms/67D4F43CD4C647AD8F45892D6567E14A.png",
stock: 1000,
categoryId: 1,
},
{
id: 3,
name: "Xiaomi Watch S4 Sport",
description: "多功能智能手表支持心率监测和GPS",
price: 1699.00,
imageUrl: "https://cdn.cnbj0.fds.api.mi-img.com/b2c-shopapi-pms/pms_1721233615.78223053.png",
stock: 200,
categoryId: 1,
}
];
const Res = <T extends Array<Object> | Object>(data: T) => {
return JSON.stringify({
code: 200,
message: "success",
result: data
});
return JSON.stringify({
code: 200,
message: "success",
result: data
});
}
// http://127.0.0.1:3000/api/productsList
// http://127.0.0.1:3210/api/productsList
app.get("/api/productsList", (ctx: { params: { name: any; }; }) => {
return new Response(Res(mockProductsList));
return new Response(Res(mockProductsList));
});
// http://127.0.0.1:3000/api/productsInfo?id=3
// http://127.0.0.1:3210/api/productsInfo?id=3
app.get("/api/productsInfo", (req: Request, ctx: { params: { id: number; }; }) => {
const id = (new URL(req.url)).searchParams.get('id')
const id = (new URL(req.url)).searchParams.get('id')
if (!id) {
return new Response(Res("缺少id参数"));
}
if (!id) {
return new Response(Res("缺少id参数"));
}
const result = mockProductsList.find(product => product.id == Number(id))
if (!result) {
return new Response(Res("找不到数据"));
}
const result = mockProductsList.find(product => product.id == Number(id))
if (!result) {
return new Response(Res("找不到数据"));
}
return new Response(Res(result));
return new Response(Res(result));
});
const exampleLoggerMiddleware = define.middleware((ctx: { req: { method: any; url: any; }; next: () => any; }) => {
console.log(`${ctx.req.method} ${ctx.req.url}`);
return ctx.next();
console.log(`${ ctx.req.method } ${ ctx.req.url }`);
return ctx.next();
});
app.use(exampleLoggerMiddleware);

View File

@@ -2,11 +2,12 @@ import { defineConfig } from "vite";
import { fresh } from "@fresh/plugin-vite";
export default defineConfig({
server: {
port: 3000, // 设置Vite开发服务器端口
strictPort: true, // 严格使用指定端口,如果被占用则报错
// 可选:允许跨域请求
cors: true,
},
plugins: [fresh()],
server: {
host: "0.0.0.0",
port: 3210, // 设置Vite开发服务器端口
strictPort: true, // 严格使用指定端口,如果被占用则报错
// 可选:允许跨域请求
cors: true,
},
plugins: [ fresh() ],
});

View File

@@ -0,0 +1,33 @@
version: "2"
services:
nacos:
image: nacos/nacos-server:latest
container_name: nacos-standalone
environment:
- PREFER_HOST_MODE=hostname
- MODE=standalone
- NACOS_AUTH_IDENTITY_KEY=serverIdentity
- NACOS_AUTH_IDENTITY_VALUE=security
- NACOS_AUTH_TOKEN=SecretKey012345678901234567890123456789012345678901234567890123456789
volumes:
- ./standalone-logs/:/home/nacos/logs
ports:
- "8085:8080"
- "8848:8848"
- "9848:9848"
prometheus:
container_name: prometheus
image: prom/prometheus:latest
volumes:
- ./prometheus/prometheus-standalone.yaml:/etc/prometheus/prometheus.yml
ports:
- "9090:9090"
depends_on:
- nacos
restart: on-failure
grafana:
container_name: grafana
image: grafana/grafana:latest
ports:
- "3000:3000"
restart: on-failure

View File

@@ -0,0 +1,34 @@
# my global config
global:
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
# scrape_timeout is set to the global default (10s).
# Alertmanager configuration
alerting:
alertmanagers:
- static_configs:
- targets:
# - alertmanager:9093
# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
rule_files:
# - "first_rules.yml"
# - "second_rules.yml"
# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
- job_name: 'prometheus'
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
static_configs:
- targets: [ 'localhost:9090' ]
- job_name: 'nacos'
metrics_path: '/nacos/actuator/prometheus'
static_configs:
- targets: [ 'nacos:8848' ]

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,462 @@
2025-09-22 01:17:09,925 INFO SPI service [com.alipay.sofa.jraft.JRaftServiceFactory - com.alipay.sofa.jraft.core.DefaultJRaftServiceFactory] loading.
2025-09-22 01:17:10,163 INFO SPI service [com.alipay.sofa.jraft.rpc.RaftRpcFactory - com.alipay.sofa.jraft.rpc.impl.GrpcRaftRpcFactory] loading.
2025-09-22 01:17:10,379 INFO SPI service [com.alipay.sofa.jraft.util.JRaftSignalHandler - com.alipay.sofa.jraft.NodeDescribeSignalHandler] loading.
2025-09-22 01:17:10,381 INFO SPI service [com.alipay.sofa.jraft.util.JRaftSignalHandler - com.alipay.sofa.jraft.NodeMetricsSignalHandler] loading.
2025-09-22 01:17:10,381 INFO SPI service [com.alipay.sofa.jraft.util.JRaftSignalHandler - com.alipay.sofa.jraft.ThreadPoolMetricsSignalHandler] loading.
2025-09-22 01:17:10,384 INFO SPI service [com.alipay.sofa.jraft.util.timer.RaftTimerFactory - com.alipay.sofa.jraft.util.timer.DefaultRaftTimerFactory] loading.
2025-09-22 01:17:10,388 INFO The number of active nodes increment to 1.
2025-09-22 01:17:10,902 INFO Starts FSMCaller successfully.
2025-09-22 01:17:10,911 WARN No data for snapshot reader /home/nacos/data/protocol/raft/naming_persistent_service_v2/snapshot.
2025-09-22 01:17:10,925 INFO Node <naming_persistent_service_v2/d97c29d750b4:7848> init, term=0, lastLogId=LogId [index=0, term=0], conf=d97c29d750b4:7848, oldConf=.
2025-09-22 01:17:10,929 INFO Node <naming_persistent_service_v2/d97c29d750b4:7848> start vote and grant vote self, term=0.
2025-09-22 01:17:10,969 INFO Save raft meta, path=/home/nacos/data/protocol/raft/naming_persistent_service_v2/meta-data, term=1, votedFor=d97c29d750b4:7848, cost time=27 ms
2025-09-22 01:17:10,970 INFO Node <naming_persistent_service_v2/d97c29d750b4:7848> become leader of group, term=1, conf=d97c29d750b4:7848, oldConf=.
2025-09-22 01:17:10,977 INFO -Djraft.recyclers.maxCapacityPerThread: 4096.
2025-09-22 01:17:10,987 WARN RPC server is not started in RaftGroupService.
2025-09-22 01:17:10,987 INFO Start the RaftGroupService successfully.
2025-09-22 01:17:11,017 INFO onLeaderStart: term=1.
2025-09-22 01:17:11,050 INFO The number of active nodes increment to 2.
2025-09-22 01:17:11,207 INFO Starts FSMCaller successfully.
2025-09-22 01:17:11,208 WARN No data for snapshot reader /home/nacos/data/protocol/raft/naming_persistent_service/snapshot.
2025-09-22 01:17:11,211 INFO Node <naming_persistent_service/d97c29d750b4:7848> init, term=0, lastLogId=LogId [index=0, term=0], conf=d97c29d750b4:7848, oldConf=.
2025-09-22 01:17:11,213 INFO Node <naming_persistent_service/d97c29d750b4:7848> start vote and grant vote self, term=0.
2025-09-22 01:17:11,219 INFO Save raft meta, path=/home/nacos/data/protocol/raft/naming_persistent_service/meta-data, term=1, votedFor=d97c29d750b4:7848, cost time=5 ms
2025-09-22 01:17:11,220 INFO Node <naming_persistent_service/d97c29d750b4:7848> become leader of group, term=1, conf=d97c29d750b4:7848, oldConf=.
2025-09-22 01:17:11,221 WARN RPC server is not started in RaftGroupService.
2025-09-22 01:17:11,221 INFO Start the RaftGroupService successfully.
2025-09-22 01:17:11,231 INFO onLeaderStart: term=1.
2025-09-22 01:17:11,242 INFO Creating new channel to: d97c29d750b4:7848.
2025-09-22 01:17:11,265 INFO The channel d97c29d750b4:7848 is in state: CONNECTING.
2025-09-22 01:17:11,273 INFO The number of active nodes increment to 3.
2025-09-22 01:17:11,398 INFO Starts FSMCaller successfully.
2025-09-22 01:17:11,398 WARN No data for snapshot reader /home/nacos/data/protocol/raft/naming_instance_metadata/snapshot.
2025-09-22 01:17:11,401 INFO Node <naming_instance_metadata/d97c29d750b4:7848> init, term=0, lastLogId=LogId [index=0, term=0], conf=d97c29d750b4:7848, oldConf=.
2025-09-22 01:17:11,402 INFO Node <naming_instance_metadata/d97c29d750b4:7848> start vote and grant vote self, term=0.
2025-09-22 01:17:11,407 INFO Save raft meta, path=/home/nacos/data/protocol/raft/naming_instance_metadata/meta-data, term=1, votedFor=d97c29d750b4:7848, cost time=4 ms
2025-09-22 01:17:11,407 INFO Node <naming_instance_metadata/d97c29d750b4:7848> become leader of group, term=1, conf=d97c29d750b4:7848, oldConf=.
2025-09-22 01:17:11,408 WARN RPC server is not started in RaftGroupService.
2025-09-22 01:17:11,408 INFO Start the RaftGroupService successfully.
2025-09-22 01:17:11,413 INFO onLeaderStart: term=1.
2025-09-22 01:17:11,414 INFO The number of active nodes increment to 4.
2025-09-22 01:17:11,538 INFO Starts FSMCaller successfully.
2025-09-22 01:17:11,538 WARN No data for snapshot reader /home/nacos/data/protocol/raft/naming_service_metadata/snapshot.
2025-09-22 01:17:11,540 INFO Node <naming_service_metadata/d97c29d750b4:7848> init, term=0, lastLogId=LogId [index=0, term=0], conf=d97c29d750b4:7848, oldConf=.
2025-09-22 01:17:11,541 INFO Node <naming_service_metadata/d97c29d750b4:7848> start vote and grant vote self, term=0.
2025-09-22 01:17:11,546 INFO Save raft meta, path=/home/nacos/data/protocol/raft/naming_service_metadata/meta-data, term=1, votedFor=d97c29d750b4:7848, cost time=5 ms
2025-09-22 01:17:11,547 INFO Node <naming_service_metadata/d97c29d750b4:7848> become leader of group, term=1, conf=d97c29d750b4:7848, oldConf=.
2025-09-22 01:17:11,548 WARN RPC server is not started in RaftGroupService.
2025-09-22 01:17:11,548 INFO Start the RaftGroupService successfully.
2025-09-22 01:17:11,553 INFO onLeaderStart: term=1.
2025-09-22 01:17:11,671 INFO The channel d97c29d750b4:7848 is in state: READY.
2025-09-22 01:17:11,671 INFO The channel d97c29d750b4:7848 has successfully established.
2025-09-22 01:17:11,934 INFO The number of active nodes increment to 5.
2025-09-22 01:17:12,065 INFO Starts FSMCaller successfully.
2025-09-22 01:17:12,065 WARN No data for snapshot reader /home/nacos/data/protocol/raft/lock_acquire_service_v2/snapshot.
2025-09-22 01:17:12,067 INFO Node <lock_acquire_service_v2/d97c29d750b4:7848> init, term=0, lastLogId=LogId [index=0, term=0], conf=d97c29d750b4:7848, oldConf=.
2025-09-22 01:17:12,068 INFO Node <lock_acquire_service_v2/d97c29d750b4:7848> start vote and grant vote self, term=0.
2025-09-22 01:17:12,074 INFO Save raft meta, path=/home/nacos/data/protocol/raft/lock_acquire_service_v2/meta-data, term=1, votedFor=d97c29d750b4:7848, cost time=6 ms
2025-09-22 01:17:12,074 INFO Node <lock_acquire_service_v2/d97c29d750b4:7848> become leader of group, term=1, conf=d97c29d750b4:7848, oldConf=.
2025-09-22 01:17:12,075 WARN RPC server is not started in RaftGroupService.
2025-09-22 01:17:12,075 INFO Start the RaftGroupService successfully.
2025-09-22 01:17:12,298 INFO onLeaderStart: term=1.
2025-09-22 01:34:20,825 INFO Deleting snapshot /home/nacos/data/protocol/raft/naming_service_metadata/snapshot/snapshot_1.
2025-09-22 01:34:20,826 INFO Renaming /home/nacos/data/protocol/raft/naming_service_metadata/snapshot/temp to /home/nacos/data/protocol/raft/naming_service_metadata/snapshot/snapshot_1.
2025-09-22 01:43:44,805 INFO Deleting snapshot /home/nacos/data/protocol/raft/lock_acquire_service_v2/snapshot/snapshot_1.
2025-09-22 01:43:44,805 INFO Renaming /home/nacos/data/protocol/raft/lock_acquire_service_v2/snapshot/temp to /home/nacos/data/protocol/raft/lock_acquire_service_v2/snapshot/snapshot_1.
2025-09-22 01:45:01,542 INFO Deleting snapshot /home/nacos/data/protocol/raft/naming_instance_metadata/snapshot/snapshot_1.
2025-09-22 01:45:01,542 INFO Renaming /home/nacos/data/protocol/raft/naming_instance_metadata/snapshot/temp to /home/nacos/data/protocol/raft/naming_instance_metadata/snapshot/snapshot_1.
2025-09-22 01:45:29,319 INFO Deleting snapshot /home/nacos/data/protocol/raft/naming_persistent_service/snapshot/snapshot_1.
2025-09-22 01:45:29,319 INFO Renaming /home/nacos/data/protocol/raft/naming_persistent_service/snapshot/temp to /home/nacos/data/protocol/raft/naming_persistent_service/snapshot/snapshot_1.
2025-09-22 01:45:53,354 INFO Deleting snapshot /home/nacos/data/protocol/raft/naming_persistent_service_v2/snapshot/snapshot_1.
2025-09-22 01:45:53,354 INFO Renaming /home/nacos/data/protocol/raft/naming_persistent_service_v2/snapshot/temp to /home/nacos/data/protocol/raft/naming_persistent_service_v2/snapshot/snapshot_1.
2025-09-22 01:49:55,805 INFO Node <lock_acquire_service_v2/d97c29d750b4:7848> shutdown, currTerm=1 state=STATE_LEADER.
2025-09-22 01:49:55,807 INFO Fail to find the next candidate, group lock_acquire_service_v2.
2025-09-22 01:49:55,807 INFO onLeaderStop: status=Status[ESHUTDOWN<1007>: Raft node is going to quit.].
2025-09-22 01:49:55,815 INFO Save raft meta, path=/home/nacos/data/protocol/raft/lock_acquire_service_v2/meta-data, term=1, votedFor=d97c29d750b4:7848, cost time=5 ms
2025-09-22 01:49:55,815 INFO Shutting down FSMCaller...
2025-09-22 01:49:55,816 INFO ThreadPool is terminated: JRaft-RPC-Processor, com.alipay.sofa.jraft.util.MetricThreadPoolExecutor@40865606[Shutting down, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0].
2025-09-22 01:49:55,816 INFO ThreadPool is terminated: JRaft-Node-ScheduleThreadPool, com.alipay.sofa.jraft.util.MetricScheduledThreadPoolExecutor@68e5b70b[Shutting down, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0].
2025-09-22 01:49:55,816 INFO Destroy timer: RepeatedTimer{timeout=null, stopped=true, running=false, destroyed=true, invoking=false, timeoutMs=5000, name='JRaft-ElectionTimer-<lock_acquire_service_v2/d97c29d750b4:7848>'}.
2025-09-22 01:49:55,816 INFO Destroy timer: RepeatedTimer{timeout=null, stopped=true, running=false, destroyed=true, invoking=false, timeoutMs=5000, name='JRaft-VoteTimer-<lock_acquire_service_v2/d97c29d750b4:7848>'}.
2025-09-22 01:49:55,816 INFO onShutdown.
2025-09-22 01:49:55,816 INFO Destroy timer: RepeatedTimer{timeout=null, stopped=true, running=false, destroyed=true, invoking=false, timeoutMs=2500, name='JRaft-StepDownTimer-<lock_acquire_service_v2/d97c29d750b4:7848>'}.
2025-09-22 01:49:55,817 INFO Destroy timer: RepeatedTimer{timeout=null, stopped=true, running=false, destroyed=true, invoking=false, timeoutMs=1800000, name='JRaft-SnapshotTimer-<lock_acquire_service_v2/d97c29d750b4:7848>'}.
2025-09-22 01:49:55,817 INFO The number of active nodes decrement to 4.
2025-09-22 01:49:55,817 INFO Node <lock_acquire_service_v2/d97c29d750b4:7848> shutdown, currTerm=1 state=STATE_SHUTTING.
2025-09-22 01:49:55,817 INFO Stop the RaftGroupService successfully.
2025-09-22 01:49:55,817 INFO Node <naming_service_metadata/d97c29d750b4:7848> shutdown, currTerm=1 state=STATE_LEADER.
2025-09-22 01:49:55,818 INFO Fail to find the next candidate, group naming_service_metadata.
2025-09-22 01:49:55,818 INFO onLeaderStop: status=Status[ESHUTDOWN<1007>: Raft node is going to quit.].
2025-09-22 01:49:55,829 INFO Save raft meta, path=/home/nacos/data/protocol/raft/naming_service_metadata/meta-data, term=1, votedFor=d97c29d750b4:7848, cost time=11 ms
2025-09-22 01:49:55,829 INFO Shutting down FSMCaller...
2025-09-22 01:49:55,829 INFO ThreadPool is terminated: JRaft-RPC-Processor, com.alipay.sofa.jraft.util.MetricThreadPoolExecutor@3e7d545c[Shutting down, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0].
2025-09-22 01:49:55,830 INFO onShutdown.
2025-09-22 01:49:55,830 INFO ThreadPool is terminated: JRaft-Node-ScheduleThreadPool, com.alipay.sofa.jraft.util.MetricScheduledThreadPoolExecutor@7be5f177[Shutting down, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0].
2025-09-22 01:49:55,830 INFO Destroy timer: RepeatedTimer{timeout=null, stopped=true, running=false, destroyed=true, invoking=false, timeoutMs=5000, name='JRaft-ElectionTimer-<naming_service_metadata/d97c29d750b4:7848>'}.
2025-09-22 01:49:55,830 INFO Destroy timer: RepeatedTimer{timeout=null, stopped=true, running=false, destroyed=true, invoking=false, timeoutMs=5000, name='JRaft-VoteTimer-<naming_service_metadata/d97c29d750b4:7848>'}.
2025-09-22 01:49:55,830 INFO Destroy timer: RepeatedTimer{timeout=null, stopped=true, running=false, destroyed=true, invoking=false, timeoutMs=2500, name='JRaft-StepDownTimer-<naming_service_metadata/d97c29d750b4:7848>'}.
2025-09-22 01:49:55,830 INFO Destroy timer: RepeatedTimer{timeout=null, stopped=true, running=false, destroyed=true, invoking=false, timeoutMs=1800000, name='JRaft-SnapshotTimer-<naming_service_metadata/d97c29d750b4:7848>'}.
2025-09-22 01:49:55,831 INFO Node <naming_service_metadata/d97c29d750b4:7848> shutdown, currTerm=1 state=STATE_SHUTTING.
2025-09-22 01:49:55,831 INFO Stop the RaftGroupService successfully.
2025-09-22 01:49:55,831 INFO Node <naming_persistent_service/d97c29d750b4:7848> shutdown, currTerm=1 state=STATE_LEADER.
2025-09-22 01:49:55,830 INFO The number of active nodes decrement to 3.
2025-09-22 01:49:55,831 INFO onLeaderStop: status=Status[ESHUTDOWN<1007>: Raft node is going to quit.].
2025-09-22 01:49:55,831 INFO Fail to find the next candidate, group naming_persistent_service.
2025-09-22 01:49:55,840 INFO DB destroyed, the db path is: /home/nacos/data/protocol/raft/lock_acquire_service_v2/log.
2025-09-22 01:49:55,840 INFO DB destroyed, the db path is: /home/nacos/data/protocol/raft/naming_service_metadata/log.
2025-09-22 01:49:55,844 INFO Save raft meta, path=/home/nacos/data/protocol/raft/naming_persistent_service/meta-data, term=1, votedFor=d97c29d750b4:7848, cost time=11 ms
2025-09-22 01:49:55,844 INFO Shutting down FSMCaller...
2025-09-22 01:49:55,844 INFO ThreadPool is terminated: JRaft-RPC-Processor, com.alipay.sofa.jraft.util.MetricThreadPoolExecutor@2bb5a20c[Shutting down, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0].
2025-09-22 01:49:55,844 INFO ThreadPool is terminated: JRaft-Node-ScheduleThreadPool, com.alipay.sofa.jraft.util.MetricScheduledThreadPoolExecutor@7f3ecc92[Shutting down, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0].
2025-09-22 01:49:55,844 INFO Destroy timer: RepeatedTimer{timeout=null, stopped=true, running=false, destroyed=true, invoking=false, timeoutMs=5000, name='JRaft-ElectionTimer-<naming_persistent_service/d97c29d750b4:7848>'}.
2025-09-22 01:49:55,844 INFO onShutdown.
2025-09-22 01:49:55,844 INFO The number of active nodes decrement to 2.
2025-09-22 01:49:55,844 INFO Destroy timer: RepeatedTimer{timeout=null, stopped=true, running=false, destroyed=true, invoking=false, timeoutMs=5000, name='JRaft-VoteTimer-<naming_persistent_service/d97c29d750b4:7848>'}.
2025-09-22 01:49:55,845 INFO Destroy timer: RepeatedTimer{timeout=null, stopped=true, running=false, destroyed=true, invoking=false, timeoutMs=2500, name='JRaft-StepDownTimer-<naming_persistent_service/d97c29d750b4:7848>'}.
2025-09-22 01:49:55,845 INFO Destroy timer: RepeatedTimer{timeout=null, stopped=true, running=false, destroyed=true, invoking=false, timeoutMs=1800000, name='JRaft-SnapshotTimer-<naming_persistent_service/d97c29d750b4:7848>'}.
2025-09-22 01:49:55,845 INFO Node <naming_persistent_service/d97c29d750b4:7848> shutdown, currTerm=1 state=STATE_SHUTTING.
2025-09-22 01:49:55,845 INFO Stop the RaftGroupService successfully.
2025-09-22 01:49:55,845 INFO Node <naming_instance_metadata/d97c29d750b4:7848> shutdown, currTerm=1 state=STATE_LEADER.
2025-09-22 01:49:55,845 INFO Fail to find the next candidate, group naming_instance_metadata.
2025-09-22 01:49:55,846 INFO onLeaderStop: status=Status[ESHUTDOWN<1007>: Raft node is going to quit.].
2025-09-22 01:49:55,847 INFO DB destroyed, the db path is: /home/nacos/data/protocol/raft/naming_persistent_service/log.
2025-09-22 01:49:55,853 INFO Save raft meta, path=/home/nacos/data/protocol/raft/naming_instance_metadata/meta-data, term=1, votedFor=d97c29d750b4:7848, cost time=5 ms
2025-09-22 01:49:55,853 INFO Shutting down FSMCaller...
2025-09-22 01:49:55,853 INFO ThreadPool is terminated: JRaft-RPC-Processor, com.alipay.sofa.jraft.util.MetricThreadPoolExecutor@42accfc7[Shutting down, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0].
2025-09-22 01:49:55,853 INFO ThreadPool is terminated: JRaft-Node-ScheduleThreadPool, com.alipay.sofa.jraft.util.MetricScheduledThreadPoolExecutor@448fa05c[Shutting down, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0].
2025-09-22 01:49:55,854 INFO onShutdown.
2025-09-22 01:49:55,854 INFO Destroy timer: RepeatedTimer{timeout=null, stopped=true, running=false, destroyed=true, invoking=false, timeoutMs=5000, name='JRaft-ElectionTimer-<naming_instance_metadata/d97c29d750b4:7848>'}.
2025-09-22 01:49:55,854 INFO Destroy timer: RepeatedTimer{timeout=null, stopped=true, running=false, destroyed=true, invoking=false, timeoutMs=5000, name='JRaft-VoteTimer-<naming_instance_metadata/d97c29d750b4:7848>'}.
2025-09-22 01:49:55,854 INFO The number of active nodes decrement to 1.
2025-09-22 01:49:55,854 INFO Destroy timer: RepeatedTimer{timeout=null, stopped=true, running=false, destroyed=true, invoking=false, timeoutMs=2500, name='JRaft-StepDownTimer-<naming_instance_metadata/d97c29d750b4:7848>'}.
2025-09-22 01:49:55,854 INFO Destroy timer: RepeatedTimer{timeout=null, stopped=true, running=false, destroyed=true, invoking=false, timeoutMs=1800000, name='JRaft-SnapshotTimer-<naming_instance_metadata/d97c29d750b4:7848>'}.
2025-09-22 01:49:55,854 INFO Node <naming_instance_metadata/d97c29d750b4:7848> shutdown, currTerm=1 state=STATE_SHUTTING.
2025-09-22 01:49:55,854 INFO Stop the RaftGroupService successfully.
2025-09-22 01:49:55,854 INFO Node <naming_persistent_service_v2/d97c29d750b4:7848> shutdown, currTerm=1 state=STATE_LEADER.
2025-09-22 01:49:55,854 INFO Fail to find the next candidate, group naming_persistent_service_v2.
2025-09-22 01:49:55,854 INFO onLeaderStop: status=Status[ESHUTDOWN<1007>: Raft node is going to quit.].
2025-09-22 01:49:55,858 INFO DB destroyed, the db path is: /home/nacos/data/protocol/raft/naming_instance_metadata/log.
2025-09-22 01:49:55,862 INFO Save raft meta, path=/home/nacos/data/protocol/raft/naming_persistent_service_v2/meta-data, term=1, votedFor=d97c29d750b4:7848, cost time=7 ms
2025-09-22 01:49:55,863 INFO Shutting down FSMCaller...
2025-09-22 01:49:55,863 INFO ThreadPool is terminated: JRaft-RPC-Processor, com.alipay.sofa.jraft.util.MetricThreadPoolExecutor@41762d5f[Shutting down, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0].
2025-09-22 01:49:55,863 INFO ThreadPool is terminated: JRaft-Node-ScheduleThreadPool, com.alipay.sofa.jraft.util.MetricScheduledThreadPoolExecutor@65800041[Shutting down, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0].
2025-09-22 01:49:55,863 INFO onShutdown.
2025-09-22 01:49:55,863 INFO The number of active nodes decrement to 0.
2025-09-22 01:49:55,870 INFO ThreadPool is terminated: JRaft-Global-ElectionTimer, com.alipay.sofa.jraft.util.MetricScheduledThreadPoolExecutor@1c027299[Shutting down, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 5].
2025-09-22 01:49:55,870 INFO Destroy timer: RepeatedTimer{timeout=null, stopped=true, running=false, destroyed=true, invoking=false, timeoutMs=5000, name='JRaft-ElectionTimer-<naming_persistent_service_v2/d97c29d750b4:7848>'}.
2025-09-22 01:49:55,870 INFO ThreadPool is terminated: JRaft-Global-VoteTimer, com.alipay.sofa.jraft.util.MetricScheduledThreadPoolExecutor@5d0bfaca[Shutting down, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 5].
2025-09-22 01:49:55,870 INFO Destroy timer: RepeatedTimer{timeout=null, stopped=true, running=false, destroyed=true, invoking=false, timeoutMs=5000, name='JRaft-VoteTimer-<naming_persistent_service_v2/d97c29d750b4:7848>'}.
2025-09-22 01:49:55,872 INFO ThreadPool is terminated: JRaft-Global-StepDownTimer, com.alipay.sofa.jraft.util.MetricScheduledThreadPoolExecutor@5dc137f9[Shutting down, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 3925].
2025-09-22 01:49:55,873 INFO Destroy timer: RepeatedTimer{timeout=null, stopped=true, running=false, destroyed=true, invoking=false, timeoutMs=2500, name='JRaft-StepDownTimer-<naming_persistent_service_v2/d97c29d750b4:7848>'}.
2025-09-22 01:49:55,874 INFO ThreadPool is terminated: JRaft-Global-SnapshotTimer, com.alipay.sofa.jraft.util.MetricScheduledThreadPoolExecutor@c0a0237[Shutting down, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 5].
2025-09-22 01:49:55,875 INFO Destroy timer: RepeatedTimer{timeout=null, stopped=true, running=false, destroyed=true, invoking=false, timeoutMs=1800000, name='JRaft-SnapshotTimer-<naming_persistent_service_v2/d97c29d750b4:7848>'}.
2025-09-22 01:49:55,875 INFO Node <naming_persistent_service_v2/d97c29d750b4:7848> shutdown, currTerm=1 state=STATE_SHUTTING.
2025-09-22 01:49:55,875 INFO Stop the RaftGroupService successfully.
2025-09-22 01:49:55,875 INFO Shutdown managed channel: d97c29d750b4:7848, ManagedChannelOrphanWrapper{delegate=ManagedChannelImpl{logId=10, target=d97c29d750b4:7848}}.
2025-09-22 01:49:55,877 INFO The channel d97c29d750b4:7848 is in state: SHUTDOWN.
2025-09-22 01:49:55,877 WARN This channel d97c29d750b4:7848 has started shutting down. Any new RPCs should fail immediately.
2025-09-22 01:49:55,880 INFO DB destroyed, the db path is: /home/nacos/data/protocol/raft/naming_persistent_service_v2/log.
2025-09-22 01:49:55,884 INFO Connection disconnected: /192.168.97.3:37040
2025-09-22 01:49:55,891 INFO ThreadPool is terminated: JRaft-RPC-Processor, com.alipay.sofa.jraft.util.MetricThreadPoolExecutor@32647569[Shutting down, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 2884].
2025-09-22 01:50:09,971 INFO SPI service [com.alipay.sofa.jraft.JRaftServiceFactory - com.alipay.sofa.jraft.core.DefaultJRaftServiceFactory] loading.
2025-09-22 01:50:10,077 INFO SPI service [com.alipay.sofa.jraft.rpc.RaftRpcFactory - com.alipay.sofa.jraft.rpc.impl.GrpcRaftRpcFactory] loading.
2025-09-22 01:50:10,315 INFO SPI service [com.alipay.sofa.jraft.util.JRaftSignalHandler - com.alipay.sofa.jraft.NodeDescribeSignalHandler] loading.
2025-09-22 01:50:10,317 INFO SPI service [com.alipay.sofa.jraft.util.JRaftSignalHandler - com.alipay.sofa.jraft.NodeMetricsSignalHandler] loading.
2025-09-22 01:50:10,318 INFO SPI service [com.alipay.sofa.jraft.util.JRaftSignalHandler - com.alipay.sofa.jraft.ThreadPoolMetricsSignalHandler] loading.
2025-09-22 01:50:10,322 INFO SPI service [com.alipay.sofa.jraft.util.timer.RaftTimerFactory - com.alipay.sofa.jraft.util.timer.DefaultRaftTimerFactory] loading.
2025-09-22 01:50:10,327 INFO The number of active nodes increment to 1.
2025-09-22 01:50:10,813 INFO Starts FSMCaller successfully.
2025-09-22 01:50:10,819 WARN No data for snapshot reader /home/nacos/data/protocol/raft/naming_persistent_service_v2/snapshot.
2025-09-22 01:50:10,830 INFO Node <naming_persistent_service_v2/8e5a20eec60e:7848> init, term=0, lastLogId=LogId [index=0, term=0], conf=8e5a20eec60e:7848, oldConf=.
2025-09-22 01:50:10,832 INFO Node <naming_persistent_service_v2/8e5a20eec60e:7848> start vote and grant vote self, term=0.
2025-09-22 01:50:10,857 INFO Save raft meta, path=/home/nacos/data/protocol/raft/naming_persistent_service_v2/meta-data, term=1, votedFor=8e5a20eec60e:7848, cost time=20 ms
2025-09-22 01:50:10,857 INFO Node <naming_persistent_service_v2/8e5a20eec60e:7848> become leader of group, term=1, conf=8e5a20eec60e:7848, oldConf=.
2025-09-22 01:50:10,859 INFO -Djraft.recyclers.maxCapacityPerThread: 4096.
2025-09-22 01:50:10,862 WARN RPC server is not started in RaftGroupService.
2025-09-22 01:50:10,862 INFO Start the RaftGroupService successfully.
2025-09-22 01:50:10,875 INFO onLeaderStart: term=1.
2025-09-22 01:50:10,888 INFO The number of active nodes increment to 2.
2025-09-22 01:50:10,955 INFO Creating new channel to: 8e5a20eec60e:7848.
2025-09-22 01:50:10,963 INFO The channel 8e5a20eec60e:7848 is in state: CONNECTING.
2025-09-22 01:50:10,974 INFO Starts FSMCaller successfully.
2025-09-22 01:50:10,974 WARN No data for snapshot reader /home/nacos/data/protocol/raft/naming_persistent_service/snapshot.
2025-09-22 01:50:10,976 INFO Node <naming_persistent_service/8e5a20eec60e:7848> init, term=0, lastLogId=LogId [index=0, term=0], conf=8e5a20eec60e:7848, oldConf=.
2025-09-22 01:50:10,977 INFO Node <naming_persistent_service/8e5a20eec60e:7848> start vote and grant vote self, term=0.
2025-09-22 01:50:10,982 INFO Save raft meta, path=/home/nacos/data/protocol/raft/naming_persistent_service/meta-data, term=1, votedFor=8e5a20eec60e:7848, cost time=5 ms
2025-09-22 01:50:10,982 INFO Node <naming_persistent_service/8e5a20eec60e:7848> become leader of group, term=1, conf=8e5a20eec60e:7848, oldConf=.
2025-09-22 01:50:10,984 WARN RPC server is not started in RaftGroupService.
2025-09-22 01:50:10,984 INFO Start the RaftGroupService successfully.
2025-09-22 01:50:10,987 INFO onLeaderStart: term=1.
2025-09-22 01:50:11,019 INFO The number of active nodes increment to 3.
2025-09-22 01:50:11,130 INFO Starts FSMCaller successfully.
2025-09-22 01:50:11,130 WARN No data for snapshot reader /home/nacos/data/protocol/raft/naming_instance_metadata/snapshot.
2025-09-22 01:50:11,131 INFO Node <naming_instance_metadata/8e5a20eec60e:7848> init, term=0, lastLogId=LogId [index=0, term=0], conf=8e5a20eec60e:7848, oldConf=.
2025-09-22 01:50:11,132 INFO Node <naming_instance_metadata/8e5a20eec60e:7848> start vote and grant vote self, term=0.
2025-09-22 01:50:11,137 INFO Save raft meta, path=/home/nacos/data/protocol/raft/naming_instance_metadata/meta-data, term=1, votedFor=8e5a20eec60e:7848, cost time=4 ms
2025-09-22 01:50:11,137 INFO Node <naming_instance_metadata/8e5a20eec60e:7848> become leader of group, term=1, conf=8e5a20eec60e:7848, oldConf=.
2025-09-22 01:50:11,138 WARN RPC server is not started in RaftGroupService.
2025-09-22 01:50:11,138 INFO Start the RaftGroupService successfully.
2025-09-22 01:50:11,143 INFO The number of active nodes increment to 4.
2025-09-22 01:50:11,144 INFO onLeaderStart: term=1.
2025-09-22 01:50:11,260 INFO Starts FSMCaller successfully.
2025-09-22 01:50:11,260 WARN No data for snapshot reader /home/nacos/data/protocol/raft/naming_service_metadata/snapshot.
2025-09-22 01:50:11,263 INFO Node <naming_service_metadata/8e5a20eec60e:7848> init, term=0, lastLogId=LogId [index=0, term=0], conf=8e5a20eec60e:7848, oldConf=.
2025-09-22 01:50:11,265 INFO Node <naming_service_metadata/8e5a20eec60e:7848> start vote and grant vote self, term=0.
2025-09-22 01:50:11,265 INFO The channel 8e5a20eec60e:7848 is in state: READY.
2025-09-22 01:50:11,266 INFO The channel 8e5a20eec60e:7848 has successfully established.
2025-09-22 01:50:11,270 INFO Save raft meta, path=/home/nacos/data/protocol/raft/naming_service_metadata/meta-data, term=1, votedFor=8e5a20eec60e:7848, cost time=4 ms
2025-09-22 01:50:11,270 INFO Node <naming_service_metadata/8e5a20eec60e:7848> become leader of group, term=1, conf=8e5a20eec60e:7848, oldConf=.
2025-09-22 01:50:11,271 WARN RPC server is not started in RaftGroupService.
2025-09-22 01:50:11,271 INFO Start the RaftGroupService successfully.
2025-09-22 01:50:11,275 INFO onLeaderStart: term=1.
2025-09-22 01:50:11,614 INFO The number of active nodes increment to 5.
2025-09-22 01:50:11,726 INFO Starts FSMCaller successfully.
2025-09-22 01:50:11,727 WARN No data for snapshot reader /home/nacos/data/protocol/raft/lock_acquire_service_v2/snapshot.
2025-09-22 01:50:11,728 INFO Node <lock_acquire_service_v2/8e5a20eec60e:7848> init, term=0, lastLogId=LogId [index=0, term=0], conf=8e5a20eec60e:7848, oldConf=.
2025-09-22 01:50:11,730 INFO Node <lock_acquire_service_v2/8e5a20eec60e:7848> start vote and grant vote self, term=0.
2025-09-22 01:50:11,735 INFO Save raft meta, path=/home/nacos/data/protocol/raft/lock_acquire_service_v2/meta-data, term=1, votedFor=8e5a20eec60e:7848, cost time=5 ms
2025-09-22 01:50:11,736 INFO Node <lock_acquire_service_v2/8e5a20eec60e:7848> become leader of group, term=1, conf=8e5a20eec60e:7848, oldConf=.
2025-09-22 01:50:11,736 WARN RPC server is not started in RaftGroupService.
2025-09-22 01:50:11,736 INFO Start the RaftGroupService successfully.
2025-09-22 01:50:11,860 INFO onLeaderStart: term=1.
2025-09-22 02:06:11,715 INFO Deleting snapshot /home/nacos/data/protocol/raft/naming_persistent_service/snapshot/snapshot_1.
2025-09-22 02:06:11,715 INFO Renaming /home/nacos/data/protocol/raft/naming_persistent_service/snapshot/temp to /home/nacos/data/protocol/raft/naming_persistent_service/snapshot/snapshot_1.
2025-09-22 02:08:53,517 INFO Deleting snapshot /home/nacos/data/protocol/raft/naming_instance_metadata/snapshot/snapshot_1.
2025-09-22 02:08:53,518 INFO Renaming /home/nacos/data/protocol/raft/naming_instance_metadata/snapshot/temp to /home/nacos/data/protocol/raft/naming_instance_metadata/snapshot/snapshot_1.
2025-09-22 02:13:51,045 INFO Deleting snapshot /home/nacos/data/protocol/raft/naming_service_metadata/snapshot/snapshot_1.
2025-09-22 02:13:51,046 INFO Renaming /home/nacos/data/protocol/raft/naming_service_metadata/snapshot/temp to /home/nacos/data/protocol/raft/naming_service_metadata/snapshot/snapshot_1.
2025-09-22 02:14:37,481 INFO Deleting snapshot /home/nacos/data/protocol/raft/naming_persistent_service_v2/snapshot/snapshot_1.
2025-09-22 02:14:37,481 INFO Renaming /home/nacos/data/protocol/raft/naming_persistent_service_v2/snapshot/temp to /home/nacos/data/protocol/raft/naming_persistent_service_v2/snapshot/snapshot_1.
2025-09-22 02:18:27,203 INFO Deleting snapshot /home/nacos/data/protocol/raft/lock_acquire_service_v2/snapshot/snapshot_1.
2025-09-22 02:18:27,204 INFO Renaming /home/nacos/data/protocol/raft/lock_acquire_service_v2/snapshot/temp to /home/nacos/data/protocol/raft/lock_acquire_service_v2/snapshot/snapshot_1.

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,100 @@
2025-09-22 01:17:00,942 INFO notifyConnectTimeout:100
2025-09-22 01:17:00,947 INFO notifySocketTimeout:200
2025-09-22 01:17:00,947 INFO isHealthCheck:true
2025-09-22 01:17:00,948 INFO maxHealthCheckFailCount:12
2025-09-22 01:17:00,948 INFO maxContent:10485760
2025-09-22 01:17:08,800 INFO All dump page size is set to 100 according to mem limit 1024 MB
2025-09-22 01:17:08,804 WARN DumpService start
2025-09-22 01:17:08,804 INFO start clear all config-info.
2025-09-22 01:17:08,805 INFO clear all config-info success.
2025-09-22 01:17:08,805 INFO clear all config-info-tenant success.
2025-09-22 01:17:08,811 INFO start dump all config-info...
2025-09-22 01:17:08,812 INFO success to dump all config-info。
2025-09-22 01:17:08,812 INFO start to clear all gray-config-info on startup.
2025-09-22 01:17:08,812 INFO clear all config-info-gray success.
2025-09-22 01:17:08,812 INFO clear all config-info-gray-tenant success.
2025-09-22 01:17:14,138 INFO notifyConnectTimeout:100
2025-09-22 01:17:14,139 INFO notifySocketTimeout:200
2025-09-22 01:17:14,139 INFO isHealthCheck:true
2025-09-22 01:17:14,139 INFO maxHealthCheckFailCount:12
2025-09-22 01:17:14,139 INFO maxContent:10485760
2025-09-22 01:17:18,984 INFO notifyConnectTimeout:100
2025-09-22 01:17:18,984 INFO notifySocketTimeout:200
2025-09-22 01:17:18,984 INFO isHealthCheck:true
2025-09-22 01:17:18,984 INFO maxHealthCheckFailCount:12
2025-09-22 01:17:18,984 INFO maxContent:10485760
2025-09-22 01:50:01,647 INFO notifyConnectTimeout:100
2025-09-22 01:50:01,651 INFO notifySocketTimeout:200
2025-09-22 01:50:01,652 INFO isHealthCheck:true
2025-09-22 01:50:01,652 INFO maxHealthCheckFailCount:12
2025-09-22 01:50:01,653 INFO maxContent:10485760
2025-09-22 01:50:08,648 INFO All dump page size is set to 100 according to mem limit 1024 MB
2025-09-22 01:50:08,651 WARN DumpService start
2025-09-22 01:50:08,652 INFO start clear all config-info.
2025-09-22 01:50:08,654 INFO clear all config-info success.
2025-09-22 01:50:08,655 INFO clear all config-info-tenant success.
2025-09-22 01:50:08,663 INFO start dump all config-info...
2025-09-22 01:50:08,664 INFO success to dump all config-info。
2025-09-22 01:50:08,664 INFO start to clear all gray-config-info on startup.
2025-09-22 01:50:08,664 INFO clear all config-info-gray success.
2025-09-22 01:50:08,664 INFO clear all config-info-gray-tenant success.
2025-09-22 01:50:13,990 INFO notifyConnectTimeout:100
2025-09-22 01:50:13,990 INFO notifySocketTimeout:200
2025-09-22 01:50:13,991 INFO isHealthCheck:true
2025-09-22 01:50:13,991 INFO maxHealthCheckFailCount:12
2025-09-22 01:50:13,991 INFO maxContent:10485760
2025-09-22 01:50:17,557 INFO notifyConnectTimeout:100
2025-09-22 01:50:17,558 INFO notifySocketTimeout:200
2025-09-22 01:50:17,558 INFO isHealthCheck:true
2025-09-22 01:50:17,558 INFO maxHealthCheckFailCount:12
2025-09-22 01:50:17,558 INFO maxContent:10485760

View File

@@ -0,0 +1,56 @@
2025-09-22 01:17:30,856 DEBUG auth start, request: GET /v3/console/core/namespace/list
2025-09-22 01:17:30,872 DEBUG access denied, request: GET /v3/console/core/namespace/list, reason: Code: 401, Message: User not found! Please check user exist or password is right!.
2025-09-22 01:17:30,992 DEBUG auth start, request: GET /v3/console/cs/config/list
2025-09-22 01:17:31,026 DEBUG access denied, request: GET /v3/console/cs/config/list, reason: Code: 401, Message: User not found! Please check user exist or password is right!.
2025-09-22 01:17:37,764 DEBUG auth start, request: GET /v3/console/core/namespace/list
2025-09-22 01:17:37,838 DEBUG API is identity only, skip validate authority, request: GET /v3/console/core/namespace/list
2025-09-22 01:17:37,926 DEBUG auth start, request: GET /v3/console/cs/config/list
2025-09-22 01:17:37,929 DEBUG auth permission: Permission{resource='Resource{namespaceId='public', group='', name='', type='config', properties={action=r}}', action='r'}, nacosUser: NacosUser{token='eyJhbGciOiJIUzM4NCJ9.eyJzdWIiOiJuYWNvcyIsImV4cCI6MTc1ODQ5MzA1N30.dM1-z-mkqWo_AZ1rZtgHnBhRw_RsJ5w3l9WNzzYJ2WwPfHn0EFhTOGP1Z69uyzaL', globalAdmin=false}
2025-09-22 01:43:49,416 DEBUG auth start, request: GET /v3/console/core/namespace/list
2025-09-22 01:43:49,417 DEBUG API is identity only, skip validate authority, request: GET /v3/console/core/namespace/list
2025-09-22 01:43:49,515 DEBUG auth start, request: GET /v3/console/cs/config/list
2025-09-22 01:43:49,516 DEBUG auth permission: Permission{resource='Resource{namespaceId='public', group='', name='', type='config', properties={action=r}}', action='r'}, nacosUser: NacosUser{token='eyJhbGciOiJIUzM4NCJ9.eyJzdWIiOiJuYWNvcyIsImV4cCI6MTc1ODQ5MzA1N30.dM1-z-mkqWo_AZ1rZtgHnBhRw_RsJ5w3l9WNzzYJ2WwPfHn0EFhTOGP1Z69uyzaL', globalAdmin=false}
2025-09-22 01:44:52,181 DEBUG auth start, request: GET /v3/console/ns/service/list
2025-09-22 01:44:52,183 DEBUG auth permission: Permission{resource='Resource{namespaceId='public', group='', name='', type='naming', properties={action=r}}', action='r'}, nacosUser: NacosUser{token='eyJhbGciOiJIUzM4NCJ9.eyJzdWIiOiJuYWNvcyIsImV4cCI6MTc1ODQ5MzA1N30.dM1-z-mkqWo_AZ1rZtgHnBhRw_RsJ5w3l9WNzzYJ2WwPfHn0EFhTOGP1Z69uyzaL', globalAdmin=false}
2025-09-22 02:10:39,620 DEBUG auth start, request: GET /v3/console/core/namespace/list
2025-09-22 02:10:39,629 DEBUG access denied, request: GET /v3/console/core/namespace/list, reason: Code: 401, Message: User not found! Please check user exist or password is right!.
2025-09-22 02:10:39,796 DEBUG auth start, request: GET /v3/console/ns/service/list
2025-09-22 02:10:39,798 DEBUG access denied, request: GET /v3/console/ns/service/list, reason: Code: 401, Message: User not found! Please check user exist or password is right!.
2025-09-22 02:10:44,908 DEBUG auth start, request: GET /v3/console/core/namespace/list
2025-09-22 02:10:44,908 DEBUG access denied, request: GET /v3/console/core/namespace/list, reason: Code: 401, Message: User not found! Please check user exist or password is right!.
2025-09-22 02:10:45,013 DEBUG auth start, request: GET /v3/console/cs/config/list
2025-09-22 02:10:45,034 DEBUG access denied, request: GET /v3/console/cs/config/list, reason: Code: 401, Message: User not found! Please check user exist or password is right!.
2025-09-22 02:10:49,567 DEBUG auth start, request: GET /v3/console/core/namespace/list
2025-09-22 02:10:49,591 DEBUG API is identity only, skip validate authority, request: GET /v3/console/core/namespace/list
2025-09-22 02:10:49,643 DEBUG auth start, request: GET /v3/console/cs/config/list
2025-09-22 02:10:49,644 DEBUG auth permission: Permission{resource='Resource{namespaceId='public', group='', name='', type='config', properties={action=r}}', action='r'}, nacosUser: NacosUser{token='eyJhbGciOiJIUzM4NCJ9.eyJzdWIiOiJuYWNvcyIsImV4cCI6MTc1ODQ5NjI0OX0.yL_8_CLjywePISs3Pt1EPC2nvurIRVgoktk5btmsGEupkx3YThFIl-r2uVBs37AM', globalAdmin=false}
2025-09-22 02:10:52,639 DEBUG auth start, request: GET /v3/console/ns/service/list
2025-09-22 02:10:52,641 DEBUG auth permission: Permission{resource='Resource{namespaceId='public', group='', name='', type='naming', properties={action=r}}', action='r'}, nacosUser: NacosUser{token='eyJhbGciOiJIUzM4NCJ9.eyJzdWIiOiJuYWNvcyIsImV4cCI6MTc1ODQ5NjI0OX0.yL_8_CLjywePISs3Pt1EPC2nvurIRVgoktk5btmsGEupkx3YThFIl-r2uVBs37AM', globalAdmin=false}

View File

@@ -0,0 +1,16 @@
2025-09-22 01:17:08,399 INFO Current addressing mode selection : StandaloneMemberLookup
2025-09-22 01:17:08,422 INFO [ClusterRpcClientProxy] success to refresh cluster rpc client on start up,members =[]
2025-09-22 01:17:14,059 INFO All Nacos server upgrade to upper 3.x, enabled inner api auth identity check
2025-09-22 01:17:18,886 INFO This node is ready to provide external services
2025-09-22 01:50:08,164 INFO Current addressing mode selection : StandaloneMemberLookup
2025-09-22 01:50:08,195 INFO [ClusterRpcClientProxy] success to refresh cluster rpc client on start up,members =[]
2025-09-22 01:50:13,921 INFO All Nacos server upgrade to upper 3.x, enabled inner api auth identity check
2025-09-22 01:50:17,493 INFO This node is ready to provide external services

View File

@@ -0,0 +1,48 @@
2025-09-22 01:17:05,754 INFO use local db service for init
2025-09-22 01:17:07,215 WARN Lexical error at line 4, column 66. Encountered: <EOF> after : "".
2025-09-22 01:17:07,220 WARN Syntax error: Encountered "*" at line 1, column 1.
2025-09-22 01:17:07,832 WARN Column 'SRC_IP' already exists in Table/View '"NACOS"."HIS_CONFIG_INFO"'.
2025-09-22 01:17:07,834 WARN Column 'SRC_IP' already exists in Table/View '"NACOS"."CONFIG_INFO"'.
2025-09-22 01:17:07,836 WARN Column 'PUBLISH_TYPE' already exists in Table/View '"NACOS"."HIS_CONFIG_INFO"'.
2025-09-22 01:17:07,839 WARN Column 'EXT_INFO' already exists in Table/View '"NACOS"."HIS_CONFIG_INFO"'.
2025-09-22 01:17:07,841 WARN Column 'GRAY_NAME' already exists in Table/View '"NACOS"."HIS_CONFIG_INFO"'.
2025-09-22 01:17:07,841 INFO use StandaloneDatabaseOperateImpl
2025-09-22 01:17:08,629 ERROR [db-error] DataAccessException : caused: StatementCallback; bad SQL grammar [SELECT COUNT(*) FROM config_info_beta ];caused: Table/View 'CONFIG_INFO_BETA' does not exist.;caused: Table/View 'CONFIG_INFO_BETA' does not exist.;
2025-09-22 01:17:16,840 ERROR [db-error] DataAccessException : caused: StatementCallback; bad SQL grammar [SELECT COUNT(*) FROM config_info_beta ];caused: Table/View 'CONFIG_INFO_BETA' does not exist.;caused: Table/View 'CONFIG_INFO_BETA' does not exist.;
2025-09-22 01:17:20,011 ERROR [db-error] DataAccessException : caused: StatementCallback; bad SQL grammar [SELECT COUNT(*) FROM config_info_beta ];caused: Table/View 'CONFIG_INFO_BETA' does not exist.;caused: Table/View 'CONFIG_INFO_BETA' does not exist.;
2025-09-22 01:50:05,857 INFO use local db service for init
2025-09-22 01:50:07,118 WARN Lexical error at line 4, column 66. Encountered: <EOF> after : "".
2025-09-22 01:50:07,122 WARN Syntax error: Encountered "*" at line 1, column 1.
2025-09-22 01:50:07,606 WARN Column 'SRC_IP' already exists in Table/View '"NACOS"."HIS_CONFIG_INFO"'.
2025-09-22 01:50:07,608 WARN Column 'SRC_IP' already exists in Table/View '"NACOS"."CONFIG_INFO"'.
2025-09-22 01:50:07,611 WARN Column 'PUBLISH_TYPE' already exists in Table/View '"NACOS"."HIS_CONFIG_INFO"'.
2025-09-22 01:50:07,613 WARN Column 'EXT_INFO' already exists in Table/View '"NACOS"."HIS_CONFIG_INFO"'.
2025-09-22 01:50:07,615 WARN Column 'GRAY_NAME' already exists in Table/View '"NACOS"."HIS_CONFIG_INFO"'.
2025-09-22 01:50:07,615 INFO use StandaloneDatabaseOperateImpl
2025-09-22 01:50:08,457 ERROR [db-error] DataAccessException : caused: StatementCallback; bad SQL grammar [SELECT COUNT(*) FROM config_info_beta ];caused: Table/View 'CONFIG_INFO_BETA' does not exist.;caused: Table/View 'CONFIG_INFO_BETA' does not exist.;
2025-09-22 01:50:16,597 ERROR [db-error] DataAccessException : caused: StatementCallback; bad SQL grammar [SELECT COUNT(*) FROM config_info_beta ];caused: Table/View 'CONFIG_INFO_BETA' does not exist.;caused: Table/View 'CONFIG_INFO_BETA' does not exist.;
2025-09-22 01:50:18,447 ERROR [db-error] DataAccessException : caused: StatementCallback; bad SQL grammar [SELECT COUNT(*) FROM config_info_beta ];caused: Table/View 'CONFIG_INFO_BETA' does not exist.;caused: Table/View 'CONFIG_INFO_BETA' does not exist.;

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,208 @@
[2025-09-21T17:49:58.226+0000][gc] Using G1
[2025-09-21T17:49:58.232+0000][gc,init] Version: 17.0.16+8-alpine-r0 (release)
[2025-09-21T17:49:58.232+0000][gc,init] CPUs: 12 total, 12 available
[2025-09-21T17:49:58.232+0000][gc,init] Memory: 7997M
[2025-09-21T17:49:58.232+0000][gc,init] Large Page Support: Disabled
[2025-09-21T17:49:58.232+0000][gc,init] NUMA Support: Disabled
[2025-09-21T17:49:58.232+0000][gc,init] Compressed Oops: Enabled (32-bit)
[2025-09-21T17:49:58.232+0000][gc,init] Heap Region Size: 1M
[2025-09-21T17:49:58.232+0000][gc,init] Heap Min Capacity: 1G
[2025-09-21T17:49:58.232+0000][gc,init] Heap Initial Capacity: 1G
[2025-09-21T17:49:58.232+0000][gc,init] Heap Max Capacity: 1G
[2025-09-21T17:49:58.232+0000][gc,init] Pre-touch: Disabled
[2025-09-21T17:49:58.233+0000][gc,init] Parallel Workers: 10
[2025-09-21T17:49:58.233+0000][gc,init] Concurrent Workers: 3
[2025-09-21T17:49:58.233+0000][gc,init] Concurrent Refinement Workers: 10
[2025-09-21T17:49:58.233+0000][gc,init] Periodic GC: Disabled
[2025-09-21T17:49:58.239+0000][gc,metaspace] CDS archive(s) mapped at: [0x00007f22cd000000-0x00007f22cdbc7000-0x00007f22cdbc7000), size 12349440, SharedBaseAddress: 0x00007f22cd000000, ArchiveRelocationMode: 1.
[2025-09-21T17:49:58.239+0000][gc,metaspace] Compressed class space mapped at: 0x00007f22ce000000-0x00007f230e000000, reserved size: 1073741824
[2025-09-21T17:49:58.239+0000][gc,metaspace] Narrow klass base: 0x00007f22cd000000, Narrow klass shift: 0, Narrow klass range: 0x100000000
[2025-09-21T17:50:03.287+0000][gc,start ] GC(0) Pause Young (Normal) (G1 Evacuation Pause)
[2025-09-21T17:50:03.290+0000][gc,task ] GC(0) Using 10 workers of 10 for evacuation
[2025-09-21T17:50:03.344+0000][gc,phases ] GC(0) Pre Evacuate Collection Set: 0.2ms
[2025-09-21T17:50:03.344+0000][gc,phases ] GC(0) Merge Heap Roots: 0.2ms
[2025-09-21T17:50:03.344+0000][gc,phases ] GC(0) Evacuate Collection Set: 50.2ms
[2025-09-21T17:50:03.344+0000][gc,phases ] GC(0) Post Evacuate Collection Set: 3.4ms
[2025-09-21T17:50:03.344+0000][gc,phases ] GC(0) Other: 2.5ms
[2025-09-21T17:50:03.344+0000][gc,heap ] GC(0) Eden regions: 512->0(475)
[2025-09-21T17:50:03.344+0000][gc,heap ] GC(0) Survivor regions: 0->37(64)
[2025-09-21T17:50:03.344+0000][gc,heap ] GC(0) Old regions: 0->0
[2025-09-21T17:50:03.344+0000][gc,heap ] GC(0) Archive regions: 2->2
[2025-09-21T17:50:03.344+0000][gc,heap ] GC(0) Humongous regions: 0->0
[2025-09-21T17:50:03.344+0000][gc,metaspace] GC(0) Metaspace: 21118K(21504K)->21118K(21504K) NonClass: 18497K(18688K)->18497K(18688K) Class: 2620K(2816K)->2620K(2816K)
[2025-09-21T17:50:03.345+0000][gc ] GC(0) Pause Young (Normal) (G1 Evacuation Pause) 512M->37M(1024M) 57.138ms
[2025-09-21T17:50:03.345+0000][gc,cpu ] GC(0) User=0.24s Sys=0.26s Real=0.06s
[2025-09-21T17:50:03.433+0000][gc,start ] GC(1) Pause Young (Concurrent Start) (Metadata GC Threshold)
[2025-09-21T17:50:03.433+0000][gc,task ] GC(1) Using 10 workers of 10 for evacuation
[2025-09-21T17:50:03.460+0000][gc,phases ] GC(1) Pre Evacuate Collection Set: 0.2ms
[2025-09-21T17:50:03.460+0000][gc,phases ] GC(1) Merge Heap Roots: 0.1ms
[2025-09-21T17:50:03.460+0000][gc,phases ] GC(1) Evacuate Collection Set: 25.1ms
[2025-09-21T17:50:03.460+0000][gc,phases ] GC(1) Post Evacuate Collection Set: 1.0ms
[2025-09-21T17:50:03.460+0000][gc,phases ] GC(1) Other: 0.4ms
[2025-09-21T17:50:03.460+0000][gc,heap ] GC(1) Eden regions: 20->0(507)
[2025-09-21T17:50:03.460+0000][gc,heap ] GC(1) Survivor regions: 37->5(64)
[2025-09-21T17:50:03.461+0000][gc,heap ] GC(1) Old regions: 0->37
[2025-09-21T17:50:03.461+0000][gc,heap ] GC(1) Archive regions: 2->2
[2025-09-21T17:50:03.461+0000][gc,heap ] GC(1) Humongous regions: 0->0
[2025-09-21T17:50:03.461+0000][gc,metaspace] GC(1) Metaspace: 21171K(21504K)->21171K(21504K) NonClass: 18543K(18688K)->18543K(18688K) Class: 2628K(2816K)->2628K(2816K)
[2025-09-21T17:50:03.461+0000][gc ] GC(1) Pause Young (Concurrent Start) (Metadata GC Threshold) 57M->42M(1024M) 27.344ms
[2025-09-21T17:50:03.461+0000][gc,cpu ] GC(1) User=0.14s Sys=0.08s Real=0.02s
[2025-09-21T17:50:03.461+0000][gc ] GC(2) Concurrent Mark Cycle
[2025-09-21T17:50:03.461+0000][gc,marking ] GC(2) Concurrent Clear Claimed Marks
[2025-09-21T17:50:03.461+0000][gc,marking ] GC(2) Concurrent Clear Claimed Marks 0.057ms
[2025-09-21T17:50:03.461+0000][gc,marking ] GC(2) Concurrent Scan Root Regions
[2025-09-21T17:50:03.469+0000][gc,marking ] GC(2) Concurrent Scan Root Regions 8.069ms
[2025-09-21T17:50:03.469+0000][gc,marking ] GC(2) Concurrent Mark
[2025-09-21T17:50:03.469+0000][gc,marking ] GC(2) Concurrent Mark From Roots
[2025-09-21T17:50:03.469+0000][gc,task ] GC(2) Using 3 workers of 3 for marking
[2025-09-21T17:50:03.471+0000][gc,marking ] GC(2) Concurrent Mark From Roots 1.870ms
[2025-09-21T17:50:03.471+0000][gc,marking ] GC(2) Concurrent Preclean
[2025-09-21T17:50:03.471+0000][gc,marking ] GC(2) Concurrent Preclean 0.067ms
[2025-09-21T17:50:03.472+0000][gc,start ] GC(2) Pause Remark
[2025-09-21T17:50:03.474+0000][gc ] GC(2) Pause Remark 43M->43M(1024M) 2.835ms
[2025-09-21T17:50:03.475+0000][gc,cpu ] GC(2) User=0.01s Sys=0.00s Real=0.00s
[2025-09-21T17:50:03.475+0000][gc,marking ] GC(2) Concurrent Mark 5.341ms
[2025-09-21T17:50:03.475+0000][gc,marking ] GC(2) Concurrent Rebuild Remembered Sets
[2025-09-21T17:50:03.486+0000][gc,marking ] GC(2) Concurrent Rebuild Remembered Sets 11.703ms
[2025-09-21T17:50:03.487+0000][gc,start ] GC(2) Pause Cleanup
[2025-09-21T17:50:03.487+0000][gc ] GC(2) Pause Cleanup 44M->44M(1024M) 0.324ms
[2025-09-21T17:50:03.487+0000][gc,cpu ] GC(2) User=0.00s Sys=0.00s Real=0.00s
[2025-09-21T17:50:03.488+0000][gc,marking ] GC(2) Concurrent Cleanup for Next Mark
[2025-09-21T17:50:03.490+0000][gc,marking ] GC(2) Concurrent Cleanup for Next Mark 2.283ms
[2025-09-21T17:50:03.490+0000][gc ] GC(2) Concurrent Mark Cycle 29.010ms
[2025-09-21T17:50:06.098+0000][gc,start ] GC(3) Pause Young (Concurrent Start) (Metadata GC Threshold)
[2025-09-21T17:50:06.098+0000][gc,task ] GC(3) Using 10 workers of 10 for evacuation
[2025-09-21T17:50:06.111+0000][gc,phases ] GC(3) Pre Evacuate Collection Set: 0.4ms
[2025-09-21T17:50:06.111+0000][gc,phases ] GC(3) Merge Heap Roots: 0.2ms
[2025-09-21T17:50:06.111+0000][gc,phases ] GC(3) Evacuate Collection Set: 10.3ms
[2025-09-21T17:50:06.111+0000][gc,phases ] GC(3) Post Evacuate Collection Set: 1.5ms
[2025-09-21T17:50:06.111+0000][gc,phases ] GC(3) Other: 0.3ms
[2025-09-21T17:50:06.111+0000][gc,heap ] GC(3) Eden regions: 281->0(502)
[2025-09-21T17:50:06.111+0000][gc,heap ] GC(3) Survivor regions: 5->10(64)
[2025-09-21T17:50:06.111+0000][gc,heap ] GC(3) Old regions: 37->37
[2025-09-21T17:50:06.111+0000][gc,heap ] GC(3) Archive regions: 2->2
[2025-09-21T17:50:06.111+0000][gc,heap ] GC(3) Humongous regions: 0->0
[2025-09-21T17:50:06.111+0000][gc,metaspace] GC(3) Metaspace: 35603K(35968K)->35603K(35968K) NonClass: 31100K(31296K)->31100K(31296K) Class: 4502K(4672K)->4502K(4672K)
[2025-09-21T17:50:06.111+0000][gc ] GC(3) Pause Young (Concurrent Start) (Metadata GC Threshold) 323M->46M(1024M) 13.214ms
[2025-09-21T17:50:06.111+0000][gc,cpu ] GC(3) User=0.07s Sys=0.00s Real=0.02s
[2025-09-21T17:50:06.111+0000][gc ] GC(4) Concurrent Mark Cycle
[2025-09-21T17:50:06.112+0000][gc,marking ] GC(4) Concurrent Clear Claimed Marks
[2025-09-21T17:50:06.112+0000][gc,marking ] GC(4) Concurrent Clear Claimed Marks 0.064ms
[2025-09-21T17:50:06.112+0000][gc,marking ] GC(4) Concurrent Scan Root Regions
[2025-09-21T17:50:06.116+0000][gc,marking ] GC(4) Concurrent Scan Root Regions 4.274ms
[2025-09-21T17:50:06.116+0000][gc,marking ] GC(4) Concurrent Mark
[2025-09-21T17:50:06.116+0000][gc,marking ] GC(4) Concurrent Mark From Roots
[2025-09-21T17:50:06.116+0000][gc,task ] GC(4) Using 3 workers of 3 for marking
[2025-09-21T17:50:06.143+0000][gc,marking ] GC(4) Concurrent Mark From Roots 26.717ms
[2025-09-21T17:50:06.143+0000][gc,marking ] GC(4) Concurrent Preclean
[2025-09-21T17:50:06.143+0000][gc,marking ] GC(4) Concurrent Preclean 0.190ms
[2025-09-21T17:50:06.143+0000][gc,start ] GC(4) Pause Remark
[2025-09-21T17:50:06.147+0000][gc ] GC(4) Pause Remark 47M->47M(1024M) 3.425ms
[2025-09-21T17:50:06.147+0000][gc,cpu ] GC(4) User=0.00s Sys=0.00s Real=0.00s
[2025-09-21T17:50:06.147+0000][gc,marking ] GC(4) Concurrent Mark 30.919ms
[2025-09-21T17:50:06.147+0000][gc,marking ] GC(4) Concurrent Rebuild Remembered Sets
[2025-09-21T17:50:06.158+0000][gc,marking ] GC(4) Concurrent Rebuild Remembered Sets 10.922ms
[2025-09-21T17:50:06.158+0000][gc,start ] GC(4) Pause Cleanup
[2025-09-21T17:50:06.159+0000][gc ] GC(4) Pause Cleanup 48M->48M(1024M) 0.211ms
[2025-09-21T17:50:06.159+0000][gc,cpu ] GC(4) User=0.00s Sys=0.00s Real=0.00s
[2025-09-21T17:50:06.159+0000][gc,marking ] GC(4) Concurrent Cleanup for Next Mark
[2025-09-21T17:50:06.160+0000][gc,marking ] GC(4) Concurrent Cleanup for Next Mark 1.506ms
[2025-09-21T17:50:06.160+0000][gc ] GC(4) Concurrent Mark Cycle 48.925ms
[2025-09-21T17:50:10.201+0000][gc,start ] GC(5) Pause Young (Concurrent Start) (Metadata GC Threshold)
[2025-09-21T17:50:10.202+0000][gc,task ] GC(5) Using 10 workers of 10 for evacuation
[2025-09-21T17:50:10.218+0000][gc,phases ] GC(5) Pre Evacuate Collection Set: 0.2ms
[2025-09-21T17:50:10.219+0000][gc,phases ] GC(5) Merge Heap Roots: 0.2ms
[2025-09-21T17:50:10.219+0000][gc,phases ] GC(5) Evacuate Collection Set: 12.2ms
[2025-09-21T17:50:10.219+0000][gc,phases ] GC(5) Post Evacuate Collection Set: 3.7ms
[2025-09-21T17:50:10.219+0000][gc,phases ] GC(5) Other: 1.1ms
[2025-09-21T17:50:10.219+0000][gc,heap ] GC(5) Eden regions: 302->0(489)
[2025-09-21T17:50:10.219+0000][gc,heap ] GC(5) Survivor regions: 10->23(64)
[2025-09-21T17:50:10.219+0000][gc,heap ] GC(5) Old regions: 37->37
[2025-09-21T17:50:10.219+0000][gc,heap ] GC(5) Archive regions: 2->2
[2025-09-21T17:50:10.219+0000][gc,heap ] GC(5) Humongous regions: 0->0
[2025-09-21T17:50:10.219+0000][gc,metaspace] GC(5) Metaspace: 59916K(60480K)->59916K(60480K) NonClass: 52541K(52864K)->52541K(52864K) Class: 7375K(7616K)->7375K(7616K)
[2025-09-21T17:50:10.219+0000][gc ] GC(5) Pause Young (Concurrent Start) (Metadata GC Threshold) 348M->60M(1024M) 17.981ms
[2025-09-21T17:50:10.219+0000][gc,cpu ] GC(5) User=0.07s Sys=0.01s Real=0.01s
[2025-09-21T17:50:10.219+0000][gc ] GC(6) Concurrent Mark Cycle
[2025-09-21T17:50:10.219+0000][gc,marking ] GC(6) Concurrent Clear Claimed Marks
[2025-09-21T17:50:10.219+0000][gc,marking ] GC(6) Concurrent Clear Claimed Marks 0.056ms
[2025-09-21T17:50:10.219+0000][gc,marking ] GC(6) Concurrent Scan Root Regions
[2025-09-21T17:50:10.225+0000][gc,marking ] GC(6) Concurrent Scan Root Regions 6.134ms
[2025-09-21T17:50:10.225+0000][gc,marking ] GC(6) Concurrent Mark
[2025-09-21T17:50:10.226+0000][gc,marking ] GC(6) Concurrent Mark From Roots
[2025-09-21T17:50:10.226+0000][gc,task ] GC(6) Using 3 workers of 3 for marking
[2025-09-21T17:50:10.249+0000][gc,marking ] GC(6) Concurrent Mark From Roots 23.070ms
[2025-09-21T17:50:10.249+0000][gc,marking ] GC(6) Concurrent Preclean
[2025-09-21T17:50:10.249+0000][gc,marking ] GC(6) Concurrent Preclean 0.171ms
[2025-09-21T17:50:10.249+0000][gc,start ] GC(6) Pause Remark
[2025-09-21T17:50:10.254+0000][gc ] GC(6) Pause Remark 63M->63M(1024M) 4.402ms
[2025-09-21T17:50:10.254+0000][gc,cpu ] GC(6) User=0.02s Sys=0.00s Real=0.01s
[2025-09-21T17:50:10.254+0000][gc,marking ] GC(6) Concurrent Mark 28.589ms
[2025-09-21T17:50:10.254+0000][gc,marking ] GC(6) Concurrent Rebuild Remembered Sets
[2025-09-21T17:50:10.265+0000][gc,marking ] GC(6) Concurrent Rebuild Remembered Sets 11.276ms
[2025-09-21T17:50:10.266+0000][gc,start ] GC(6) Pause Cleanup
[2025-09-21T17:50:10.266+0000][gc ] GC(6) Pause Cleanup 63M->63M(1024M) 0.429ms
[2025-09-21T17:50:10.266+0000][gc,cpu ] GC(6) User=0.00s Sys=0.00s Real=0.00s
[2025-09-21T17:50:10.266+0000][gc,marking ] GC(6) Concurrent Cleanup for Next Mark
[2025-09-21T17:50:10.268+0000][gc,marking ] GC(6) Concurrent Cleanup for Next Mark 1.193ms
[2025-09-21T17:50:10.268+0000][gc ] GC(6) Concurrent Mark Cycle 48.631ms
[2025-09-21T17:50:14.105+0000][gc,start ] GC(7) Pause Young (Normal) (G1 Evacuation Pause)
[2025-09-21T17:50:14.105+0000][gc,task ] GC(7) Using 10 workers of 10 for evacuation
[2025-09-21T17:50:14.127+0000][gc,phases ] GC(7) Pre Evacuate Collection Set: 0.3ms
[2025-09-21T17:50:14.127+0000][gc,phases ] GC(7) Merge Heap Roots: 0.2ms
[2025-09-21T17:50:14.127+0000][gc,phases ] GC(7) Evacuate Collection Set: 17.4ms
[2025-09-21T17:50:14.127+0000][gc,phases ] GC(7) Post Evacuate Collection Set: 3.4ms
[2025-09-21T17:50:14.127+0000][gc,phases ] GC(7) Other: 0.3ms
[2025-09-21T17:50:14.127+0000][gc,heap ] GC(7) Eden regions: 489->0(462)
[2025-09-21T17:50:14.127+0000][gc,heap ] GC(7) Survivor regions: 23->50(64)
[2025-09-21T17:50:14.127+0000][gc,heap ] GC(7) Old regions: 37->37
[2025-09-21T17:50:14.127+0000][gc,heap ] GC(7) Archive regions: 2->2
[2025-09-21T17:50:14.127+0000][gc,heap ] GC(7) Humongous regions: 0->0
[2025-09-21T17:50:14.127+0000][gc,metaspace] GC(7) Metaspace: 73829K(74432K)->73829K(74432K) NonClass: 64512K(64832K)->64512K(64832K) Class: 9317K(9600K)->9317K(9600K)
[2025-09-21T17:50:14.127+0000][gc ] GC(7) Pause Young (Normal) (G1 Evacuation Pause) 549M->86M(1024M) 22.048ms
[2025-09-21T17:50:14.127+0000][gc,cpu ] GC(7) User=0.12s Sys=0.01s Real=0.02s
[2025-09-21T17:50:16.995+0000][gc,start ] GC(8) Pause Young (Normal) (G1 Evacuation Pause)
[2025-09-21T17:50:16.996+0000][gc,task ] GC(8) Using 10 workers of 10 for evacuation
[2025-09-21T17:50:17.035+0000][gc,phases ] GC(8) Pre Evacuate Collection Set: 0.2ms
[2025-09-21T17:50:17.035+0000][gc,phases ] GC(8) Merge Heap Roots: 0.2ms
[2025-09-21T17:50:17.035+0000][gc,phases ] GC(8) Evacuate Collection Set: 35.2ms
[2025-09-21T17:50:17.035+0000][gc,phases ] GC(8) Post Evacuate Collection Set: 3.4ms
[2025-09-21T17:50:17.035+0000][gc,phases ] GC(8) Other: 0.7ms
[2025-09-21T17:50:17.035+0000][gc,heap ] GC(8) Eden regions: 462->0(452)
[2025-09-21T17:50:17.035+0000][gc,heap ] GC(8) Survivor regions: 50->60(64)
[2025-09-21T17:50:17.035+0000][gc,heap ] GC(8) Old regions: 37->57
[2025-09-21T17:50:17.035+0000][gc,heap ] GC(8) Archive regions: 2->2
[2025-09-21T17:50:17.035+0000][gc,heap ] GC(8) Humongous regions: 0->0
[2025-09-21T17:50:17.035+0000][gc,metaspace] GC(8) Metaspace: 80872K(81536K)->80872K(81536K) NonClass: 70686K(70976K)->70686K(70976K) Class: 10186K(10560K)->10186K(10560K)
[2025-09-21T17:50:17.035+0000][gc ] GC(8) Pause Young (Normal) (G1 Evacuation Pause) 548M->116M(1024M) 39.945ms
[2025-09-21T17:50:17.035+0000][gc,cpu ] GC(8) User=0.17s Sys=0.05s Real=0.04s
[2025-09-21T17:54:53.887+0000][gc,start ] GC(9) Pause Young (Normal) (G1 Evacuation Pause)
[2025-09-21T17:54:53.888+0000][gc,task ] GC(9) Using 10 workers of 10 for evacuation
[2025-09-21T17:54:53.912+0000][gc,phases ] GC(9) Pre Evacuate Collection Set: 0.3ms
[2025-09-21T17:54:53.912+0000][gc,phases ] GC(9) Merge Heap Roots: 0.2ms
[2025-09-21T17:54:53.912+0000][gc,phases ] GC(9) Evacuate Collection Set: 20.0ms
[2025-09-21T17:54:53.912+0000][gc,phases ] GC(9) Post Evacuate Collection Set: 3.2ms
[2025-09-21T17:54:53.912+0000][gc,phases ] GC(9) Other: 1.2ms
[2025-09-21T17:54:53.912+0000][gc,heap ] GC(9) Eden regions: 452->0(490)
[2025-09-21T17:54:53.912+0000][gc,heap ] GC(9) Survivor regions: 60->22(64)
[2025-09-21T17:54:53.913+0000][gc,heap ] GC(9) Old regions: 57->79
[2025-09-21T17:54:53.913+0000][gc,heap ] GC(9) Archive regions: 2->2
[2025-09-21T17:54:53.913+0000][gc,heap ] GC(9) Humongous regions: 4->4
[2025-09-21T17:54:53.913+0000][gc,metaspace] GC(9) Metaspace: 89924K(90816K)->89924K(90816K) NonClass: 78916K(79360K)->78916K(79360K) Class: 11007K(11456K)->11007K(11456K)
[2025-09-21T17:54:53.913+0000][gc ] GC(9) Pause Young (Normal) (G1 Evacuation Pause) 572M->105M(1024M) 25.258ms
[2025-09-21T17:54:53.913+0000][gc,cpu ] GC(9) User=0.10s Sys=0.06s Real=0.03s
[2025-09-21T18:17:31.204+0000][gc,start ] GC(10) Pause Young (Normal) (G1 Evacuation Pause)
[2025-09-21T18:17:31.205+0000][gc,task ] GC(10) Using 10 workers of 10 for evacuation
[2025-09-21T18:17:31.222+0000][gc,phases ] GC(10) Pre Evacuate Collection Set: 0.4ms
[2025-09-21T18:17:31.222+0000][gc,phases ] GC(10) Merge Heap Roots: 0.2ms
[2025-09-21T18:17:31.222+0000][gc,phases ] GC(10) Evacuate Collection Set: 12.1ms
[2025-09-21T18:17:31.222+0000][gc,phases ] GC(10) Post Evacuate Collection Set: 2.6ms
[2025-09-21T18:17:31.222+0000][gc,phases ] GC(10) Other: 3.0ms
[2025-09-21T18:17:31.222+0000][gc,heap ] GC(10) Eden regions: 490->0(488)
[2025-09-21T18:17:31.222+0000][gc,heap ] GC(10) Survivor regions: 22->24(64)
[2025-09-21T18:17:31.222+0000][gc,heap ] GC(10) Old regions: 79->79
[2025-09-21T18:17:31.222+0000][gc,heap ] GC(10) Archive regions: 2->2
[2025-09-21T18:17:31.222+0000][gc,heap ] GC(10) Humongous regions: 10->10
[2025-09-21T18:17:31.222+0000][gc,metaspace] GC(10) Metaspace: 93668K(94592K)->93668K(94592K) NonClass: 82413K(82880K)->82413K(82880K) Class: 11255K(11712K)->11255K(11712K)
[2025-09-21T18:17:31.222+0000][gc ] GC(10) Pause Young (Normal) (G1 Evacuation Pause) 601M->113M(1024M) 18.759ms
[2025-09-21T18:17:31.222+0000][gc,cpu ] GC(10) User=0.08s Sys=0.00s Real=0.02s

View File

@@ -0,0 +1,198 @@
[2025-09-21T17:16:57.560+0000][gc] Using G1
[2025-09-21T17:16:57.569+0000][gc,init] Version: 17.0.16+8-alpine-r0 (release)
[2025-09-21T17:16:57.569+0000][gc,init] CPUs: 12 total, 12 available
[2025-09-21T17:16:57.569+0000][gc,init] Memory: 7997M
[2025-09-21T17:16:57.569+0000][gc,init] Large Page Support: Disabled
[2025-09-21T17:16:57.569+0000][gc,init] NUMA Support: Disabled
[2025-09-21T17:16:57.569+0000][gc,init] Compressed Oops: Enabled (32-bit)
[2025-09-21T17:16:57.569+0000][gc,init] Heap Region Size: 1M
[2025-09-21T17:16:57.569+0000][gc,init] Heap Min Capacity: 1G
[2025-09-21T17:16:57.570+0000][gc,init] Heap Initial Capacity: 1G
[2025-09-21T17:16:57.570+0000][gc,init] Heap Max Capacity: 1G
[2025-09-21T17:16:57.570+0000][gc,init] Pre-touch: Disabled
[2025-09-21T17:16:57.570+0000][gc,init] Parallel Workers: 10
[2025-09-21T17:16:57.570+0000][gc,init] Concurrent Workers: 3
[2025-09-21T17:16:57.570+0000][gc,init] Concurrent Refinement Workers: 10
[2025-09-21T17:16:57.570+0000][gc,init] Periodic GC: Disabled
[2025-09-21T17:16:57.579+0000][gc,metaspace] CDS archive(s) mapped at: [0x00007f7c56000000-0x00007f7c56bc7000-0x00007f7c56bc7000), size 12349440, SharedBaseAddress: 0x00007f7c56000000, ArchiveRelocationMode: 1.
[2025-09-21T17:16:57.579+0000][gc,metaspace] Compressed class space mapped at: 0x00007f7c57000000-0x00007f7c97000000, reserved size: 1073741824
[2025-09-21T17:16:57.579+0000][gc,metaspace] Narrow klass base: 0x00007f7c56000000, Narrow klass shift: 0, Narrow klass range: 0x100000000
[2025-09-21T17:17:03.003+0000][gc,start ] GC(0) Pause Young (Normal) (G1 Evacuation Pause)
[2025-09-21T17:17:03.005+0000][gc,task ] GC(0) Using 10 workers of 10 for evacuation
[2025-09-21T17:17:03.062+0000][gc,phases ] GC(0) Pre Evacuate Collection Set: 0.2ms
[2025-09-21T17:17:03.063+0000][gc,phases ] GC(0) Merge Heap Roots: 0.2ms
[2025-09-21T17:17:03.063+0000][gc,phases ] GC(0) Evacuate Collection Set: 53.4ms
[2025-09-21T17:17:03.063+0000][gc,phases ] GC(0) Post Evacuate Collection Set: 3.2ms
[2025-09-21T17:17:03.063+0000][gc,phases ] GC(0) Other: 2.6ms
[2025-09-21T17:17:03.063+0000][gc,heap ] GC(0) Eden regions: 512->0(474)
[2025-09-21T17:17:03.063+0000][gc,heap ] GC(0) Survivor regions: 0->38(64)
[2025-09-21T17:17:03.063+0000][gc,heap ] GC(0) Old regions: 0->0
[2025-09-21T17:17:03.063+0000][gc,heap ] GC(0) Archive regions: 2->2
[2025-09-21T17:17:03.063+0000][gc,heap ] GC(0) Humongous regions: 0->0
[2025-09-21T17:17:03.063+0000][gc,metaspace] GC(0) Metaspace: 21087K(21504K)->21087K(21504K) NonClass: 18472K(18688K)->18472K(18688K) Class: 2615K(2816K)->2615K(2816K)
[2025-09-21T17:17:03.064+0000][gc ] GC(0) Pause Young (Normal) (G1 Evacuation Pause) 512M->38M(1024M) 60.780ms
[2025-09-21T17:17:03.064+0000][gc,cpu ] GC(0) User=0.25s Sys=0.27s Real=0.06s
[2025-09-21T17:17:03.106+0000][gc,start ] GC(1) Pause Young (Concurrent Start) (Metadata GC Threshold)
[2025-09-21T17:17:03.106+0000][gc,task ] GC(1) Using 10 workers of 10 for evacuation
[2025-09-21T17:17:03.142+0000][gc,phases ] GC(1) Pre Evacuate Collection Set: 0.3ms
[2025-09-21T17:17:03.143+0000][gc,phases ] GC(1) Merge Heap Roots: 0.1ms
[2025-09-21T17:17:03.143+0000][gc,phases ] GC(1) Evacuate Collection Set: 35.2ms
[2025-09-21T17:17:03.143+0000][gc,phases ] GC(1) Post Evacuate Collection Set: 0.8ms
[2025-09-21T17:17:03.143+0000][gc,phases ] GC(1) Other: 0.3ms
[2025-09-21T17:17:03.143+0000][gc,heap ] GC(1) Eden regions: 4->0(507)
[2025-09-21T17:17:03.143+0000][gc,heap ] GC(1) Survivor regions: 38->5(64)
[2025-09-21T17:17:03.143+0000][gc,heap ] GC(1) Old regions: 0->38
[2025-09-21T17:17:03.143+0000][gc,heap ] GC(1) Archive regions: 2->2
[2025-09-21T17:17:03.143+0000][gc,heap ] GC(1) Humongous regions: 0->0
[2025-09-21T17:17:03.143+0000][gc,metaspace] GC(1) Metaspace: 21137K(21504K)->21137K(21504K) NonClass: 18514K(18688K)->18514K(18688K) Class: 2622K(2816K)->2622K(2816K)
[2025-09-21T17:17:03.143+0000][gc ] GC(1) Pause Young (Concurrent Start) (Metadata GC Threshold) 42M->43M(1024M) 37.400ms
[2025-09-21T17:17:03.143+0000][gc,cpu ] GC(1) User=0.13s Sys=0.18s Real=0.04s
[2025-09-21T17:17:03.143+0000][gc ] GC(2) Concurrent Mark Cycle
[2025-09-21T17:17:03.143+0000][gc,marking ] GC(2) Concurrent Clear Claimed Marks
[2025-09-21T17:17:03.143+0000][gc,marking ] GC(2) Concurrent Clear Claimed Marks 0.042ms
[2025-09-21T17:17:03.143+0000][gc,marking ] GC(2) Concurrent Scan Root Regions
[2025-09-21T17:17:03.151+0000][gc,marking ] GC(2) Concurrent Scan Root Regions 7.827ms
[2025-09-21T17:17:03.151+0000][gc,marking ] GC(2) Concurrent Mark
[2025-09-21T17:17:03.152+0000][gc,marking ] GC(2) Concurrent Mark From Roots
[2025-09-21T17:17:03.152+0000][gc,task ] GC(2) Using 3 workers of 3 for marking
[2025-09-21T17:17:03.153+0000][gc,marking ] GC(2) Concurrent Mark From Roots 1.565ms
[2025-09-21T17:17:03.153+0000][gc,marking ] GC(2) Concurrent Preclean
[2025-09-21T17:17:03.153+0000][gc,marking ] GC(2) Concurrent Preclean 0.068ms
[2025-09-21T17:17:03.154+0000][gc,start ] GC(2) Pause Remark
[2025-09-21T17:17:03.156+0000][gc ] GC(2) Pause Remark 43M->43M(1024M) 2.746ms
[2025-09-21T17:17:03.156+0000][gc,cpu ] GC(2) User=0.00s Sys=0.01s Real=0.00s
[2025-09-21T17:17:03.157+0000][gc,marking ] GC(2) Concurrent Mark 5.492ms
[2025-09-21T17:17:03.157+0000][gc,marking ] GC(2) Concurrent Rebuild Remembered Sets
[2025-09-21T17:17:03.167+0000][gc,marking ] GC(2) Concurrent Rebuild Remembered Sets 9.850ms
[2025-09-21T17:17:03.167+0000][gc,start ] GC(2) Pause Cleanup
[2025-09-21T17:17:03.167+0000][gc ] GC(2) Pause Cleanup 44M->44M(1024M) 0.279ms
[2025-09-21T17:17:03.167+0000][gc,cpu ] GC(2) User=0.00s Sys=0.00s Real=0.00s
[2025-09-21T17:17:03.168+0000][gc,marking ] GC(2) Concurrent Cleanup for Next Mark
[2025-09-21T17:17:03.182+0000][gc,marking ] GC(2) Concurrent Cleanup for Next Mark 14.526ms
[2025-09-21T17:17:03.182+0000][gc ] GC(2) Concurrent Mark Cycle 38.800ms
[2025-09-21T17:17:05.970+0000][gc,start ] GC(3) Pause Young (Concurrent Start) (Metadata GC Threshold)
[2025-09-21T17:17:05.970+0000][gc,task ] GC(3) Using 10 workers of 10 for evacuation
[2025-09-21T17:17:05.978+0000][gc,phases ] GC(3) Pre Evacuate Collection Set: 0.2ms
[2025-09-21T17:17:05.978+0000][gc,phases ] GC(3) Merge Heap Roots: 0.1ms
[2025-09-21T17:17:05.978+0000][gc,phases ] GC(3) Evacuate Collection Set: 6.4ms
[2025-09-21T17:17:05.978+0000][gc,phases ] GC(3) Post Evacuate Collection Set: 1.0ms
[2025-09-21T17:17:05.978+0000][gc,phases ] GC(3) Other: 0.2ms
[2025-09-21T17:17:05.978+0000][gc,heap ] GC(3) Eden regions: 281->0(503)
[2025-09-21T17:17:05.978+0000][gc,heap ] GC(3) Survivor regions: 5->9(64)
[2025-09-21T17:17:05.978+0000][gc,heap ] GC(3) Old regions: 38->38
[2025-09-21T17:17:05.978+0000][gc,heap ] GC(3) Archive regions: 2->2
[2025-09-21T17:17:05.978+0000][gc,heap ] GC(3) Humongous regions: 0->0
[2025-09-21T17:17:05.978+0000][gc,metaspace] GC(3) Metaspace: 35585K(35968K)->35585K(35968K) NonClass: 31086K(31296K)->31086K(31296K) Class: 4498K(4672K)->4498K(4672K)
[2025-09-21T17:17:05.978+0000][gc ] GC(3) Pause Young (Concurrent Start) (Metadata GC Threshold) 323M->47M(1024M) 8.285ms
[2025-09-21T17:17:05.978+0000][gc,cpu ] GC(3) User=0.03s Sys=0.01s Real=0.01s
[2025-09-21T17:17:05.978+0000][gc ] GC(4) Concurrent Mark Cycle
[2025-09-21T17:17:05.978+0000][gc,marking ] GC(4) Concurrent Clear Claimed Marks
[2025-09-21T17:17:05.978+0000][gc,marking ] GC(4) Concurrent Clear Claimed Marks 0.048ms
[2025-09-21T17:17:05.978+0000][gc,marking ] GC(4) Concurrent Scan Root Regions
[2025-09-21T17:17:05.981+0000][gc,marking ] GC(4) Concurrent Scan Root Regions 2.430ms
[2025-09-21T17:17:05.981+0000][gc,marking ] GC(4) Concurrent Mark
[2025-09-21T17:17:05.981+0000][gc,marking ] GC(4) Concurrent Mark From Roots
[2025-09-21T17:17:05.981+0000][gc,task ] GC(4) Using 3 workers of 3 for marking
[2025-09-21T17:17:06.002+0000][gc,marking ] GC(4) Concurrent Mark From Roots 20.850ms
[2025-09-21T17:17:06.002+0000][gc,marking ] GC(4) Concurrent Preclean
[2025-09-21T17:17:06.002+0000][gc,marking ] GC(4) Concurrent Preclean 0.395ms
[2025-09-21T17:17:06.003+0000][gc,start ] GC(4) Pause Remark
[2025-09-21T17:17:06.008+0000][gc ] GC(4) Pause Remark 48M->48M(1024M) 5.136ms
[2025-09-21T17:17:06.008+0000][gc,cpu ] GC(4) User=0.02s Sys=0.00s Real=0.00s
[2025-09-21T17:17:06.008+0000][gc,marking ] GC(4) Concurrent Mark 27.030ms
[2025-09-21T17:17:06.008+0000][gc,marking ] GC(4) Concurrent Rebuild Remembered Sets
[2025-09-21T17:17:06.020+0000][gc,marking ] GC(4) Concurrent Rebuild Remembered Sets 11.898ms
[2025-09-21T17:17:06.020+0000][gc,start ] GC(4) Pause Cleanup
[2025-09-21T17:17:06.020+0000][gc ] GC(4) Pause Cleanup 48M->48M(1024M) 0.241ms
[2025-09-21T17:17:06.020+0000][gc,cpu ] GC(4) User=0.00s Sys=0.00s Real=0.00s
[2025-09-21T17:17:06.021+0000][gc,marking ] GC(4) Concurrent Cleanup for Next Mark
[2025-09-21T17:17:06.031+0000][gc,marking ] GC(4) Concurrent Cleanup for Next Mark 10.213ms
[2025-09-21T17:17:06.031+0000][gc ] GC(4) Concurrent Mark Cycle 52.638ms
[2025-09-21T17:17:10.276+0000][gc,start ] GC(5) Pause Young (Concurrent Start) (Metadata GC Threshold)
[2025-09-21T17:17:10.276+0000][gc,task ] GC(5) Using 10 workers of 10 for evacuation
[2025-09-21T17:17:10.294+0000][gc,phases ] GC(5) Pre Evacuate Collection Set: 0.3ms
[2025-09-21T17:17:10.294+0000][gc,phases ] GC(5) Merge Heap Roots: 0.2ms
[2025-09-21T17:17:10.294+0000][gc,phases ] GC(5) Evacuate Collection Set: 14.7ms
[2025-09-21T17:17:10.294+0000][gc,phases ] GC(5) Post Evacuate Collection Set: 2.4ms
[2025-09-21T17:17:10.294+0000][gc,phases ] GC(5) Other: 0.6ms
[2025-09-21T17:17:10.294+0000][gc,heap ] GC(5) Eden regions: 304->0(491)
[2025-09-21T17:17:10.294+0000][gc,heap ] GC(5) Survivor regions: 9->21(64)
[2025-09-21T17:17:10.295+0000][gc,heap ] GC(5) Old regions: 38->38
[2025-09-21T17:17:10.295+0000][gc,heap ] GC(5) Archive regions: 2->2
[2025-09-21T17:17:10.295+0000][gc,heap ] GC(5) Humongous regions: 0->0
[2025-09-21T17:17:10.295+0000][gc,metaspace] GC(5) Metaspace: 59978K(60480K)->59978K(60480K) NonClass: 52600K(52864K)->52600K(52864K) Class: 7378K(7616K)->7378K(7616K)
[2025-09-21T17:17:10.295+0000][gc ] GC(5) Pause Young (Concurrent Start) (Metadata GC Threshold) 351M->59M(1024M) 18.595ms
[2025-09-21T17:17:10.295+0000][gc,cpu ] GC(5) User=0.05s Sys=0.00s Real=0.02s
[2025-09-21T17:17:10.295+0000][gc ] GC(6) Concurrent Mark Cycle
[2025-09-21T17:17:10.295+0000][gc,marking ] GC(6) Concurrent Clear Claimed Marks
[2025-09-21T17:17:10.295+0000][gc,marking ] GC(6) Concurrent Clear Claimed Marks 0.062ms
[2025-09-21T17:17:10.295+0000][gc,marking ] GC(6) Concurrent Scan Root Regions
[2025-09-21T17:17:10.299+0000][gc,marking ] GC(6) Concurrent Scan Root Regions 4.192ms
[2025-09-21T17:17:10.299+0000][gc,marking ] GC(6) Concurrent Mark
[2025-09-21T17:17:10.299+0000][gc,marking ] GC(6) Concurrent Mark From Roots
[2025-09-21T17:17:10.299+0000][gc,task ] GC(6) Using 3 workers of 3 for marking
[2025-09-21T17:17:10.322+0000][gc,marking ] GC(6) Concurrent Mark From Roots 22.317ms
[2025-09-21T17:17:10.322+0000][gc,marking ] GC(6) Concurrent Preclean
[2025-09-21T17:17:10.322+0000][gc,marking ] GC(6) Concurrent Preclean 0.180ms
[2025-09-21T17:17:10.322+0000][gc,start ] GC(6) Pause Remark
[2025-09-21T17:17:10.328+0000][gc ] GC(6) Pause Remark 61M->61M(1024M) 6.234ms
[2025-09-21T17:17:10.328+0000][gc,cpu ] GC(6) User=0.03s Sys=0.00s Real=0.00s
[2025-09-21T17:17:10.329+0000][gc,marking ] GC(6) Concurrent Mark 29.288ms
[2025-09-21T17:17:10.329+0000][gc,marking ] GC(6) Concurrent Rebuild Remembered Sets
[2025-09-21T17:17:10.338+0000][gc,marking ] GC(6) Concurrent Rebuild Remembered Sets 9.779ms
[2025-09-21T17:17:10.339+0000][gc,start ] GC(6) Pause Cleanup
[2025-09-21T17:17:10.339+0000][gc ] GC(6) Pause Cleanup 63M->63M(1024M) 0.287ms
[2025-09-21T17:17:10.339+0000][gc,cpu ] GC(6) User=0.00s Sys=0.00s Real=0.00s
[2025-09-21T17:17:10.339+0000][gc,marking ] GC(6) Concurrent Cleanup for Next Mark
[2025-09-21T17:17:10.340+0000][gc,marking ] GC(6) Concurrent Cleanup for Next Mark 0.885ms
[2025-09-21T17:17:10.340+0000][gc ] GC(6) Concurrent Mark Cycle 45.212ms
[2025-09-21T17:17:14.263+0000][gc,start ] GC(7) Pause Young (Normal) (G1 Evacuation Pause)
[2025-09-21T17:17:14.263+0000][gc,task ] GC(7) Using 10 workers of 10 for evacuation
[2025-09-21T17:17:14.285+0000][gc,phases ] GC(7) Pre Evacuate Collection Set: 0.3ms
[2025-09-21T17:17:14.285+0000][gc,phases ] GC(7) Merge Heap Roots: 0.2ms
[2025-09-21T17:17:14.285+0000][gc,phases ] GC(7) Evacuate Collection Set: 19.1ms
[2025-09-21T17:17:14.285+0000][gc,phases ] GC(7) Post Evacuate Collection Set: 2.6ms
[2025-09-21T17:17:14.285+0000][gc,phases ] GC(7) Other: 0.3ms
[2025-09-21T17:17:14.285+0000][gc,heap ] GC(7) Eden regions: 491->0(463)
[2025-09-21T17:17:14.285+0000][gc,heap ] GC(7) Survivor regions: 21->49(64)
[2025-09-21T17:17:14.285+0000][gc,heap ] GC(7) Old regions: 38->38
[2025-09-21T17:17:14.285+0000][gc,heap ] GC(7) Archive regions: 2->2
[2025-09-21T17:17:14.285+0000][gc,heap ] GC(7) Humongous regions: 0->0
[2025-09-21T17:17:14.285+0000][gc,metaspace] GC(7) Metaspace: 73888K(74496K)->73888K(74496K) NonClass: 64575K(64896K)->64575K(64896K) Class: 9313K(9600K)->9313K(9600K)
[2025-09-21T17:17:14.285+0000][gc ] GC(7) Pause Young (Normal) (G1 Evacuation Pause) 550M->87M(1024M) 22.804ms
[2025-09-21T17:17:14.285+0000][gc,cpu ] GC(7) User=0.13s Sys=0.01s Real=0.02s
[2025-09-21T17:17:17.752+0000][gc,start ] GC(8) Pause Young (Normal) (G1 Evacuation Pause)
[2025-09-21T17:17:17.752+0000][gc,task ] GC(8) Using 10 workers of 10 for evacuation
[2025-09-21T17:17:17.819+0000][gc,phases ] GC(8) Pre Evacuate Collection Set: 0.3ms
[2025-09-21T17:17:17.819+0000][gc,phases ] GC(8) Merge Heap Roots: 0.1ms
[2025-09-21T17:17:17.819+0000][gc,phases ] GC(8) Evacuate Collection Set: 61.4ms
[2025-09-21T17:17:17.819+0000][gc,phases ] GC(8) Post Evacuate Collection Set: 4.7ms
[2025-09-21T17:17:17.819+0000][gc,phases ] GC(8) Other: 0.4ms
[2025-09-21T17:17:17.819+0000][gc,heap ] GC(8) Eden regions: 463->0(451)
[2025-09-21T17:17:17.819+0000][gc,heap ] GC(8) Survivor regions: 49->61(64)
[2025-09-21T17:17:17.820+0000][gc,heap ] GC(8) Old regions: 38->57
[2025-09-21T17:17:17.820+0000][gc,heap ] GC(8) Archive regions: 2->2
[2025-09-21T17:17:17.820+0000][gc,heap ] GC(8) Humongous regions: 0->0
[2025-09-21T17:17:17.820+0000][gc,metaspace] GC(8) Metaspace: 81083K(81792K)->81083K(81792K) NonClass: 70880K(71232K)->70880K(71232K) Class: 10202K(10560K)->10202K(10560K)
[2025-09-21T17:17:17.820+0000][gc ] GC(8) Pause Young (Normal) (G1 Evacuation Pause) 550M->117M(1024M) 68.527ms
[2025-09-21T17:17:17.820+0000][gc,cpu ] GC(8) User=0.42s Sys=0.17s Real=0.06s
[2025-09-21T17:23:40.538+0000][gc,start ] GC(9) Pause Young (Normal) (G1 Evacuation Pause)
[2025-09-21T17:23:40.540+0000][gc,task ] GC(9) Using 10 workers of 10 for evacuation
[2025-09-21T17:23:40.566+0000][gc,phases ] GC(9) Pre Evacuate Collection Set: 0.3ms
[2025-09-21T17:23:40.566+0000][gc,phases ] GC(9) Merge Heap Roots: 0.2ms
[2025-09-21T17:23:40.566+0000][gc,phases ] GC(9) Evacuate Collection Set: 21.3ms
[2025-09-21T17:23:40.566+0000][gc,phases ] GC(9) Post Evacuate Collection Set: 3.0ms
[2025-09-21T17:23:40.566+0000][gc,phases ] GC(9) Other: 7.1ms
[2025-09-21T17:23:40.566+0000][gc,heap ] GC(9) Eden regions: 451->0(489)
[2025-09-21T17:23:40.566+0000][gc,heap ] GC(9) Survivor regions: 61->23(64)
[2025-09-21T17:23:40.566+0000][gc,heap ] GC(9) Old regions: 57->79
[2025-09-21T17:23:40.566+0000][gc,heap ] GC(9) Archive regions: 2->2
[2025-09-21T17:23:40.566+0000][gc,heap ] GC(9) Humongous regions: 7->7
[2025-09-21T17:23:40.566+0000][gc,metaspace] GC(9) Metaspace: 90296K(91072K)->90296K(91072K) NonClass: 79218K(79616K)->79218K(79616K) Class: 11077K(11456K)->11077K(11456K)
[2025-09-21T17:23:40.566+0000][gc ] GC(9) Pause Young (Normal) (G1 Evacuation Pause) 575M->109M(1024M) 28.911ms
[2025-09-21T17:23:40.566+0000][gc,cpu ] GC(9) User=0.12s Sys=0.06s Real=0.03s
[2025-09-21T17:49:56.652+0000][gc,heap,exit] Heap
[2025-09-21T17:49:56.653+0000][gc,heap,exit] garbage-first heap total 1048576K, used 474033K [0x00000000c0000000, 0x0000000100000000)
[2025-09-21T17:49:56.653+0000][gc,heap,exit] region size 1024K, 375 young (384000K), 23 survivors (23552K)
[2025-09-21T17:49:56.653+0000][gc,heap,exit] Metaspace used 93773K, committed 94720K, reserved 1179648K
[2025-09-21T17:49:56.653+0000][gc,heap,exit] class space used 11233K, committed 11712K, reserved 1048576K

View File

@@ -0,0 +1,2 @@
2025-09-22 02:21:08,674 INFO {POS} {IP-DISABLED} valid: 192.168.31.101:1333@DEFAULT@app-shared, region: unknown, msg: client last beat: 1758478850332

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,34 @@
2025-09-22 01:44:39,574 INFO [PUSH] Task merge for Service{namespace='public', group='DEFAULT_GROUP', name='app-shared', ephemeral=true, revision=2}
2025-09-22 01:44:44,784 INFO [PUSH] Task merge for Service{namespace='public', group='DEFAULT_GROUP', name='app-product', ephemeral=true, revision=2}
2025-09-22 01:48:48,290 INFO [PUSH] Task merge for Service{namespace='public', group='DEFAULT_GROUP', name='app-shared', ephemeral=true, revision=4}
2025-09-22 01:50:18,461 INFO [PUSH] Task merge for Service{namespace='public', group='DEFAULT_GROUP', name='app-shared', ephemeral=true, revision=2}
2025-09-22 01:50:20,024 INFO [PUSH] Task merge for Service{namespace='public', group='DEFAULT_GROUP', name='app-product', ephemeral=true, revision=2}
2025-09-22 02:01:31,866 INFO DEFAULT_GROUP@@app-product is changed, add it to push queue.
2025-09-22 02:01:31,886 INFO serviceName: DEFAULT_GROUP@@app-product changed, schedule push for: 192.168.31.101:59690, agent: Nacos-Java-Client:v1.0.0, key: 192.168.31.101,59690,52604733734431
2025-09-22 02:01:31,887 INFO send udp packet: 192.168.31.101,59690,52604733734431
2025-09-22 02:01:31,901 INFO [PUSH-SUCC] 40ms, all delay time 581ms for subscriber 192.168.31.101, Service{namespace='public', group='DEFAULT_GROUP', name='app-product', ephemeral=true, revision=2}, originalSize=1, DataSize=1
2025-09-22 02:02:39,192 INFO DEFAULT_GROUP@@app-product is changed, add it to push queue.
2025-09-22 02:02:39,193 INFO serviceName: DEFAULT_GROUP@@app-product changed, schedule push for: 192.168.31.101:51777, agent: Nacos-Java-Client:v1.0.0, key: 192.168.31.101,51777,52672059923470
2025-09-22 02:02:39,194 INFO send udp packet: 192.168.31.101,51777,52672059923470
2025-09-22 02:02:39,196 INFO [PUSH-SUCC] 4ms, all delay time 569ms for subscriber 192.168.31.101, Service{namespace='public', group='DEFAULT_GROUP', name='app-product', ephemeral=true, revision=2}, originalSize=1, DataSize=1
2025-09-22 02:09:59,753 INFO [PUSH] Task merge for Service{namespace='public', group='DEFAULT_GROUP', name='app-shared', ephemeral=true, revision=4}
2025-09-22 02:10:06,643 INFO [PUSH] Task merge for Service{namespace='public', group='DEFAULT_GROUP', name='app-product', ephemeral=true, revision=4}
2025-09-22 02:22:08,769 INFO [PUSH] Task merge for Service{namespace='public', group='DEFAULT_GROUP', name='app-shared', ephemeral=true, revision=8}
2025-09-22 02:22:18,808 INFO [PUSH] Task merge for Service{namespace='public', group='DEFAULT_GROUP', name='app-product', ephemeral=true, revision=7}

View File

@@ -0,0 +1,122 @@
2025-09-22 01:17:11,757 INFO [SelectorManager] Load SelectorContextBuilder(class com.alibaba.nacos.naming.selector.context.CmdbSelectorContextBuilder) contextType(CMDB) successfully.
2025-09-22 01:17:11,757 INFO [SelectorManager] Load SelectorContextBuilder(class com.alibaba.nacos.naming.selector.context.NoneSelectorContextBuilder) contextType(NONE) successfully.
2025-09-22 01:17:11,759 INFO [SelectorManager] Load Selector(class com.alibaba.nacos.naming.selector.LabelSelector) type(label) contextType(CMDB) successfully.
2025-09-22 01:17:11,759 INFO [SelectorManager] Load Selector(class com.alibaba.nacos.naming.selector.NoneSelector) type(none) contextType(NONE) successfully.
2025-09-22 01:17:16,912 INFO Load instance extension handler []
2025-09-22 01:18:14,637 INFO Client connection 192.168.31.101:1300#true connect
2025-09-22 01:18:14,667 INFO Client change for service Service{namespace='public', group='DEFAULT_GROUP', name='main-app', ephemeral=true, revision=0}, 192.168.31.101:1300#true
2025-09-22 01:18:14,695 WARN [fuzzy-watch] service change matched,service key public@@DEFAULT_GROUP@@main-app,changed type ADD_SERVICE
2025-09-22 01:44:39,496 INFO Client connection 192.168.31.101:1333#true connect
2025-09-22 01:44:39,496 INFO Client change for service Service{namespace='public', group='DEFAULT_GROUP', name='app-shared', ephemeral=true, revision=0}, 192.168.31.101:1333#true
2025-09-22 01:44:39,498 WARN [fuzzy-watch] service change matched,service key public@@DEFAULT_GROUP@@app-shared,changed type ADD_SERVICE
2025-09-22 01:44:39,574 INFO Client change for service Service{namespace='public', group='DEFAULT_GROUP', name='app-shared', ephemeral=true, revision=1}, 192.168.31.101:1333#true
2025-09-22 01:44:44,696 INFO Client connection 192.168.31.101:1301#true connect
2025-09-22 01:44:44,696 INFO Client change for service Service{namespace='public', group='DEFAULT_GROUP', name='app-product', ephemeral=true, revision=0}, 192.168.31.101:1301#true
2025-09-22 01:44:44,696 WARN [fuzzy-watch] service change matched,service key public@@DEFAULT_GROUP@@app-product,changed type ADD_SERVICE
2025-09-22 01:44:44,784 INFO Client change for service Service{namespace='public', group='DEFAULT_GROUP', name='app-product', ephemeral=true, revision=1}, 192.168.31.101:1301#true
2025-09-22 01:44:47,793 INFO Client change for service Service{namespace='public', group='DEFAULT_GROUP', name='main-app', ephemeral=true, revision=1}, 192.168.31.101:1300#true
2025-09-22 01:48:48,209 INFO Client change for service Service{namespace='public', group='DEFAULT_GROUP', name='app-shared', ephemeral=true, revision=2}, 192.168.31.101:1333#true
2025-09-22 01:48:48,289 INFO Client change for service Service{namespace='public', group='DEFAULT_GROUP', name='app-shared', ephemeral=true, revision=3}, 192.168.31.101:1333#true
2025-09-22 01:49:55,744 INFO [NamingServerHttpClientManager] Start destroying HTTP-Client
2025-09-22 01:49:55,753 INFO [NamingServerHttpClientManager] Completed destruction of HTTP-Client
2025-09-22 01:50:11,470 INFO [SelectorManager] Load SelectorContextBuilder(class com.alibaba.nacos.naming.selector.context.CmdbSelectorContextBuilder) contextType(CMDB) successfully.
2025-09-22 01:50:11,470 INFO [SelectorManager] Load SelectorContextBuilder(class com.alibaba.nacos.naming.selector.context.NoneSelectorContextBuilder) contextType(NONE) successfully.
2025-09-22 01:50:11,471 INFO [SelectorManager] Load Selector(class com.alibaba.nacos.naming.selector.LabelSelector) type(label) contextType(CMDB) successfully.
2025-09-22 01:50:11,471 INFO [SelectorManager] Load Selector(class com.alibaba.nacos.naming.selector.NoneSelector) type(none) contextType(NONE) successfully.
2025-09-22 01:50:16,662 INFO Load instance extension handler []
2025-09-22 01:50:18,404 INFO Client connection 192.168.31.101:1300#true connect
2025-09-22 01:50:18,404 INFO Client connection 192.168.31.101:1333#true connect
2025-09-22 01:50:18,431 INFO Client change for service Service{namespace='public', group='DEFAULT_GROUP', name='main-app', ephemeral=true, revision=0}, 192.168.31.101:1300#true
2025-09-22 01:50:18,432 INFO Client change for service Service{namespace='public', group='DEFAULT_GROUP', name='app-shared', ephemeral=true, revision=0}, 192.168.31.101:1333#true
2025-09-22 01:50:18,432 INFO Client change for service Service{namespace='public', group='DEFAULT_GROUP', name='app-shared', ephemeral=true, revision=0}, 192.168.31.101:1333#true
2025-09-22 01:50:18,461 WARN [fuzzy-watch] service change matched,service key public@@DEFAULT_GROUP@@app-shared,changed type ADD_SERVICE
2025-09-22 01:50:18,461 WARN [fuzzy-watch] service change matched,service key public@@DEFAULT_GROUP@@main-app,changed type ADD_SERVICE
2025-09-22 01:50:20,023 INFO Client connection 192.168.31.101:1301#true connect
2025-09-22 01:50:20,024 INFO Client change for service Service{namespace='public', group='DEFAULT_GROUP', name='app-product', ephemeral=true, revision=0}, 192.168.31.101:1301#true
2025-09-22 01:50:20,024 INFO Client change for service Service{namespace='public', group='DEFAULT_GROUP', name='app-product', ephemeral=true, revision=0}, 192.168.31.101:1301#true
2025-09-22 01:50:20,024 WARN [fuzzy-watch] service change matched,service key public@@DEFAULT_GROUP@@app-product,changed type ADD_SERVICE
2025-09-22 02:01:31,319 INFO Client connection 192.168.31.101:59690#true connect
2025-09-22 02:02:38,627 INFO Client connection 192.168.31.101:51777#true connect
2025-09-22 02:02:38,638 INFO Client change for service Service{namespace='public', group='DEFAULT_GROUP', name='main-app', ephemeral=true, revision=1}, 192.168.31.101:1300#true
2025-09-22 02:03:04,891 INFO Client connection 192.168.31.101:59690#true disconnect, remove instances and subscribers
2025-09-22 02:04:28,524 INFO Client change for service Service{namespace='public', group='DEFAULT_GROUP', name='main-app', ephemeral=true, revision=2}, 192.168.31.101:1300#true
2025-09-22 02:04:49,908 INFO Client connection 192.168.31.101:51777#true disconnect, remove instances and subscribers
2025-09-22 02:09:59,676 INFO Client change for service Service{namespace='public', group='DEFAULT_GROUP', name='app-shared', ephemeral=true, revision=2}, 192.168.31.101:1333#true
2025-09-22 02:09:59,753 INFO Client change for service Service{namespace='public', group='DEFAULT_GROUP', name='app-shared', ephemeral=true, revision=3}, 192.168.31.101:1333#true
2025-09-22 02:10:06,555 INFO Client change for service Service{namespace='public', group='DEFAULT_GROUP', name='app-product', ephemeral=true, revision=2}, 192.168.31.101:1301#true
2025-09-22 02:10:06,641 INFO Client change for service Service{namespace='public', group='DEFAULT_GROUP', name='app-product', ephemeral=true, revision=3}, 192.168.31.101:1301#true
2025-09-22 02:10:11,149 INFO Client change for service Service{namespace='public', group='DEFAULT_GROUP', name='main-app', ephemeral=true, revision=3}, 192.168.31.101:1300#true
2025-09-22 02:21:23,688 INFO [AUTO-DELETE-IP] service: Service{namespace='public', group='DEFAULT_GROUP', name='app-shared', ephemeral=true, revision=4}, ip: {"ip":"192.168.31.101","port":1333,"healthy":false,"cluster":"DEFAULT","extendDatum":{"customInstanceId":"192.168.31.101#1333#DEFAULT#DEFAULT_GROUP@@app-shared"},"lastHeartBeatTime":1758478850332,"metadataId":"192.168.31.101:1333:DEFAULT"}
2025-09-22 02:21:23,688 INFO Client remove for service Service{namespace='public', group='DEFAULT_GROUP', name='app-shared', ephemeral=true, revision=4}, 192.168.31.101:1333#true
2025-09-22 02:21:23,692 WARN [fuzzy-watch] service change matched,service key public@@DEFAULT_GROUP@@app-shared,changed type DELETE_SERVICE
2025-09-22 02:21:25,026 INFO Client connection 192.168.31.101:1333#true disconnect, remove instances and subscribers
2025-09-22 02:22:02,231 INFO Client connection 192.168.31.101:1333#true connect
2025-09-22 02:22:02,231 INFO Client change for service Service{namespace='public', group='DEFAULT_GROUP', name='app-shared', ephemeral=true, revision=5}, 192.168.31.101:1333#true
2025-09-22 02:22:02,231 WARN [fuzzy-watch] service change matched,service key public@@DEFAULT_GROUP@@app-shared,changed type ADD_SERVICE
2025-09-22 02:22:08,680 INFO Client change for service Service{namespace='public', group='DEFAULT_GROUP', name='app-shared', ephemeral=true, revision=6}, 192.168.31.101:1333#true
2025-09-22 02:22:08,768 INFO Client change for service Service{namespace='public', group='DEFAULT_GROUP', name='app-shared', ephemeral=true, revision=7}, 192.168.31.101:1333#true
2025-09-22 02:22:13,631 INFO Client change for service Service{namespace='public', group='DEFAULT_GROUP', name='app-product', ephemeral=true, revision=4}, 192.168.31.101:1301#true
2025-09-22 02:22:18,736 INFO Client change for service Service{namespace='public', group='DEFAULT_GROUP', name='app-product', ephemeral=true, revision=5}, 192.168.31.101:1301#true
2025-09-22 02:22:18,808 INFO Client change for service Service{namespace='public', group='DEFAULT_GROUP', name='app-product', ephemeral=true, revision=6}, 192.168.31.101:1301#true
2025-09-22 02:22:26,656 INFO Client change for service Service{namespace='public', group='DEFAULT_GROUP', name='main-app', ephemeral=true, revision=4}, 192.168.31.101:1300#true

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,416 @@
2025-09-22 01:17:08,887 INFO Not configure type of control plugin, no limit control for current node.
2025-09-22 01:17:08,890 INFO Load connection metrics collector,size=2,[com.alibaba.nacos.config.server.service.LongPollingConnectionMetricsCollector@75b5d09, com.alibaba.nacos.core.remote.LongConnectionMetricsCollector@4104b6a6]
2025-09-22 01:17:08,891 INFO No connection rule content found ,use default empty rule
2025-09-22 01:17:08,903 INFO No tps control rule of CONFIG_PUSH_COUNT found,content =null
2025-09-22 01:17:08,903 WARN Tps point for CONFIG_PUSH_COUNT registered, But tps control manager is no limit implementation.
2025-09-22 01:17:08,903 INFO No tps control rule of CONFIG_PUSH_SUCCESS found,content =null
2025-09-22 01:17:08,903 WARN Tps point for CONFIG_PUSH_SUCCESS registered, But tps control manager is no limit implementation.
2025-09-22 01:17:08,903 INFO No tps control rule of CONFIG_PUSH_FAIL found,content =null
2025-09-22 01:17:08,904 WARN Tps point for CONFIG_PUSH_FAIL registered, But tps control manager is no limit implementation.
2025-09-22 01:17:14,049 INFO No tps control rule of ConfigListen found,content =null
2025-09-22 01:17:14,049 WARN Tps point for ConfigListen registered, But tps control manager is no limit implementation.
2025-09-22 01:17:14,049 INFO No tps control rule of ClusterConfigChangeNotify found,content =null
2025-09-22 01:17:14,049 WARN Tps point for ClusterConfigChangeNotify registered, But tps control manager is no limit implementation.
2025-09-22 01:17:14,060 INFO No tps control rule of ConfigFuzzyWatch found,content =null
2025-09-22 01:17:14,060 WARN Tps point for ConfigFuzzyWatch registered, But tps control manager is no limit implementation.
2025-09-22 01:17:14,060 INFO No tps control rule of ConfigPublish found,content =null
2025-09-22 01:17:14,061 WARN Tps point for ConfigPublish registered, But tps control manager is no limit implementation.
2025-09-22 01:17:14,061 INFO No tps control rule of ConfigQuery found,content =null
2025-09-22 01:17:14,061 WARN Tps point for ConfigQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:17:14,061 INFO No tps control rule of ConfigRemove found,content =null
2025-09-22 01:17:14,061 WARN Tps point for ConfigRemove registered, But tps control manager is no limit implementation.
2025-09-22 01:17:14,061 INFO No tps control rule of HealthCheck found,content =null
2025-09-22 01:17:14,061 WARN Tps point for HealthCheck registered, But tps control manager is no limit implementation.
2025-09-22 01:17:14,062 INFO No tps control rule of RemoteNamingInstanceBatchRegister found,content =null
2025-09-22 01:17:14,062 WARN Tps point for RemoteNamingInstanceBatchRegister registered, But tps control manager is no limit implementation.
2025-09-22 01:17:14,062 INFO No tps control rule of RemoteNamingInstanceRegisterDeregister found,content =null
2025-09-22 01:17:14,062 WARN Tps point for RemoteNamingInstanceRegisterDeregister registered, But tps control manager is no limit implementation.
2025-09-22 01:17:14,062 WARN Tps point for RemoteNamingInstanceRegisterDeregister registered, But tps control manager is no limit implementation.
2025-09-22 01:17:14,063 INFO No tps control rule of RemoteNamingServiceListQuery found,content =null
2025-09-22 01:17:14,063 WARN Tps point for RemoteNamingServiceListQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:17:14,063 INFO No tps control rule of RemoteNamingServiceQuery found,content =null
2025-09-22 01:17:14,063 WARN Tps point for RemoteNamingServiceQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:17:14,063 INFO No tps control rule of RemoteNamingServiceSubscribeUnSubscribe found,content =null
2025-09-22 01:17:14,063 WARN Tps point for RemoteNamingServiceSubscribeUnSubscribe registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,913 INFO No tps control rule of NamingInstanceMetadataUpdate found,content =null
2025-09-22 01:17:18,913 WARN Tps point for NamingInstanceMetadataUpdate registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,913 INFO No tps control rule of NamingServiceQuery found,content =null
2025-09-22 01:17:18,914 WARN Tps point for NamingServiceQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,914 INFO No tps control rule of NamingServiceRegister found,content =null
2025-09-22 01:17:18,914 WARN Tps point for NamingServiceRegister registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,914 INFO No tps control rule of NamingServiceDeregister found,content =null
2025-09-22 01:17:18,914 WARN Tps point for NamingServiceDeregister registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,914 WARN Tps point for NamingInstanceMetadataUpdate registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,914 WARN Tps point for ConfigQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,914 WARN Tps point for ConfigPublish registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,915 INFO No tps control rule of NamingServiceUpdate found,content =null
2025-09-22 01:17:18,915 WARN Tps point for NamingServiceUpdate registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,915 INFO No tps control rule of NamingInstanceQuery found,content =null
2025-09-22 01:17:18,915 WARN Tps point for NamingInstanceQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,915 WARN Tps point for ConfigPublish registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,915 INFO No tps control rule of NamingInstanceDeregister found,content =null
2025-09-22 01:17:18,915 WARN Tps point for NamingInstanceDeregister registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,915 WARN Tps point for ConfigQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,916 WARN Tps point for NamingInstanceQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,916 INFO No tps control rule of NamingInstanceRegister found,content =null
2025-09-22 01:17:18,916 WARN Tps point for NamingInstanceRegister registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,916 WARN Tps point for NamingServiceQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,916 INFO No tps control rule of NamingServiceSubscribe found,content =null
2025-09-22 01:17:18,916 WARN Tps point for NamingServiceSubscribe registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,916 WARN Tps point for NamingServiceRegister registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,916 INFO No tps control rule of NamingInstanceUpdate found,content =null
2025-09-22 01:17:18,917 WARN Tps point for NamingInstanceUpdate registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,917 WARN Tps point for NamingInstanceMetadataUpdate registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,917 WARN Tps point for NamingInstanceDeregister registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,917 WARN Tps point for NamingInstanceQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,917 WARN Tps point for NamingInstanceMetadataUpdate registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,917 WARN Tps point for NamingInstanceUpdate registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,917 WARN Tps point for NamingInstanceMetadataUpdate registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,917 WARN Tps point for NamingInstanceDeregister registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,917 WARN Tps point for NamingServiceSubscribe registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,917 WARN Tps point for NamingServiceDeregister registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,917 WARN Tps point for NamingServiceUpdate registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,918 WARN Tps point for NamingInstanceRegister registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,918 WARN Tps point for NamingInstanceUpdate registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,918 WARN Tps point for NamingInstanceMetadataUpdate registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,918 WARN Tps point for NamingInstanceDeregister registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,918 INFO No tps control rule of NamingServiceListQuery found,content =null
2025-09-22 01:17:18,918 WARN Tps point for NamingServiceListQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,918 WARN Tps point for NamingServiceListQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,918 WARN Tps point for NamingInstanceRegister registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,918 WARN Tps point for NamingServiceQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,918 WARN Tps point for NamingServiceDeregister registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,918 WARN Tps point for ConfigQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,919 WARN Tps point for NamingServiceRegister registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,919 WARN Tps point for NamingServiceSubscribe registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,919 WARN Tps point for NamingServiceSubscribe registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,919 INFO No tps control rule of HttpHealthCheck found,content =null
2025-09-22 01:17:18,919 WARN Tps point for HttpHealthCheck registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,919 WARN Tps point for HttpHealthCheck registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,919 WARN Tps point for NamingServiceListQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,919 WARN Tps point for NamingInstanceRegister registered, But tps control manager is no limit implementation.
2025-09-22 01:17:18,919 WARN Tps point for NamingServiceUpdate registered, But tps control manager is no limit implementation.
2025-09-22 01:50:08,764 INFO Not configure type of control plugin, no limit control for current node.
2025-09-22 01:50:08,768 INFO Load connection metrics collector,size=2,[com.alibaba.nacos.config.server.service.LongPollingConnectionMetricsCollector@3e02988, com.alibaba.nacos.core.remote.LongConnectionMetricsCollector@34c3e307]
2025-09-22 01:50:08,769 INFO No connection rule content found ,use default empty rule
2025-09-22 01:50:08,780 INFO No tps control rule of CONFIG_PUSH_COUNT found,content =null
2025-09-22 01:50:08,780 WARN Tps point for CONFIG_PUSH_COUNT registered, But tps control manager is no limit implementation.
2025-09-22 01:50:08,780 INFO No tps control rule of CONFIG_PUSH_SUCCESS found,content =null
2025-09-22 01:50:08,780 WARN Tps point for CONFIG_PUSH_SUCCESS registered, But tps control manager is no limit implementation.
2025-09-22 01:50:08,780 INFO No tps control rule of CONFIG_PUSH_FAIL found,content =null
2025-09-22 01:50:08,780 WARN Tps point for CONFIG_PUSH_FAIL registered, But tps control manager is no limit implementation.
2025-09-22 01:50:13,909 INFO No tps control rule of ConfigListen found,content =null
2025-09-22 01:50:13,910 WARN Tps point for ConfigListen registered, But tps control manager is no limit implementation.
2025-09-22 01:50:13,910 INFO No tps control rule of ClusterConfigChangeNotify found,content =null
2025-09-22 01:50:13,910 WARN Tps point for ClusterConfigChangeNotify registered, But tps control manager is no limit implementation.
2025-09-22 01:50:13,921 INFO No tps control rule of ConfigFuzzyWatch found,content =null
2025-09-22 01:50:13,921 WARN Tps point for ConfigFuzzyWatch registered, But tps control manager is no limit implementation.
2025-09-22 01:50:13,921 INFO No tps control rule of ConfigPublish found,content =null
2025-09-22 01:50:13,921 WARN Tps point for ConfigPublish registered, But tps control manager is no limit implementation.
2025-09-22 01:50:13,922 INFO No tps control rule of ConfigQuery found,content =null
2025-09-22 01:50:13,922 WARN Tps point for ConfigQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:50:13,922 INFO No tps control rule of ConfigRemove found,content =null
2025-09-22 01:50:13,922 WARN Tps point for ConfigRemove registered, But tps control manager is no limit implementation.
2025-09-22 01:50:13,922 INFO No tps control rule of HealthCheck found,content =null
2025-09-22 01:50:13,922 WARN Tps point for HealthCheck registered, But tps control manager is no limit implementation.
2025-09-22 01:50:13,922 INFO No tps control rule of RemoteNamingInstanceBatchRegister found,content =null
2025-09-22 01:50:13,922 WARN Tps point for RemoteNamingInstanceBatchRegister registered, But tps control manager is no limit implementation.
2025-09-22 01:50:13,923 INFO No tps control rule of RemoteNamingInstanceRegisterDeregister found,content =null
2025-09-22 01:50:13,923 WARN Tps point for RemoteNamingInstanceRegisterDeregister registered, But tps control manager is no limit implementation.
2025-09-22 01:50:13,923 WARN Tps point for RemoteNamingInstanceRegisterDeregister registered, But tps control manager is no limit implementation.
2025-09-22 01:50:13,923 INFO No tps control rule of RemoteNamingServiceListQuery found,content =null
2025-09-22 01:50:13,923 WARN Tps point for RemoteNamingServiceListQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:50:13,923 INFO No tps control rule of RemoteNamingServiceQuery found,content =null
2025-09-22 01:50:13,923 WARN Tps point for RemoteNamingServiceQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:50:13,923 INFO No tps control rule of RemoteNamingServiceSubscribeUnSubscribe found,content =null
2025-09-22 01:50:13,924 WARN Tps point for RemoteNamingServiceSubscribeUnSubscribe registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,505 INFO No tps control rule of NamingInstanceRegister found,content =null
2025-09-22 01:50:17,505 WARN Tps point for NamingInstanceRegister registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,505 INFO No tps control rule of NamingInstanceQuery found,content =null
2025-09-22 01:50:17,505 WARN Tps point for NamingInstanceQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,506 INFO No tps control rule of NamingServiceListQuery found,content =null
2025-09-22 01:50:17,506 WARN Tps point for NamingServiceListQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,506 INFO No tps control rule of NamingInstanceMetadataUpdate found,content =null
2025-09-22 01:50:17,506 WARN Tps point for NamingInstanceMetadataUpdate registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,506 INFO No tps control rule of NamingInstanceUpdate found,content =null
2025-09-22 01:50:17,506 WARN Tps point for NamingInstanceUpdate registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,506 WARN Tps point for NamingInstanceMetadataUpdate registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,506 INFO No tps control rule of NamingServiceDeregister found,content =null
2025-09-22 01:50:17,506 WARN Tps point for NamingServiceDeregister registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,506 WARN Tps point for NamingInstanceMetadataUpdate registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,507 INFO No tps control rule of NamingServiceRegister found,content =null
2025-09-22 01:50:17,507 WARN Tps point for NamingServiceRegister registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,507 INFO No tps control rule of NamingServiceSubscribe found,content =null
2025-09-22 01:50:17,507 WARN Tps point for NamingServiceSubscribe registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,507 INFO No tps control rule of NamingServiceUpdate found,content =null
2025-09-22 01:50:17,507 WARN Tps point for NamingServiceUpdate registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,508 WARN Tps point for NamingInstanceUpdate registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,508 WARN Tps point for NamingInstanceMetadataUpdate registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,508 WARN Tps point for ConfigPublish registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,508 WARN Tps point for NamingInstanceUpdate registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,508 INFO No tps control rule of HttpHealthCheck found,content =null
2025-09-22 01:50:17,508 WARN Tps point for HttpHealthCheck registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,508 WARN Tps point for NamingServiceSubscribe registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,509 WARN Tps point for NamingServiceSubscribe registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,509 INFO No tps control rule of NamingServiceQuery found,content =null
2025-09-22 01:50:17,509 WARN Tps point for NamingServiceQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,509 WARN Tps point for ConfigPublish registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,509 INFO No tps control rule of NamingInstanceDeregister found,content =null
2025-09-22 01:50:17,509 WARN Tps point for NamingInstanceDeregister registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,509 WARN Tps point for NamingInstanceQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,509 WARN Tps point for ConfigQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,509 WARN Tps point for NamingServiceRegister registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,509 WARN Tps point for NamingInstanceDeregister registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,509 WARN Tps point for ConfigQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,509 WARN Tps point for NamingServiceDeregister registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,510 WARN Tps point for NamingInstanceRegister registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,510 WARN Tps point for NamingInstanceDeregister registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,510 WARN Tps point for NamingServiceQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,510 WARN Tps point for NamingServiceUpdate registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,510 WARN Tps point for NamingInstanceMetadataUpdate registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,510 WARN Tps point for NamingInstanceDeregister registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,510 WARN Tps point for NamingInstanceMetadataUpdate registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,510 WARN Tps point for NamingInstanceRegister registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,510 WARN Tps point for NamingServiceRegister registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,510 WARN Tps point for NamingInstanceQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,510 WARN Tps point for NamingServiceListQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,510 WARN Tps point for HttpHealthCheck registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,510 WARN Tps point for NamingInstanceRegister registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,510 WARN Tps point for NamingServiceSubscribe registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,510 WARN Tps point for NamingServiceDeregister registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,511 WARN Tps point for NamingServiceQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,511 WARN Tps point for ConfigQuery registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,511 WARN Tps point for NamingServiceUpdate registered, But tps control manager is no limit implementation.
2025-09-22 01:50:17,511 WARN Tps point for NamingServiceListQuery registered, But tps control manager is no limit implementation.
2025-09-22 02:01:31,907 INFO No tps control rule of NAMING_RPC_PUSH found,content =null
2025-09-22 02:01:31,908 WARN Tps point for NAMING_RPC_PUSH registered, But tps control manager is no limit implementation.
2025-09-22 02:01:31,908 INFO No tps control rule of NAMING_RPC_PUSH_SUCCESS found,content =null
2025-09-22 02:01:31,908 WARN Tps point for NAMING_RPC_PUSH_SUCCESS registered, But tps control manager is no limit implementation.
2025-09-22 02:01:31,908 INFO No tps control rule of NAMING_RPC_PUSH_FAIL found,content =null
2025-09-22 02:01:31,908 WARN Tps point for NAMING_RPC_PUSH_FAIL registered, But tps control manager is no limit implementation.
2025-09-22 02:01:31,908 INFO No tps control rule of NAMING_UDP_PUSH found,content =null
2025-09-22 02:01:31,908 WARN Tps point for NAMING_UDP_PUSH registered, But tps control manager is no limit implementation.
2025-09-22 02:01:31,909 INFO No tps control rule of NAMING_UDP_PUSH_SUCCESS found,content =null
2025-09-22 02:01:31,909 WARN Tps point for NAMING_UDP_PUSH_SUCCESS registered, But tps control manager is no limit implementation.
2025-09-22 02:01:31,909 INFO No tps control rule of NAMING_UDP_PUSH_FAIL found,content =null
2025-09-22 02:01:31,909 WARN Tps point for NAMING_UDP_PUSH_FAIL registered, But tps control manager is no limit implementation.
2025-09-22 02:01:31,909 INFO No tps control rule of NAMING_DISTRO_SYNC found,content =null
2025-09-22 02:01:31,909 WARN Tps point for NAMING_DISTRO_SYNC registered, But tps control manager is no limit implementation.
2025-09-22 02:01:31,909 INFO No tps control rule of NAMING_DISTRO_SYNC_SUCCESS found,content =null
2025-09-22 02:01:31,909 WARN Tps point for NAMING_DISTRO_SYNC_SUCCESS registered, But tps control manager is no limit implementation.
2025-09-22 02:01:31,909 INFO No tps control rule of NAMING_DISTRO_SYNC_FAIL found,content =null
2025-09-22 02:01:31,909 WARN Tps point for NAMING_DISTRO_SYNC_FAIL registered, But tps control manager is no limit implementation.
2025-09-22 02:01:31,909 INFO No tps control rule of NAMING_DISTRO_VERIFY found,content =null
2025-09-22 02:01:31,909 WARN Tps point for NAMING_DISTRO_VERIFY registered, But tps control manager is no limit implementation.
2025-09-22 02:01:31,909 INFO No tps control rule of NAMING_DISTRO_VERIFY_SUCCESS found,content =null
2025-09-22 02:01:31,909 WARN Tps point for NAMING_DISTRO_VERIFY_SUCCESS registered, But tps control manager is no limit implementation.
2025-09-22 02:01:31,909 INFO No tps control rule of NAMING_DISTRO_VERIFY_FAIL found,content =null
2025-09-22 02:01:31,909 WARN Tps point for NAMING_DISTRO_VERIFY_FAIL registered, But tps control manager is no limit implementation.

View File

@@ -0,0 +1,96 @@
2025-09-22 01:49:55,891 ERROR [TASK-FAILED] java.lang.InterruptedException
java.lang.InterruptedException: null
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1645)
at java.base/java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:420)
at com.alibaba.nacos.common.task.engine.TaskExecuteWorker$InnerWorker.run(TaskExecuteWorker.java:118)
2025-09-22 01:49:55,891 ERROR [TASK-FAILED] java.lang.InterruptedException
java.lang.InterruptedException: null
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1645)
at java.base/java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:420)
at com.alibaba.nacos.common.task.engine.TaskExecuteWorker$InnerWorker.run(TaskExecuteWorker.java:118)
2025-09-22 01:49:55,891 ERROR [TASK-FAILED] java.lang.InterruptedException
java.lang.InterruptedException: null
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1645)
at java.base/java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:420)
at com.alibaba.nacos.common.task.engine.TaskExecuteWorker$InnerWorker.run(TaskExecuteWorker.java:118)
2025-09-22 01:49:55,891 ERROR [TASK-FAILED] java.lang.InterruptedException
java.lang.InterruptedException: null
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1645)
at java.base/java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:420)
at com.alibaba.nacos.common.task.engine.TaskExecuteWorker$InnerWorker.run(TaskExecuteWorker.java:118)
2025-09-22 01:49:55,891 ERROR [TASK-FAILED] java.lang.InterruptedException
java.lang.InterruptedException: null
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1645)
at java.base/java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:420)
at com.alibaba.nacos.common.task.engine.TaskExecuteWorker$InnerWorker.run(TaskExecuteWorker.java:118)
2025-09-22 01:49:55,891 ERROR [TASK-FAILED] java.lang.InterruptedException
java.lang.InterruptedException: null
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1645)
at java.base/java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:420)
at com.alibaba.nacos.common.task.engine.TaskExecuteWorker$InnerWorker.run(TaskExecuteWorker.java:118)
2025-09-22 01:49:55,891 ERROR [TASK-FAILED] java.lang.InterruptedException
java.lang.InterruptedException: null
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1645)
at java.base/java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:420)
at com.alibaba.nacos.common.task.engine.TaskExecuteWorker$InnerWorker.run(TaskExecuteWorker.java:118)
2025-09-22 01:49:55,891 ERROR [TASK-FAILED] java.lang.InterruptedException
java.lang.InterruptedException: null
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1645)
at java.base/java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:420)
at com.alibaba.nacos.common.task.engine.TaskExecuteWorker$InnerWorker.run(TaskExecuteWorker.java:118)
2025-09-22 01:49:55,891 ERROR [TASK-FAILED] java.lang.InterruptedException
java.lang.InterruptedException: null
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1645)
at java.base/java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:420)
at com.alibaba.nacos.common.task.engine.TaskExecuteWorker$InnerWorker.run(TaskExecuteWorker.java:118)
2025-09-22 01:49:55,891 ERROR [TASK-FAILED] java.lang.InterruptedException
java.lang.InterruptedException: null
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1645)
at java.base/java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:420)
at com.alibaba.nacos.common.task.engine.TaskExecuteWorker$InnerWorker.run(TaskExecuteWorker.java:118)
2025-09-22 01:49:55,891 ERROR [TASK-FAILED] java.lang.InterruptedException
java.lang.InterruptedException: null
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1645)
at java.base/java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:420)
at com.alibaba.nacos.common.task.engine.TaskExecuteWorker$InnerWorker.run(TaskExecuteWorker.java:118)
2025-09-22 01:49:55,891 ERROR [TASK-FAILED] java.lang.InterruptedException
java.lang.InterruptedException: null
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1645)
at java.base/java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:420)
at com.alibaba.nacos.common.task.engine.TaskExecuteWorker$InnerWorker.run(TaskExecuteWorker.java:118)
2025-09-22 01:49:55,892 ERROR [TASK-FAILED] java.lang.InterruptedException
java.lang.InterruptedException: null
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1645)
at java.base/java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:420)
at com.alibaba.nacos.common.task.engine.TaskExecuteWorker$InnerWorker.run(TaskExecuteWorker.java:118)
2025-09-22 01:49:55,891 ERROR [TASK-FAILED] java.lang.InterruptedException
java.lang.InterruptedException: null
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1645)
at java.base/java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:420)
at com.alibaba.nacos.common.task.engine.TaskExecuteWorker$InnerWorker.run(TaskExecuteWorker.java:118)
2025-09-22 01:49:55,892 ERROR [TASK-FAILED] java.lang.InterruptedException
java.lang.InterruptedException: null
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1645)
at java.base/java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:420)
at com.alibaba.nacos.common.task.engine.TaskExecuteWorker$InnerWorker.run(TaskExecuteWorker.java:118)
2025-09-22 01:49:55,892 ERROR [TASK-FAILED] java.lang.InterruptedException
java.lang.InterruptedException: null
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1645)
at java.base/java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:420)
at com.alibaba.nacos.common.task.engine.TaskExecuteWorker$InnerWorker.run(TaskExecuteWorker.java:118)

View File

@@ -0,0 +1,58 @@
2025-09-22 01:17:09,707 INFO Initializes the Raft protocol, raft-config info : {"data":{},"members":["d97c29d750b4:7848"],"strictMode":false,"selfMember":"d97c29d750b4:7848"}
2025-09-22 01:17:10,255 INFO ========= The raft protocol is starting... =========
2025-09-22 01:17:10,299 INFO ========= The raft protocol start finished... =========
2025-09-22 01:17:10,366 INFO create raft group : naming_persistent_service_v2
2025-09-22 01:17:11,021 INFO This Raft event changes : RaftEvent{groupId='naming_persistent_service_v2', leader='d97c29d750b4:7848', term=1, raftClusterInfo=[d97c29d750b4:7848]}
2025-09-22 01:17:11,050 INFO create raft group : naming_persistent_service
2025-09-22 01:17:11,232 INFO This Raft event changes : RaftEvent{groupId='naming_persistent_service', leader='d97c29d750b4:7848', term=1, raftClusterInfo=[d97c29d750b4:7848]}
2025-09-22 01:17:11,273 INFO create raft group : naming_instance_metadata
2025-09-22 01:17:11,413 INFO This Raft event changes : RaftEvent{groupId='naming_instance_metadata', leader='d97c29d750b4:7848', term=1, raftClusterInfo=[d97c29d750b4:7848]}
2025-09-22 01:17:11,414 INFO create raft group : naming_service_metadata
2025-09-22 01:17:11,553 INFO This Raft event changes : RaftEvent{groupId='naming_service_metadata', leader='d97c29d750b4:7848', term=1, raftClusterInfo=[d97c29d750b4:7848]}
2025-09-22 01:17:11,934 INFO create raft group : lock_acquire_service_v2
2025-09-22 01:17:12,299 INFO This Raft event changes : RaftEvent{groupId='lock_acquire_service_v2', leader='d97c29d750b4:7848', term=1, raftClusterInfo=[d97c29d750b4:7848]}
2025-09-22 01:49:55,804 INFO shutdown jraft server
2025-09-22 01:49:55,805 INFO ========= The raft protocol is starting to close =========
2025-09-22 01:49:55,889 INFO ========= The raft protocol has been closed =========
2025-09-22 01:50:09,862 INFO Initializes the Raft protocol, raft-config info : {"data":{},"members":["8e5a20eec60e:7848"],"strictMode":false,"selfMember":"8e5a20eec60e:7848"}
2025-09-22 01:50:10,185 INFO ========= The raft protocol is starting... =========
2025-09-22 01:50:10,232 INFO ========= The raft protocol start finished... =========
2025-09-22 01:50:10,298 INFO create raft group : naming_persistent_service_v2
2025-09-22 01:50:10,877 INFO This Raft event changes : RaftEvent{groupId='naming_persistent_service_v2', leader='8e5a20eec60e:7848', term=1, raftClusterInfo=[8e5a20eec60e:7848]}
2025-09-22 01:50:10,888 INFO create raft group : naming_persistent_service
2025-09-22 01:50:10,988 INFO This Raft event changes : RaftEvent{groupId='naming_persistent_service', leader='8e5a20eec60e:7848', term=1, raftClusterInfo=[8e5a20eec60e:7848]}
2025-09-22 01:50:11,019 INFO create raft group : naming_instance_metadata
2025-09-22 01:50:11,142 INFO create raft group : naming_service_metadata
2025-09-22 01:50:11,144 INFO This Raft event changes : RaftEvent{groupId='naming_instance_metadata', leader='8e5a20eec60e:7848', term=1, raftClusterInfo=[8e5a20eec60e:7848]}
2025-09-22 01:50:11,275 INFO This Raft event changes : RaftEvent{groupId='naming_service_metadata', leader='8e5a20eec60e:7848', term=1, raftClusterInfo=[8e5a20eec60e:7848]}
2025-09-22 01:50:11,614 INFO create raft group : lock_acquire_service_v2
2025-09-22 01:50:11,860 INFO This Raft event changes : RaftEvent{groupId='lock_acquire_service_v2', leader='8e5a20eec60e:7848', term=1, raftClusterInfo=[8e5a20eec60e:7848]}

View File

@@ -0,0 +1,76 @@
2025-09-22 01:17:08,832 INFO [ClientConnectionEventListenerRegistry] registry listener - ConfigConnectionEventListener
2025-09-22 01:17:09,113 INFO Nacos GrpcSdkServer Rpc server starting at port 9848
2025-09-22 01:17:09,369 INFO Load ProtocolNegotiatorBuilder com.alibaba.nacos.core.remote.grpc.negotiator.tls.SdkDefaultTlsProtocolNegotiatorBuilder for type DEFAULT_TLS
2025-09-22 01:17:09,369 INFO Load ProtocolNegotiatorBuilder com.alibaba.nacos.core.remote.grpc.negotiator.tls.ClusterDefaultTlsProtocolNegotiatorBuilder for type CLUSTER_DEFAULT_TLS
2025-09-22 01:17:09,370 WARN Not found ProtocolNegotiatorBuilder for type nacos.remote.server.rpc.protocol.negotiator.type, will use default type nacos.remote.server.rpc.protocol.negotiator.type
2025-09-22 01:17:09,374 WARN Recommended use 'nacos.remote.server.grpc.sdk.max-inbound-message-size' property instead 'nacos.remote.server.grpc.maxinbound.message.size', now property value is 10485760
2025-09-22 01:17:09,530 INFO Ssl Context auto refresh is not supported.
2025-09-22 01:17:09,530 INFO Ssl Context auto refresh is not supported.
2025-09-22 01:17:09,530 INFO RpcServerSslContextRefresher initialization completed.
2025-09-22 01:17:09,531 INFO Nacos GrpcSdkServer Rpc server started at port 9848
2025-09-22 01:17:09,536 INFO Nacos GrpcClusterServer Rpc server starting at port 9849
2025-09-22 01:17:09,538 WARN Not found ProtocolNegotiatorBuilder for type nacos.remote.cluster.server.rpc.protocol.negotiator.type, will use default type nacos.remote.cluster.server.rpc.protocol.negotiator.type
2025-09-22 01:17:09,539 WARN Recommended use 'nacos.remote.server.grpc.cluster.max-inbound-message-size' property instead 'nacos.remote.server.grpc.maxinbound.message.size', now property value is 10485760
2025-09-22 01:17:09,540 INFO Nacos GrpcClusterServer Rpc server started at port 9849
2025-09-22 01:17:09,548 INFO [ClientConnectionEventListenerRegistry] registry listener - RpcAckCallbackInitorOrCleaner
2025-09-22 01:17:09,611 INFO [ClientConnectionEventListenerRegistry] registry listener - ConnectionBasedClientManager
2025-09-22 01:17:11,916 INFO [ClientConnectionEventListenerRegistry] registry listener - AiConnectionBasedClientManager
2025-09-22 01:49:55,739 INFO Nacos GrpcClusterServer Rpc server stopping
2025-09-22 01:49:55,739 INFO Nacos GrpcSdkServer Rpc server stopping
2025-09-22 01:49:55,752 INFO Nacos GrpcSdkServer Rpc server stopped successfully...
2025-09-22 01:49:55,752 INFO Nacos GrpcClusterServer Rpc server stopped successfully...
2025-09-22 01:50:08,694 INFO [ClientConnectionEventListenerRegistry] registry listener - ConfigConnectionEventListener
2025-09-22 01:50:08,990 INFO Nacos GrpcSdkServer Rpc server starting at port 9848
2025-09-22 01:50:09,541 INFO Load ProtocolNegotiatorBuilder com.alibaba.nacos.core.remote.grpc.negotiator.tls.SdkDefaultTlsProtocolNegotiatorBuilder for type DEFAULT_TLS
2025-09-22 01:50:09,541 INFO Load ProtocolNegotiatorBuilder com.alibaba.nacos.core.remote.grpc.negotiator.tls.ClusterDefaultTlsProtocolNegotiatorBuilder for type CLUSTER_DEFAULT_TLS
2025-09-22 01:50:09,542 WARN Not found ProtocolNegotiatorBuilder for type nacos.remote.server.rpc.protocol.negotiator.type, will use default type nacos.remote.server.rpc.protocol.negotiator.type
2025-09-22 01:50:09,547 WARN Recommended use 'nacos.remote.server.grpc.sdk.max-inbound-message-size' property instead 'nacos.remote.server.grpc.maxinbound.message.size', now property value is 10485760
2025-09-22 01:50:09,682 INFO Ssl Context auto refresh is not supported.
2025-09-22 01:50:09,682 INFO Ssl Context auto refresh is not supported.
2025-09-22 01:50:09,683 INFO RpcServerSslContextRefresher initialization completed.
2025-09-22 01:50:09,683 INFO Nacos GrpcSdkServer Rpc server started at port 9848
2025-09-22 01:50:09,689 INFO Nacos GrpcClusterServer Rpc server starting at port 9849
2025-09-22 01:50:09,690 WARN Not found ProtocolNegotiatorBuilder for type nacos.remote.cluster.server.rpc.protocol.negotiator.type, will use default type nacos.remote.cluster.server.rpc.protocol.negotiator.type
2025-09-22 01:50:09,691 WARN Recommended use 'nacos.remote.server.grpc.cluster.max-inbound-message-size' property instead 'nacos.remote.server.grpc.maxinbound.message.size', now property value is 10485760
2025-09-22 01:50:09,693 INFO Nacos GrpcClusterServer Rpc server started at port 9849
2025-09-22 01:50:09,706 INFO [ClientConnectionEventListenerRegistry] registry listener - RpcAckCallbackInitorOrCleaner
2025-09-22 01:50:09,772 INFO [ClientConnectionEventListenerRegistry] registry listener - ConnectionBasedClientManager
2025-09-22 01:50:11,599 INFO [ClientConnectionEventListenerRegistry] registry listener - AiConnectionBasedClientManager

View File

@@ -0,0 +1,24 @@
version: '3.8'
services:
traefik:
image: traefik:v3.0
container_name: traefik
network_mode: "host" # 主机网络模式
volumes:
- ./traefik.yml:/etc/traefik/traefik.yml
- ./dynamic.yml:/etc/traefik/dynamic.yml # 动态配置文件
restart: always
# 2. Nacos 服务监听脚本
nacos-watcher:
user: "root"
privileged: true
image: node:24.8.0-alpine3.21
container_name: nacos-watcher
network_mode: "host"
working_dir: /app
volumes:
- ./:/app # 挂载当前目录到容器
command: sh -c "npm install && node nacos-watcher.js"
restart: always

View File

@@ -0,0 +1,68 @@
http:
routers:
main-app-router:
rule: PathPrefix(`/main-app`)
service: main-app-service
entryPoints:
- web
middlewares:
- compress
- ipWhiteList
- rateLimit
- retries
app-product-router:
rule: PathPrefix(`/app-product`)
service: app-product-service
entryPoints:
- web
middlewares:
- compress
- ipWhiteList
- rateLimit
- retries
app-shared-router:
rule: PathPrefix(`/app-shared`)
service: app-shared-service
entryPoints:
- web
middlewares:
- compress
- ipWhiteList
- rateLimit
- retries
services:
main-app-service:
loadBalancer:
servers:
- url: http://192.168.31.101:1300
app-product-service:
loadBalancer:
servers:
- url: http://192.168.31.101:1301
app-shared-service:
loadBalancer:
servers:
- url: http://192.168.31.101:1333
middlewares:
rateLimit:
rateLimit:
average: 100
burst: 200
period: 1s
sourceCriterion:
ipStrategy:
depth: 2
compress:
compress:
excludedContentTypes:
- text/event-stream
minResponseBodyBytes: 1024
ipWhiteList:
ipWhiteList:
sourceRange:
- 127.0.0.1/32
- 192.168.31.0/24
retries:
retry:
attempts: 3
initialInterval: 200ms

View File

@@ -0,0 +1,133 @@
const axios = require('axios');
const fs = require('fs');
const path = require('path');
const yaml = require('js-yaml');
// 配置
const NACOS_SERVER = 'http://192.168.31.101:8848'; // 你的 Nacos 地址
const NAMESPACE = 'public';
const SERVICES = ['main-app', 'app-product', 'app-shared']; // 三个模块的服务名
const TRAEFIK_DYNAMIC_CONFIG = path.join(__dirname, './dynamic.yml');
const CHECK_INTERVAL = 5000; // 10秒检查一次服务变化
console.log('配置文件路径:', TRAEFIK_DYNAMIC_CONFIG);
if (!TRAEFIK_DYNAMIC_CONFIG) {
throw new Error('配置文件路径生成失败,路径为空');
}
// 通用中间件配置(可根据服务特性调整)
const commonMiddlewares = {
// 限流中间件(独立配置,关键修复)
rateLimit: {
rateLimit: {
average: 100,
burst: 200,
period: '1s',
sourceCriterion: {
ipStrategy: {depth: 2}
}
}
},
// 压缩中间件
compress: {
compress: {
excludedContentTypes: ['text/event-stream'],
minResponseBodyBytes: 1024
}
},
// IP白名单中间件示例允许本地和192.168.31网段)
ipWhiteList: {
ipWhiteList: {
sourceRange: ['127.0.0.1/32', '192.168.31.0/24']
}
},
// // 重定向中间件HTTP→HTTPS
// redirectToHttps: {
// redirectScheme: {
// scheme: 'https',
// permanent: true
// }
// },
// 重试中间件(关键修复:将重试配置移到这里)
retries: {
retry: {
attempts: 3,
initialInterval: '200ms'
}
}
};
// 从 Nacos 获取服务实例
async function getServiceInstances(serviceName) {
try {
const res = await axios.get(`${NACOS_SERVER}/nacos/v1/ns/instance/list`, {
params: {serviceName, namespaceId: NAMESPACE},
});
return res.data.hosts || [];
} catch (err) {
console.error(`获取 ${serviceName} 实例失败:`, err.message);
return [];
}
}
// 生成 traefik 动态配置
async function generateTraefikConfig() {
const config = {
http: {
routers: {},
services: {},
middlewares: commonMiddlewares
}
};
for (const serviceName of SERVICES) {
const instances = await getServiceInstances(serviceName);
if (instances.length === 0) {
console.warn(`服务 ${serviceName} 无可用实例`);
continue;
}
// 1. 配置服务(服务名 + 实例列表)
config.http.services[`${serviceName}-service`] = {
loadBalancer: {
servers: instances.map(inst => ({
url: `http://${inst.ip}:${inst.port}`,
})),
// 熔断配置
// healthCheck: {
// path: '/health', // 假设服务有健康检查接口
// interval: '30s',
// timeout: '5s',
// unhealthyThreshold: 3,
// healthyThreshold: 2
// }
}
};
// 2. 配置路由(路径前缀 + 绑定服务)
config.http.routers[`${serviceName}-router`] = {
rule: `PathPrefix(\`/${serviceName}\`)`, // 如 /main、/product
service: `${serviceName}-service`,
entryPoints: ['web'],
// 应用中间件压缩、IP白名单、限流、重试等
middlewares: ['compress', 'ipWhiteList', 'rateLimit', 'retries'],
};
}
// 将对象转换为 YAML 字符串
const yamlString = yaml.dump(config, {
indent: 2, // 缩进空格数
skipInvalid: true, // 跳过无效类型
noRefs: true // 禁止引用(防止循环引用问题)
});
console.log("yamlString: ", yamlString)
// 写入动态配置文件
fs.writeFileSync(TRAEFIK_DYNAMIC_CONFIG, yamlString, "utf8");
console.log('动态配置已更新');
}
// 定时检查并更新配置
setInterval(generateTraefikConfig, CHECK_INTERVAL);
// 立即执行一次
generateTraefikConfig();

View File

@@ -0,0 +1,15 @@
{
"name": "traefik",
"version": "1.0.0",
"description": "",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"axios": "^1.6.8",
"js-yaml": "^4.1.0"
},
"keywords": [],
"author": "",
"license": "ISC"
}

View File

@@ -0,0 +1,16 @@
# 启用 Dashboard
api:
dashboard: true
insecure: true # 开发环境允许HTTP访问
# 入口点配置
entryPoints:
web:
address: ":80" # 监听80端口Web 流量
# 服务发现与配置源(关键:子项缩进必须一致)
providers:
# 动态路由规则文件
file:
filename: "/etc/traefik/dynamic.yml"
watch: true # 自动监听文件变化

View File

View File

@@ -0,0 +1,21 @@
# Nacos 配置中心ip:端口
VITE_NACOS_ADDRESS=192.168.31.101:8848
# traefik 网关的地址
VITE_TRAEFIK_ADDRESS=192.168.31.101
# 注册到 Nacos 的服务名称(微前端模块名称
VITE_SERVER_NAME=app-product
# 注册到 Nacos 的端口,也是前端运行的端口
VITE_SERVER_PORT=1301
#
# 说明:项目要调用哪些 微前端 模块
# 格式VITE_MODEL_XXXX_NAME=微前端模块名称(模块 的 开发者提供)
# 作用通过名称从Nacos配置中心发现模块地址和端口给 federation 实时加载
#
# shared 共享资源模块
VITE_MODEL_SHARED_NAME=app-shared

View File

@@ -14,7 +14,7 @@
"type-check": "vue-tsc --build"
},
"dependencies": {
"nacos-federation": "^1.0.2",
"nacos-federation": "link:../nacos-federation",
"pinia": "^3.0.3",
"vue": "^3.5.21",
"vue-router": "^4.5.1"

View File

@@ -1,13 +1,13 @@
import {Product} from "@domains/product/domain/entities/Product.ts";
import {ProductType} from "@domains/product/domain/type/ProductType.ts";
import {ProductRepository} from "@domains/product/ports/repositories/ProductRepository";
import {http} from "shared/infra";
import { Product } from "@domains/product/domain/entities/Product.ts";
import { ProductType } from "@domains/product/domain/type/ProductType.ts";
import { ProductRepository } from "@domains/product/ports/repositories/ProductRepository";
import { http } from "shared/infra";
import HttpConfig from "../config/HttpConfig";
/**
* HTTP商品仓储实现 - 实现商品数据的HTTP访问
* 这是基础设施层,负责具体的数据获取实现
* 这是基础设施层,负责具体的数据获取实现
*/
export class HttpProductRepository implements ProductRepository {

View File

@@ -1,4 +1,4 @@
import { defineConfig } from 'vite';
import { defineConfig, loadEnv } from 'vite';
import vue from '@vitejs/plugin-vue';
import vueJsx from '@vitejs/plugin-vue-jsx'
import vueDevTools from 'vite-plugin-vue-devtools'
@@ -7,26 +7,30 @@ import { fileURLToPath, URL } from "node:url";
import { nacosServiceManage } from "nacos-federation";
export default defineConfig(async () => {
const client = new nacosServiceManage({
serverList: '192.168.31.100:8848',
serviceName: 'app-product',
port: 1301
})
const sharedUrl = await client.find("app-shared")
export default defineConfig(async ({ mode }) => {
const env = loadEnv(mode, process.cwd());
await nacosServiceManage.create({
serverList: env.VITE_NACOS_ADDRESS,
serviceName: env.VITE_SERVER_NAME,
port: Number(env.VITE_SERVER_PORT)
});
// const sharedUrl = await nacos.find(env.VITE_MODEL_SHARED_NAME)
return {
base: `/${ env.VITE_SERVER_NAME }/`,
server: {
port: 1301,
port: Number(env.VITE_SERVER_PORT),
host: '0.0.0.0',
strictPort: true,
cors: true
},
plugins: [
federation({
name: 'product',
name: env.VITE_SERVER_NAME,
remotes: {
shared: `${ sharedUrl }/assets/remoteEntry.js`
shared: `http://${ env.VITE_TRAEFIK_ADDRESS }/${ env.VITE_MODEL_SHARED_NAME }/assets/remoteEntry.js`
},
exposes: { // 暴露给主应用的资源(按功能分组)
'./ProductDomain': './src/domains/product/index.ts', // 领域层(实体、服务、接口等)

View File

View File

@@ -0,0 +1,8 @@
# Nacos 配置中心ip:端口
VITE_NACOS_ADDRESS=192.168.31.101:8848
# 注册到 Nacos 的服务名称(微前端模块名称)
VITE_SERVER_NAME=app-shared
# 注册到 Nacos 的端口,也是前端运行的端口
VITE_SERVER_PORT=1333

View File

@@ -14,7 +14,7 @@
},
"dependencies": {
"axios": "^1.12.2",
"nacos-federation": "^1.0.2"
"nacos-federation": "link:../nacos-federation"
},
"devDependencies": {
"@originjs/vite-plugin-federation": "^1.4.1",

View File

@@ -1,5 +1,5 @@
export class HttpConfig {
public static DevBaseUrl: string = "http://127.0.0.1:3000/api"
public static prodBaseUrl: string = "http://127.0.0.1:3000/api/"
public static DevBaseUrl: string = "http://127.0.0.1:3210/api"
public static prodBaseUrl: string = "http://127.0.0.1:3210/api/"
public static apiList: string = ""
}

View File

@@ -1,24 +1,26 @@
import { defineConfig, UserConfig } from 'vite'
import { defineConfig, loadEnv, UserConfig } from 'vite'
import federation from "@originjs/vite-plugin-federation";
import { nacosServiceManage } from "nacos-federation";
// https://vite.dev/config/
export default defineConfig(async (): Promise<UserConfig> => {
new nacosServiceManage({
serverList: '192.168.31.100:8848',
serviceName: 'app-shared',
port: 1333
})
export default defineConfig(async ({ mode }): Promise<UserConfig> => {
const env = loadEnv(mode, process.cwd());
await nacosServiceManage.create({
serverList: env.VITE_NACOS_ADDRESS,
serviceName: env.VITE_SERVER_NAME,
port: Number(env.VITE_SERVER_PORT)
});
return {
base: `/${ env.VITE_SERVER_NAME }/`,
server: {
port: 1333,
port: Number(env.VITE_SERVER_PORT),
host: '0.0.0.0',
strictPort: true,
cors: true
},
plugins: [
federation({
name: 'shared',
name: env.VITE_SERVER_NAME,
exposes: {
"./config": "./src/config/index.ts",
"./infra": "./src/infra/index.ts",
@@ -42,4 +44,4 @@ export default defineConfig(async (): Promise<UserConfig> => {
}
}
}
})
});

View File

@@ -0,0 +1,24 @@
# Nacos 配置中心ip:端口
VITE_NACOS_ADDRESS=192.168.31.101:8848
# traefik 网关的地址
VITE_TRAEFIK_ADDRESS=192.168.31.101
# 注册到 Nacos 的服务名称(微前端模块名称)
VITE_SERVER_NAME=main-app
# 注册到 Nacos 的端口,也是前端运行的端口
VITE_SERVER_PORT=1300
#
# 说明:项目要调用哪些 微前端 模块
# 格式VITE_MODEL_XXXX_NAME=微前端模块名称(模块 的 开发者提供)
# 作用通过名称从Nacos配置中心发现模块地址和端口给 federation 实时加载
#
# product 商品模块
VITE_MODEL_PRODUCT_NAME=app-product
# shared 共享资源模块
VITE_MODEL_SHARED_NAME=app-shared

View File

@@ -0,0 +1,21 @@
# Nacos 配置中心ip:端口
VITE_NACOS_ADDRESS=192.168.31.100:8848
# 注册到 Nacos 的服务名称(微前端模块名称)
VITE_SERVER_NAME=main-app
# 注册到 Nacos 的端口,也是前端运行的端口
VITE_SERVER_PORT=1300
#
# 说明:项目要调用哪些 微前端 模块
# 格式VITE_MODEL_XXXX_NAME=微前端模块名称(模块 的 开发者提供)
# 作用通过名称从Nacos配置中心发现模块地址和端口给 federation 实时加载
#
# product 商品模块
VITE_MODEL_PRODUCT_NAME=app-product
# shared 共享资源模块
VITE_MODEL_SHARED_NAME=app-shared

View File

@@ -11,7 +11,7 @@
"type-check": "vue-tsc --build"
},
"dependencies": {
"nacos-federation": "^1.0.2",
"nacos-federation": "link:../nacos-federation",
"pinia": "^3.0.3",
"vue": "^3.5.21",
"vue-facing-decorator": "^4.0.1",

View File

@@ -4,12 +4,22 @@ import { createPinia } from 'pinia'
import App from './App'
import router from './router'
// import { getNacosInstance } from '@shared/lib/nacosInstance';
class Main {
constructor() {
createApp(App)
.use(createPinia())
.use(router)
.mount('#app')
// this.test()
}
async test() {
// 关键通过getNacosInstance获取实例确保已初始化
const nacos = await getNacosInstance();
console.log("product: ", await nacos.find('app-product'))
}
}

View File

@@ -27,10 +27,15 @@ export default class Home extends Vue {
{ id: 3, title: '新闻3' },
]
addCount() {
async created() {
}
async addCount() {
// console.log(await nacos.find('app-product'))
// console.log("ref dom: ", this.refH1)
// this.router.push({ name: 'about' })
// this.route.query
this.counter++
}

View File

@@ -0,0 +1,40 @@
import { nacosServiceManage, RegisterOptions } from "nacos-federation"
import { loadEnv } from 'vite';
console.log("process.env.NODE_ENV: ", process.env.NODE_ENV)
const env = loadEnv(
process.env.NODE_ENV || 'development', // 环境模式development/production
process.cwd() // 项目根目录(.env文件所在位置
);
// 2. 定义配置同步执行无await
const nacosConfig: RegisterOptions = {
serverList: env.VITE_NACOS_ADDRESS,
serviceName: env.VITE_SERVER_NAME,
port: Number(env.VITE_SERVER_PORT),
namespace: env.VITE_NACOS_NAMESPACE || 'public'
};
// 3. 声明实例变量(先不初始化)
let nacosInstance: nacosServiceManage | null = null;
// 4. 提供初始化函数显式调用避免顶级await
export async function initNacosInstance() {
if (nacosInstance) {
return nacosInstance; // 已初始化则直接返回
}
// 首次调用时初始化
nacosInstance = await nacosServiceManage.create(nacosConfig);
console.log('Nacos 实例初始化完成');
return nacosInstance;
}
// 5. 提供获取实例的方法(确保初始化后使用)
export async function getNacosInstance() {
if (!nacosInstance) {
// 若未初始化,先执行初始化
return await initNacosInstance();
}
return nacosInstance;
}

View File

@@ -1 +1,16 @@
/// <reference types="vite/client" />
interface ViteTypeOptions {
// 添加这行代码,你就可以将 ImportMetaEnv 的类型设为严格模式,
// 这样就不允许有未知的键值了。
// strictImportMetaEnv: unknown
}
interface ImportMetaEnv {
// readonly VITE_APP_TITLE: string
// 更多环境变量...
}
interface ImportMeta {
readonly env: ImportMetaEnv
}

View File

@@ -14,7 +14,8 @@
"lib": [
"ES2020",
"dom",
"dom.iterable"
"dom.iterable",
"WebWorker"
],
"skipLibCheck": true,
"paths": {

View File

@@ -1,33 +1,44 @@
import { fileURLToPath, URL } from 'node:url'
import path from 'path'
import { defineConfig } from 'vite'
import { defineConfig, loadEnv } from 'vite'
import vueJsx from '@vue3-oop/plugin-vue-jsx'
import federation from '@originjs/vite-plugin-federation';
import { nacosServiceManage } from "nacos-federation";
export default defineConfig(async ({ mode }) => {
const env = loadEnv(mode, process.cwd());
const nacos = await nacosServiceManage.create({
serverList: env.VITE_NACOS_ADDRESS,
serviceName: env.VITE_SERVER_NAME,
port: Number(env.VITE_SERVER_PORT)
});
export default defineConfig(async () => {
const client = new nacosServiceManage({
serverList: '192.168.31.100:8848',
serviceName: 'main-app',
port: 1300
})
const productUrl = await client.find("app-product")
const sharedUrl = await client.find("app-shared")
// const productUrl = await nacos.find(env.VITE_MODEL_PRODUCT_NAME)
// const sharedUrl = await nacos.find(env.VITE_MODEL_SHARED_NAME)
return {
server: {
port: 1300,
port: Number(env.VITE_SERVER_PORT),
host: '0.0.0.0',
strictPort: true,
},
plugins: [
vueJsx(),
federation({
name: 'mainApp', // 主应用模块名(联邦模块需通过此名引用)
remotes: { // 配置远程联邦模块地址(开发/生产需对应)
product: `${ productUrl }/assets/remoteEntry.js`,
shared: `${ sharedUrl }/assets/remoteEntry.js`
name: env.VITE_SERVER_NAME,
remotes: {
// 【弃用】基于 Nacos 服务发现获取 微前端模块的地址 192.168.31.101:1301
// product: `${ productUrl }/assets/remoteEntry.js`,
// shared: `${ sharedUrl }/assets/remoteEntry.js`
// 实现限流与熔断重试IP 白名单,压缩等
// 基于 traefik 网关,由网关去寻找 微前端模块的地址
// 网关的地址是 nodejs脚本 定时10秒访问Nacos api 后生成Traefik配置文件dynamic.yml
// 并把配置实时同步到Traefik中如果 xxx微前端模块停止运行那么就会从 Nacos服务中注销
// 那么dynamic.yml配置文件就会自动删减被下线的网关映射
product: `http://${ env.VITE_TRAEFIK_ADDRESS }/${ env.VITE_MODEL_PRODUCT_NAME }/assets/remoteEntry.js`,
shared: `http://${ env.VITE_TRAEFIK_ADDRESS }/${ env.VITE_MODEL_SHARED_NAME }/assets/remoteEntry.js`
},
shared: {
vue: { requiredVersion: '^3.5.18' },
@@ -48,10 +59,10 @@ export default defineConfig(async () => {
},
resolve: {
alias: {
'@': fileURLToPath(new URL('./src/app/', import.meta.url)),
'@shared': fileURLToPath(new URL('./src/shared/', import.meta.url)),
'@features': fileURLToPath(new URL('./src/features/', import.meta.url)),
'@domains': fileURLToPath(new URL('./src/domains/', import.meta.url))
'@': path.resolve(__dirname, './src/app/'),
'@shared': path.resolve(__dirname, './src/shared/'),
'@features': path.resolve(__dirname, './src/features/'),
'@domains': path.resolve(__dirname, './src/domains/')
},
},
}

View File

@@ -1,5 +1,4 @@
import { NacosNamingClient } from 'nacos';
// @ts-ignore
import { NacosConfigClient, NacosNamingClient } from 'nacos';
import { formatServiceUrl, getLocalIP } from "./utils";
const logger = console;
@@ -15,20 +14,81 @@ export interface RegisterOptions {
namespace?: string;
}
export class nacosServiceManage {
// 静态变量缓存单例实例key为配置唯一标识value为实例
private static instanceMap: Map<string, nacosServiceManage> = new Map();
public nacosClient!: NacosNamingClient;
public configClient!: NacosConfigClient;
public initOptions!: RegisterOptions;
constructor(option: RegisterOptions) {
private constructor(option: RegisterOptions) {
this.initOptions = option;
this.init()
}
/**
* 静态 create 方法:单例模式入口,同一配置只返回一个实例
* @param option 初始化配置
* @returns nacosServiceManage 实例(单例)
*/
public static async create(option: RegisterOptions): Promise<nacosServiceManage> {
const configKey = this.getConfigKey(option);
async init() {
if (this.instanceMap.has(configKey)) {
logger.log(`[nacos-federation] 已存在 ${ option.serviceName } 的Nacos实例直接复用`);
return this.instanceMap.get(configKey)!;
}
const instance = new nacosServiceManage(option);
await instance.initClient();
await instance.initConfig();
this.instanceMap.set(configKey, instance);
return instance;
}
/**
* 生成配置唯一标识:基于 serverList + namespace + serviceName确保不同配置对应不同实例
*/
private static getConfigKey(option: RegisterOptions): string {
const namespace = option.namespace || 'public';
return `${ option.serverList }-${ namespace }-${ option.serviceName }`;
}
/**
* 从Nacos发现服务地址
* @param serviceName 发现选项
* @returns 服务地址(如 'http://192.168.1.101:1301'
*/
public async find(serviceName: string) {
const instances = await this.nacosClient.getAllInstances(serviceName);
// console.log("instances: ", instances);
if (instances.length === 0) {
throw new Error(`[nacos-federation] 未发现服务 ${ serviceName } 的实例`);
}
return formatServiceUrl(instances[0].ip, instances[0].port);
}
/**
* 手动销毁实例(如服务下线时)
*/
public async destroy() {
const configKey = nacosServiceManage.getConfigKey(this.initOptions);
// 注销Nacos服务实例
const { serviceName, port } = this.initOptions;
const ip = getLocalIP();
// @ts-ignore
await this.nacosClient.deregisterInstance(serviceName, { ip, port });
logger.log(`[nacos-federation] 服务 ${ serviceName } 已从Nacos注销`);
// 从缓存中移除实例
nacosServiceManage.instanceMap.delete(configKey);
}
// 初始化服务发现
private async initClient() {
this.nacosClient = new NacosNamingClient({
logger,
serverList: this.initOptions.serverList,
@@ -38,30 +98,23 @@ export class nacosServiceManage {
this.reg()
}
// 初始化配置服务
private async initConfig() {
this.configClient = new NacosConfigClient({
serverAddr: this.initOptions.serverList,
});
}
/**
* 注册服务到Nacos并返回客户端实例
*/
async reg() {
private async reg() {
const { serviceName, port } = this.initOptions;
const ip = getLocalIP();
// @ts-ignore
await this.nacosClient.registerInstance(serviceName, {
port, ip
})
console.log(`[nacos] 服务 ${ serviceName } 已注册:${ formatServiceUrl(ip, port) }`);
await this.nacosClient.registerInstance(serviceName, { port, ip })
logger.log(`[nacos-federation] 服务 ${ serviceName } 已注册:${ formatServiceUrl(ip, port) }`);
}
/**
* 从Nacos发现服务地址
* @param serviceName 发现选项
* @returns 服务地址(如 'http://192.168.1.101:1301'
*/
async find(serviceName: string) {
const instances = await this.nacosClient.getAllInstances(serviceName);
if (instances.length === 0) {
throw new Error(`[nacos] 未发现服务 ${ serviceName } 的实例`);
}
return formatServiceUrl(instances[0].ip, instances[0].port);
}
}

View File

@@ -1,33 +0,0 @@
// import {NacosNamingClient} from 'nacos';
//
// const logger = console;
//
// const client = new NacosNamingClient({
// logger,
// serverList: '192.168.31.100:8848', // replace to real nacos serverList
// namespace: 'public',
// });
//
// await client.ready();
//
// // registry instance
// await client.registerInstance('main-app', {
// ip: '192.168.31.101',
// port: 1300,
// });
// @ts-ignore
import { nacosServiceManage } from "./src/nacosServiceManage.ts";
const client = new nacosServiceManage({
serverList: '192.168.31.100:8848',
serviceName: 'main-app',
port: 1300
})
setTimeout(() => {
client.find("main-app").then((client) => {
console.log("client ---- : ", client);
})
}, 3000)

View File

@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "ES2020",
"target": "ESNext",
"module": "CommonJS",
"outDir": "./dist",
"rootDir": "./src",

View File

@@ -1,4 +0,0 @@
packages:
- 'main-app'
- 'app-product'
- 'app-shared'

7
pnpm-workspace.yaml Normal file
View File

@@ -0,0 +1,7 @@
packages:
- 'front-end/*'
- 'docker/traefik'
- 'back-end'
# 排除不需要的目录(可选)
- '!** /node_modules'
- '!** /dist'