286 changed files with 7997 additions and 38616 deletions
-13
View File
@@ -1,13 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="BookApplication-01" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot" folderName="图书服务">
<envs>
<env name="server.port" value="8201" />
<env name="spring.cloud.nacos.discovery.cluster-name" value="Chongqing" />
</envs>
<module name="book-service" />
<option name="SPRING_BOOT_MAIN_CLASS" value="com.test.BookApplication" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>
-13
View File
@@ -1,13 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="BookApplication-02" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot" folderName="图书服务">
<envs>
<env name="server.port" value="8202" />
<env name="spring.cloud.nacos.discovery.cluster-name" value="Chengdu" />
</envs>
<module name="book-service" />
<option name="SPRING_BOOT_MAIN_CLASS" value="com.test.BookApplication" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>
+1 -1
View File
@@ -1,5 +1,5 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="BorrowApplication" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot" nameIsGenerated="true">
<configuration default="false" name="BorrowApplication" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot" folderName="OAuth2" nameIsGenerated="true">
<module name="borrow-service" />
<option name="SPRING_BOOT_MAIN_CLASS" value="com.test.BorrowApplication" />
<extension name="coverage">
-14
View File
@@ -1,14 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="ConfigApplication" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot" nameIsGenerated="true">
<option name="SPRING_BOOT_MAIN_CLASS" value="com.test.ConfigApplication" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="com.test.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>
-11
View File
@@ -1,11 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="EurekaApplication-01" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot" folderName="Eureka集群">
<envs>
<env name="spring.profiles.active" value="01" />
</envs>
<option name="SPRING_BOOT_MAIN_CLASS" value="com.test.EurekaApplication" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>
-11
View File
@@ -1,11 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="EurekaApplication-02" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot" folderName="Eureka集群">
<envs>
<env name="spring.profiles.active" value="02" />
</envs>
<option name="SPRING_BOOT_MAIN_CLASS" value="com.test.EurekaApplication" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>
-14
View File
@@ -1,14 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="GatewayApplication" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot" nameIsGenerated="true">
<option name="SPRING_BOOT_MAIN_CLASS" value="com.test.GatewayApplication" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="com.test.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>
-8
View File
@@ -1,8 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="HystrixDashBoardApplication" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot" folderName="Hystrix监控服务" nameIsGenerated="true">
<option name="SPRING_BOOT_MAIN_CLASS" value="com.test.HystrixDashBoardApplication" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>
+17
View File
@@ -0,0 +1,17 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Nacos" type="ShConfigurationType">
<option name="SCRIPT_TEXT" value="" />
<option name="INDEPENDENT_SCRIPT_PATH" value="true" />
<option name="SCRIPT_PATH" value="$PROJECT_DIR$/nacos/bin/startup.sh" />
<option name="SCRIPT_OPTIONS" value="-m standalone" />
<option name="INDEPENDENT_SCRIPT_WORKING_DIRECTORY" value="true" />
<option name="SCRIPT_WORKING_DIRECTORY" value="$PROJECT_DIR$/nacos" />
<option name="INDEPENDENT_INTERPRETER_PATH" value="true" />
<option name="INTERPRETER_PATH" value="/bin/bash" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="EXECUTE_IN_TERMINAL" value="true" />
<option name="EXECUTE_SCRIPT_FILE" value="true" />
<envs />
<method v="2" />
</configuration>
</component>
-19
View File
@@ -1,19 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="UserApplication-01" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot" folderName="用户服务">
<envs>
<env name="server.port" value="8101" />
<env name="spring.cloud.nacos.discovery.cluster-name" value="Chongqing" />
</envs>
<module name="user-service" />
<option name="SPRING_BOOT_MAIN_CLASS" value="com.test.UserApplication" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="com.test.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>
-13
View File
@@ -1,13 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="UserApplication-02" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot" folderName="用户服务">
<envs>
<env name="server.port" value="8102" />
<env name="spring.cloud.nacos.discovery.cluster-name" value="Chengdu" />
</envs>
<module name="user-service" />
<option name="SPRING_BOOT_MAIN_CLASS" value="com.test.UserApplication" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>
+1 -1
View File
@@ -1,5 +1,5 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="UserApplication" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot" nameIsGenerated="true">
<configuration default="false" name="UserApplication" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot" folderName="OAuth2" nameIsGenerated="true">
<module name="user-service" />
<option name="SPRING_BOOT_MAIN_CLASS" value="com.test.UserApplication" />
<extension name="coverage">
+48
View File
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.example</groupId>
<artifactId>SpringCloudStudy</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>org.example</groupId>
<artifactId>auth-service</artifactId>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<!-- OAuth2.0依赖,不再内置了,所以得我们自己指定一下版本 -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-oauth2</artifactId>
<version>2.2.5.RELEASE</version>
</dependency>
</dependencies>
</project>
@@ -0,0 +1,18 @@
package com.test;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* ClassName: AuthApplication
* Package: com.test
*
* @author yovinchen
* @Create 2023/8/19 20:14
*/
@SpringBootApplication
public class AuthApplication {
public static void main(String[] args) {
SpringApplication.run(AuthApplication.class,args);
}
}
@@ -0,0 +1,83 @@
package com.test.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.security.oauth2.config.annotation.configurers.ClientDetailsServiceConfigurer;
import org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurerAdapter;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableAuthorizationServer;
import org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerEndpointsConfigurer;
import org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerSecurityConfigurer;
import org.springframework.security.oauth2.provider.token.AuthorizationServerTokenServices;
import org.springframework.security.oauth2.provider.token.DefaultTokenServices;
import org.springframework.security.oauth2.provider.token.TokenStore;
import org.springframework.security.oauth2.provider.token.store.JwtAccessTokenConverter;
import javax.annotation.Resource;
/**
* ClassName: OAuth2Configuration
* Package: com.test.config
*
* @author yovinchen
* @Create 2023/8/19 20:17
*/
@EnableAuthorizationServer //开启验证服务器
@Configuration
public class OAuth2Configuration extends AuthorizationServerConfigurerAdapter {
private final BCryptPasswordEncoder encoder = new BCryptPasswordEncoder();
@Resource
TokenStore store;
@Resource
JwtAccessTokenConverter converter;
@Resource
UserDetailsService service;
@Resource
private AuthenticationManager manager;
private AuthorizationServerTokenServices serverTokenServices() { //这里对AuthorizationServerTokenServices进行一下配置
DefaultTokenServices services = new DefaultTokenServices();
services.setSupportRefreshToken(true); //允许Token刷新
services.setTokenStore(store); //添加刚刚的TokenStore
services.setTokenEnhancer(converter); //添加Token增强,其实就是JwtAccessTokenConverter,增强是添加一些自定义的数据到JWT中
return services;
}
@Override
public void configure(AuthorizationServerEndpointsConfigurer endpoints) {
endpoints
// .allowedTokenEndpointRequestMethods()
.tokenServices(serverTokenServices()) //设定为刚刚配置好的AuthorizationServerTokenServices
.userDetailsService(service)
.authenticationManager(manager);
}
/**
* 这个方法是对客户端进行配置,一个验证服务器可以预设很多个客户端,
* 之后这些指定的客户端就可以按照下面指定的方式进行验证
*
* @param clients 客户端配置工具
*/
@Override
public void configure(ClientDetailsServiceConfigurer clients) throws Exception {
clients.inMemory() //这里我们直接硬编码创建,当然也可以像Security那样自定义或是使用JDBC从数据库读取
.withClient("web") //客户端名称,随便起就行
.secret(encoder.encode("654321")) //只与客户端分享的secret,随便写,但是注意要加密
.autoApprove(false) //自动审批,这里关闭,要的就是一会体验那种感觉
.redirectUris("http://localhost:8101/login", "http://localhost:8201/login", "http://localhost:8301/login") //可以写多个,当有多个时需要在验证请求中指定使用哪个地址进行回调
.scopes("book", "user", "borrow") //授权范围,这里我们使用全部all
.authorizedGrantTypes("client_credentials", "password", "implicit", "authorization_code", "refresh_token");
//授权模式,一共支持5种,除了之前我们介绍的四种之外,还有一个刷新Token的模式
//这里我们直接把五种都写上,方便一会实验,当然各位也可以单独只写一种一个一个进行测试
//现在我们指定的客户端就支持这五种类型的授权方式了
}
@Override
public void configure(AuthorizationServerSecurityConfigurer security) {
security.passwordEncoder(encoder) //编码器设定为BCryptPasswordEncoder
.allowFormAuthenticationForClients() //允许客户端使用表单验证,一会我们POST请求中会携带表单信息
.checkTokenAccess("permitAll()"); //允许所有的Token查询请求
}
}
@@ -0,0 +1,69 @@
package com.test.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.security.crypto.password.NoOpPasswordEncoder;
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.security.oauth2.provider.token.TokenStore;
import org.springframework.security.oauth2.provider.token.store.JwtAccessTokenConverter;
import org.springframework.security.oauth2.provider.token.store.JwtTokenStore;
/**
* ClassName: SecurityConfiguration
* Package: com.test.config
*
* @author yovinchen
* @Create 2023/8/19 20:14
*/
@Configuration
public class SecurityConfiguration extends WebSecurityConfigurerAdapter {
@Override
protected void configure(HttpSecurity http) throws Exception {
http.authorizeRequests().anyRequest().authenticated() //
.and().formLogin().permitAll(); //使用表单登录
}
@Override
protected void configure(AuthenticationManagerBuilder auth) throws Exception {
BCryptPasswordEncoder encoder = new BCryptPasswordEncoder();
auth.inMemoryAuthentication() //直接创建一个用户,懒得搞数据库了
.passwordEncoder(encoder).withUser("test").password(encoder.encode("123456")).roles("USER");
}
@Bean //这里需要将AuthenticationManager注册为Bean,在OAuth配置中使用
@Override
public AuthenticationManager authenticationManagerBean() throws Exception {
return super.authenticationManagerBean();
}
@Bean
@Override
protected UserDetailsService userDetailsService() {
return super.userDetailsService();
}
@Bean
public JwtAccessTokenConverter tokenConverter() { //Token转换器,将其转换为JWT
JwtAccessTokenConverter converter = new JwtAccessTokenConverter();
converter.setSigningKey("lbwnb"); //这个是对称密钥,一会资源服务器那边也要指定为这个
return converter;
}
@Bean
public TokenStore tokenStore(JwtAccessTokenConverter converter) { //Token存储方式现在改为JWT存储
return new JwtTokenStore(converter); //传入刚刚定义好的转换器
}
// @Bean
// public PasswordEncoder passwordEncoder() {
// return NoOpPasswordEncoder.getInstance();
// }
}
@@ -0,0 +1,10 @@
server:
port: 8500
servlet:
#为了防止一会在服务之间跳转导致Cookie打架(因为所有服务地址都是localhost,都会存JSESSIONID
#这里修改一下context-path,这样保存的Cookie会使用指定的路径,就不会和其他服务打架了
#但是注意之后的请求都得在最前面加上这个路径
context-path: /sso
spring:
application:
name: authservice
+14 -3
View File
@@ -21,11 +21,22 @@
<dependencies>
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-seata</artifactId>
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-oauth2</artifactId>
<version>2.2.5.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
@@ -1,9 +1,8 @@
package com.test;
import com.apple.eawt.Application;
import io.seata.spring.annotation.datasource.EnableAutoDataSourceProxy;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;
/**
* ClassName: BookApplication
@@ -12,7 +11,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
* @author yovinchen
* @Create 2023/8/14 16:23
*/
@EnableAutoDataSourceProxy
@EnableResourceServer
@SpringBootApplication
public class BookApplication {
public static void main(String[] args) {
@@ -0,0 +1,24 @@
package com.test.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter;
/**
* ClassName: cong
* Package: com.test.config
*
* @author yovinchen
* @Create 2023/8/21 20:10
*/
@Configuration
public class ResourceConfiguration extends ResourceServerConfigurerAdapter { //继承此类进行高度自定义
@Override
public void configure(HttpSecurity http) throws Exception { //这里也有HttpSecurity对象,方便我们配置SpringSecurity
http
.authorizeRequests()
.anyRequest().access("#oauth2.hasScope('book')"); //添加自定义规则
//Token必须要有我们自定义scope授权才可以访问此资源
}
}
@@ -1,12 +1,14 @@
package com.test.controller;
import com.test.entity.Book;
import com.test.service.BookService;
import org.springframework.security.core.context.SecurityContext;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import com.test.entity.Book;
/**
* ClassName: BookController
@@ -22,19 +24,10 @@ public class BookController {
BookService service;
@RequestMapping("/book/{bid}")
Book findBookById(@PathVariable("bid") int bid) {
System.out.println("调用图书服务");
Book findBookById(@PathVariable("bid") int bid){
//通过SecurityContextHolder将用户信息取出
SecurityContext context = SecurityContextHolder.getContext();
System.out.println(context.getAuthentication());
return service.getBookById(bid);
}
@RequestMapping("/book/remain/{bid}")
public int bookRemain(@PathVariable("bid") int uid){
return service.getRemain(uid);
}
@RequestMapping("/book/borrow/{bid}")
public boolean bookBorrow(@PathVariable("bid") int uid){
int remain = service.getRemain(uid);
return service.setRemain(uid, remain - 1);
}
}
@@ -2,8 +2,8 @@ package com.test.mapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import com.test.entity.Book;
import org.apache.ibatis.annotations.Update;
/**
* ClassName: BookMapper
@@ -17,10 +17,4 @@ public interface BookMapper {
@Select("select * from DB_BOOK where bid = #{bid}")
Book getBookById(int bid);
@Select("select count from DB_BOOK where bid = #{bid}")
int getRemain(int bid);
@Update("update DB_BOOK set count = #{count} where bid = #{bid}")
int setRemain(int bid, int count);
}
@@ -11,10 +11,4 @@ import com.test.entity.Book;
*/
public interface BookService {
Book getBookById(int bid);
boolean setRemain(int uid, int i);
int getRemain(int uid);
}
@@ -1,11 +1,11 @@
package com.test.service.impl;
import com.test.entity.Book;
import com.test.mapper.BookMapper;
import com.test.service.BookService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.test.entity.Book;
/**
* ClassName: BookServiceImpl
@@ -24,14 +24,4 @@ public class BookServiceImpl implements BookService {
public Book getBookById(int bid) {
return mapper.getBookById(bid);
}
@Override
public boolean setRemain(int bid, int count) {
return mapper.setRemain(bid, count) > 0;
}
@Override
public int getRemain(int bid) {
return mapper.getRemain(bid);
}
}
@@ -6,28 +6,10 @@ spring:
url: jdbc:mysql://43.143.164.194:3306/mac
username: mac
password: mactest
# 应用名称 bookservice
application:
name: bookservice
cloud:
nacos:
discovery:
# 配置Nacos注册中心地址
server-addr: localhost:8848
seata:
# 注册
registry:
# 使用Nacos
type: nacos
nacos:
# 使用Seata的命名空间,这样才能正确找到Seata服务,由于组使用的是SEATA_GROUP,配置默认值就是,就不用配了
namespace: c0495138-b5b3-440d-8f1c-dc8cc9ba5fbc
username: nacos
password: nacos
# 配置
config:
type: nacos
nacos:
namespace: c0495138-b5b3-440d-8f1c-dc8cc9ba5fbc
username: nacos
password: nacos
security:
oauth2:
resource:
jwt:
key-value: lbwnb #注意这里要跟验证服务器的密钥一致,这样算出来的签名才会一致
+7 -13
View File
@@ -18,22 +18,22 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-seata</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
</dependency>
<!-- 这里需要单独导入LoadBalancer依赖 -->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
@@ -48,11 +48,5 @@
<artifactId>commons</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.example</groupId>
<artifactId>commons</artifactId>
<version>0.0.1-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>
@@ -1,9 +1,9 @@
package com.test;
import io.seata.spring.annotation.datasource.EnableAutoDataSourceProxy;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;
/**
* ClassName: BorrowApplication
@@ -11,9 +11,13 @@ import org.springframework.cloud.openfeign.EnableFeignClients;
*
* @author yovinchen
* @Create 2023/8/14 16:25
* <p>
* 如果先使用 @EnableResourceServer 注解,再使用 @EnableFeignClients 注解,则 Feign 客户端可能无法正常工作。
* 因为在启用资源服务器之后,Spring Security 会拦截所有请求并进行身份验证和授权处理。
* 而 Feign 客户端发送请求时也需要经过 Spring Security 的处理流程,如果没有正确配置权限规则,则可能导致访问被拒绝或者出现其他错误。
*/
@EnableFeignClients
@EnableAutoDataSourceProxy
@EnableResourceServer
@SpringBootApplication
public class BorrowApplication {
public static void main(String[] args) {
@@ -1,6 +1,5 @@
package com.test.controller;
import com.alibaba.fastjson.JSONObject;
import com.test.entity.UserBorrowDetail;
import com.test.service.BorrowService;
import org.springframework.web.bind.annotation.PathVariable;
@@ -8,7 +7,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import java.util.Collections;
/**
@@ -28,16 +26,4 @@ public class BorrowController {
UserBorrowDetail findUserBorrows(@PathVariable("uid") int uid){
return service.getUserBorrowDetailByUid(uid);
}
@RequestMapping("/borrow/take/{uid}/{bid}")
JSONObject borrow(@PathVariable("uid") int uid,
@PathVariable("bid") int bid){
service.doBorrow(uid, bid);
JSONObject object = new JSONObject();
object.put("code", "200");
object.put("success", true);
object.put("message", "借阅成功!");
return object;
}
}
@@ -1,7 +1,6 @@
package com.test.mapper;
import com.test.entity.Borrow;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
@@ -24,7 +23,4 @@ public interface BorrowMapper {
@Select("select * from DB_BORROW where bid = #{bid} and uid = #{uid}")
Borrow getBorrow(int uid, int bid);
@Insert("insert into db_borrow(uid, bid) values (#{uid},#{bid})")
int addBorrow(int uid, int bid);
}
@@ -13,5 +13,4 @@ import com.test.entity.UserBorrowDetail;
public interface BorrowService {
UserBorrowDetail getUserBorrowDetailByUid(int uid);
boolean doBorrow(int uid, int bid);
}
@@ -10,17 +10,11 @@ import org.springframework.web.bind.annotation.RequestMapping;
* Package: com.test.service.client
*
* @author yovinchen
* @Create 2023/8/16 10:55
* @Create 2023/8/21 20:29
*/
@FeignClient("bookservice")
public interface BookClient {
@RequestMapping("/book/{bid}")
Book getBookById(@PathVariable("bid") int bid);
@RequestMapping("/book/borrow/{bid}")
boolean bookBorrow(@PathVariable("bid") int bid);
@RequestMapping("/book/remain/{bid}")
int bookRemain(@PathVariable("bid") int bid);
}
@@ -10,17 +10,11 @@ import org.springframework.web.bind.annotation.RequestMapping;
* Package: com.test.service.client
*
* @author yovinchen
* @Create 2023/8/16 10:55
* @Create 2023/8/21 20:29
*/
@FeignClient("userservice")
public interface UserClient {
@RequestMapping("/user/{uid}")
User getUserById(@PathVariable("uid") int uid);
@RequestMapping("/user/borrow/{uid}")
boolean userBorrow(@PathVariable("uid") int uid);
@RequestMapping("/user/remain/{uid}")
int userRemain(@PathVariable("uid") int uid);
}
@@ -1,5 +1,7 @@
package com.test.service.impl;
import com.test.entity.Book;
import com.test.entity.Borrow;
import com.test.entity.User;
@@ -8,11 +10,10 @@ import com.test.mapper.BorrowMapper;
import com.test.service.BorrowService;
import com.test.service.client.BookClient;
import com.test.service.client.UserClient;
import io.seata.spring.annotation.GlobalTransactional;
import org.springframework.security.oauth2.client.OAuth2RestTemplate;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.Collections;
import java.util.List;
import java.util.stream.Collectors;
@@ -30,42 +31,26 @@ public class BorrowServiceImpl implements BorrowService {
BorrowMapper mapper;
@Resource
UserClient userClient;
BookClient bookClient;
@Resource
BookClient bookClient;
UserClient userClient;
// @Resource
// OAuth2RestTemplate template;
@Override
public UserBorrowDetail getUserBorrowDetailByUid(int uid) {
List<Borrow> borrow = mapper.getBorrowsByUid(uid);
//这里通过调用getForObject来请求其他服务,并将结果自动进行封装
//获取User信息
// User user = template.getForObject("http://userservice/user/" + uid, User.class);
User user = userClient.getUserById(uid);
List<Book> bookList = borrow
.stream()
.map(b -> bookClient.getBookById(b.getBid()))
//获取每一本书的详细信息
List<Book> bookList = borrow.stream().map(b ->
// template.getForObject("http://bookservice/book/" + b.getBid(), Book.class))
bookClient.getBookById(b.getBid()))
.collect(Collectors.toList());
return new UserBorrowDetail(user, bookList);
}
@Override
@GlobalTransactional
public boolean doBorrow(int uid, int bid) {
//1. 判断图书和用户是否都支持借阅
if(bookClient.bookRemain(bid) < 1)
throw new RuntimeException("图书数量不足");
if(userClient.userRemain(uid) < 1)
throw new RuntimeException("用户借阅量不足");
//2. 首先将图书的数量-1
if(!bookClient.bookBorrow(bid))
throw new RuntimeException("在借阅图书时出现错误!");
//3. 添加借阅信息
if(mapper.getBorrow(uid, bid) != null)
throw new RuntimeException("此书籍已经被此用户借阅了!");
if(mapper.addBorrow(uid, bid) <= 0)
throw new RuntimeException("在录入借阅信息时出现错误!");
//4. 用户可借阅-1
if(!userClient.userBorrow(uid))
throw new RuntimeException("在借阅时出现错误!");
//完成
return true;
}
}
@@ -6,34 +6,25 @@ spring:
url: jdbc:mysql://43.143.164.194:3306/mac
username: mac
password: mactest
# 应用名称 borrowservice
application:
name: borrowservice
cloud:
nacos:
discovery:
# 配置Nacos注册中心地址
server-addr: localhost:8848
# 将ephemeral修改为false,表示非临时实例(用于持续监控)
ephemeral: false
cluster-name: Chengdu
loadbalancer:
nacos:
security:
oauth2:
client:
client-id: web
client-secret: 654321
#Token获取地址
access-token-uri: http://localhost:8500/sso/oauth/token
#验证页面地址
user-authorization-uri: http://localhost:8500/sso/oauth/authorize
resource:
jwt:
key-value: lbwnb #注意这里要跟验证服务器的密钥一致,这样算出来的签名才会一致
feign:
oauth2:
#开启Oauth支持,这样就会在请求头中携带Token了
enabled: true
seata:
# 注册
registry:
# 使用Nacos
type: nacos
nacos:
# 使用Seata的命名空间,这样才能正确找到Seata服务,由于组使用的是SEATA_GROUP,配置默认值就是,就不用配了
namespace: c0495138-b5b3-440d-8f1c-dc8cc9ba5fbc
username: nacos
password: nacos
# 配置
config:
type: nacos
nacos:
namespace: c0495138-b5b3-440d-8f1c-dc8cc9ba5fbc
username: nacos
password: nacos
#同时开启负载均衡支持
load-balanced: true
+22
View File
@@ -0,0 +1,22 @@
import java.util.Base64;
/**
* ClassName: Test
* Package: PACKAGE_NAME
*
* @author yovinchen
* @Create 2023/8/21 20:46
*
* Base64不是加密算法,只是一种信息的编码方式而已
*/
public class Test {
@org.junit.jupiter.api.Test
public void test(){
String str = "你们可能不知道只用20万赢到578万是什么概念";
//Base64不只是可以对字符串进行编码,任何byte[]数据都可以,编码结果可以是byte[],也可以是字符串
String encodeStr = Base64.getEncoder().encodeToString(str.getBytes());
System.out.println("Base64编码后的字符串:"+encodeStr);
System.out.println("解码后的字符串:"+new String(Base64.getDecoder().decode(encodeStr)));
}
}
@@ -14,5 +14,4 @@ public class Book {
int bid;
String title;
String des;
int count;
}
@@ -14,13 +14,18 @@ public class User {
int uid;
String name;
String sex;
int book_count;
/**
* ClassName: Book
* Package: com.test.entity
*
* @author yovinchen
* @Create 2023/8/14 17:01
*/
@Data
public static class Book {
int bid;
String title;
String desc;
int book_count;
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
{"key":"com.alibaba.nacos.naming.domains.meta.public##DEFAULT_GROUP@@borrowservice","value":{"name":"DEFAULT_GROUP@@borrowservice","protectThreshold":0.0,"groupName":"DEFAULT_GROUP","metadata":{},"finalizeCount":0,"owners":[],"resetWeight":false,"enabled":true,"selector":{"type":"none"},"namespaceId":"public","ipDeleteTimeout":30000,"lastModifiedMillis":1692165536330,"checksum":"9d513e52a22e849cfaaa50b4aa2ebe7a","clusterMap":{"DEFAULT":{"serviceName":"DEFAULT_GROUP@@borrowservice","name":"DEFAULT","healthChecker":{"type":"TCP"},"defaultPort":80,"defaultCheckPort":80,"useIPPort4Check":true,"metadata":{},"sitegroup":"","defCkport":80,"empty":false,"defIPPort":80}},"empty":false},"timestamp":0}
@@ -1 +0,0 @@
{"key":"com.alibaba.nacos.naming.iplist.public##DEFAULT_GROUP@@borrowservice","value":{"instanceList":[{"instanceId":"192.168.137.52#8301#DEFAULT#DEFAULT_GROUP@@borrowservice","ip":"192.168.137.52","port":8301,"weight":1.0,"healthy":false,"enabled":true,"ephemeral":false,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@borrowservice","metadata":{"preserved.register.source":"SPRING_CLOUD"},"lastBeat":1692165840656,"marked":false,"app":"DEFAULT","ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000},{"instanceId":"192.168.137.52#8301#Chengdu#DEFAULT_GROUP@@borrowservice","ip":"192.168.137.52","port":8301,"weight":1.0,"healthy":false,"enabled":true,"ephemeral":false,"clusterName":"Chengdu","serviceName":"DEFAULT_GROUP@@borrowservice","metadata":{"preserved.register.source":"SPRING_CLOUD"},"lastBeat":1692165840656,"marked":false,"app":"unknown","ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000},{"instanceId":"192.168.124.5#8301#Chengdu#DEFAULT_GROUP@@borrowservice","ip":"192.168.124.5","port":8301,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":false,"clusterName":"Chengdu","serviceName":"DEFAULT_GROUP@@borrowservice","metadata":{"preserved.register.source":"SPRING_CLOUD"},"lastBeat":1692373011790,"marked":false,"app":"unknown","ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}]},"timestamp":0}
+2 -2
View File
@@ -1,6 +1,6 @@
----------------------------------------------------------------
Fri Aug 18 23:21:25 CST 2023:
Booting Derby version The Apache Software Foundation - Apache Derby - 10.14.2.0 - (1828579): instance a816c00e-018a-093c-aa47-000010fe11b0
Wed Aug 23 11:29:31 CST 2023:
Booting Derby version The Apache Software Foundation - Apache Derby - 10.14.2.0 - (1828579): instance a816c00e-018a-2070-b27e-00001d7555b8
on database directory /Users/yovinchen/project/Java/demo/SpringCloudStudy/nacos/data/derby-data with class loader org.springframework.boot.loader.LaunchedURLClassLoader@5910e440
Loaded from jar:file:/Users/yovinchen/project/Java/demo/SpringCloudStudy/nacos/target/nacos-server.jar!/BOOT-INF/lib/derby-10.14.2.0.jar!/
java.vendor=Azul Systems, Inc.
@@ -0,0 +1,24 @@
2023-08-21 11:11:13,966 INFO toNotifyTaskSize = 0
2023-08-21 11:11:13,966 INFO groupCount = 0, subscriberClientCount = 0, subscriberCount = 0
2023-08-21 11:11:13,982 INFO [long-pulling] client count 0
2023-08-21 11:11:23,972 INFO toNotifyTaskSize = 0
2023-08-21 11:11:23,972 INFO groupCount = 0, subscriberClientCount = 0, subscriberCount = 0
2023-08-21 11:11:23,988 INFO [long-pulling] client count 0
2023-08-21 11:11:33,974 INFO toNotifyTaskSize = 0
2023-08-21 11:11:33,974 INFO groupCount = 0, subscriberClientCount = 0, subscriberCount = 0
2023-08-21 11:11:33,990 INFO [long-pulling] client count 0
2023-08-21 11:11:43,976 INFO toNotifyTaskSize = 0
2023-08-21 11:11:43,976 INFO groupCount = 0, subscriberClientCount = 0, subscriberCount = 0
2023-08-21 11:11:44,001 INFO [long-pulling] client count 0
+20
View File
@@ -0,0 +1,20 @@
2023-08-21 11:11:48,311 WARN [WatchFileCenter] start close
2023-08-21 11:11:48,311 WARN [WatchFileCenter] start to shutdown this watcher which is watch : /Users/yovinchen/project/Java/demo/SpringCloudStudy/nacos/conf
2023-08-21 11:11:48,311 WARN [NotifyCenter] Start destroying Publisher
2023-08-21 11:11:48,312 WARN [HttpClientBeanHolder] Start destroying common HttpClient
2023-08-21 11:11:48,312 WARN [ThreadPoolManager] Start destroying ThreadPool
2023-08-21 11:11:48,312 WARN [WatchFileCenter] already closed
2023-08-21 11:11:48,313 WARN [ConfigServer-HttpClientManager] Start destroying NacosRestTemplate
2023-08-21 11:11:48,313 WARN [NotifyCenter] Destruction of the end
2023-08-21 11:11:48,314 WARN [HttpClientBeanHolder] Destruction of the end
2023-08-21 11:11:48,314 WARN [ConfigServer-HttpClientManager] Destruction of the end
@@ -0,0 +1,4 @@
2023-08-21 11:11:48,312 WARN [NamingServerHttpClientManager] Start destroying HTTP-Client
2023-08-21 11:11:48,314 WARN [NamingServerHttpClientManager] Destruction of the end
File diff suppressed because it is too large Load Diff
+108 -128
View File
@@ -1,236 +1,216 @@
2023-08-18 16:52:08,384 INFO [dump-all-ok] userservice-dev.yml+DEFAULT_GROUP, 1692192935951, length=155, md5=adda116ef58244311d9da3bd580f750a
2023-08-23 11:29:32,935 INFO [dump-all-ok] userservice-dev.yml+DEFAULT_GROUP, 1692192935951, length=155, md5=adda116ef58244311d9da3bd580f750a
2023-08-18 16:52:08,385 INFO [dump-all-ok] userservice-dev.yml+DEFAULT_GROUP, 1692257730183, length=155, md5=adda116ef58244311d9da3bd580f750a
2023-08-23 11:29:32,936 INFO [dump-all-ok] userservice-dev.yml+DEFAULT_GROUP, 1692257730183, length=155, md5=adda116ef58244311d9da3bd580f750a
2023-08-18 17:51:18,626 INFO [dump-all-ok] userservice-dev.yml+DEFAULT_GROUP, 1692192935951, length=155, md5=adda116ef58244311d9da3bd580f750a
2023-08-23 11:29:32,936 INFO [dump-all-ok] transport.type+SEATA_GROUP, 1692371059755, length=3, md5=b136ef5f6a01d816991fe3cf7a6ac763
2023-08-18 17:51:18,626 INFO [dump-all-ok] userservice-dev.yml+DEFAULT_GROUP, 1692257730183, length=155, md5=adda116ef58244311d9da3bd580f750a
2023-08-23 11:29:32,936 INFO [dump-all-ok] transport.server+SEATA_GROUP, 1692371059846, length=3, md5=b6d9dfc0fb54277321cebc0fff55df2f
2023-08-18 23:21:26,545 INFO [dump-all-ok] userservice-dev.yml+DEFAULT_GROUP, 1692192935951, length=155, md5=adda116ef58244311d9da3bd580f750a
2023-08-23 11:29:32,936 INFO [dump-all-ok] transport.heartbeat+SEATA_GROUP, 1692371059919, length=4, md5=b326b5062b2f0e69046810717534cb09
2023-08-18 23:21:26,545 INFO [dump-all-ok] userservice-dev.yml+DEFAULT_GROUP, 1692257730183, length=155, md5=adda116ef58244311d9da3bd580f750a
2023-08-23 11:29:32,936 INFO [dump-all-ok] transport.enableTmClientBatchSendRequest+SEATA_GROUP, 1692371060039, length=5, md5=68934a3e9455fa72420237eb05902327
2023-08-18 23:21:26,546 INFO [dump-all-ok] transport.type+SEATA_GROUP, 1692371059755, length=3, md5=b136ef5f6a01d816991fe3cf7a6ac763
2023-08-23 11:29:32,936 INFO [dump-all-ok] transport.enableRmClientBatchSendRequest+SEATA_GROUP, 1692371060162, length=4, md5=b326b5062b2f0e69046810717534cb09
2023-08-18 23:21:26,546 INFO [dump-all-ok] transport.server+SEATA_GROUP, 1692371059846, length=3, md5=b6d9dfc0fb54277321cebc0fff55df2f
2023-08-23 11:29:32,936 INFO [dump-all-ok] transport.enableTcServerBatchSendResponse+SEATA_GROUP, 1692371060289, length=5, md5=68934a3e9455fa72420237eb05902327
2023-08-18 23:21:26,546 INFO [dump-all-ok] transport.heartbeat+SEATA_GROUP, 1692371059919, length=4, md5=b326b5062b2f0e69046810717534cb09
2023-08-23 11:29:32,936 INFO [dump-all-ok] transport.rpcRmRequestTimeout+SEATA_GROUP, 1692371060389, length=5, md5=5ecc613150de01b7e6824594426f24f4
2023-08-18 23:21:26,546 INFO [dump-all-ok] transport.enableTmClientBatchSendRequest+SEATA_GROUP, 1692371060039, length=5, md5=68934a3e9455fa72420237eb05902327
2023-08-23 11:29:32,937 INFO [dump-all-ok] transport.rpcTmRequestTimeout+SEATA_GROUP, 1692371060501, length=5, md5=5ecc613150de01b7e6824594426f24f4
2023-08-18 23:21:26,546 INFO [dump-all-ok] transport.enableRmClientBatchSendRequest+SEATA_GROUP, 1692371060162, length=4, md5=b326b5062b2f0e69046810717534cb09
2023-08-23 11:29:32,937 INFO [dump-all-ok] transport.rpcTcRequestTimeout+SEATA_GROUP, 1692371060627, length=5, md5=5ecc613150de01b7e6824594426f24f4
2023-08-18 23:21:26,546 INFO [dump-all-ok] transport.enableTcServerBatchSendResponse+SEATA_GROUP, 1692371060289, length=5, md5=68934a3e9455fa72420237eb05902327
2023-08-23 11:29:32,937 INFO [dump-all-ok] transport.threadFactory.bossThreadPrefix+SEATA_GROUP, 1692371060790, length=9, md5=0f8db59a3b7f2823f38a70c308361836
2023-08-18 23:21:26,546 INFO [dump-all-ok] transport.rpcRmRequestTimeout+SEATA_GROUP, 1692371060389, length=5, md5=5ecc613150de01b7e6824594426f24f4
2023-08-23 11:29:32,937 INFO [dump-all-ok] transport.threadFactory.workerThreadPrefix+SEATA_GROUP, 1692371060998, length=20, md5=a78ec7ef5d1631754c4e72ae8a3e9205
2023-08-18 23:21:26,546 INFO [dump-all-ok] transport.rpcTmRequestTimeout+SEATA_GROUP, 1692371060501, length=5, md5=5ecc613150de01b7e6824594426f24f4
2023-08-23 11:29:32,937 INFO [dump-all-ok] transport.threadFactory.serverExecutorThreadPrefix+SEATA_GROUP, 1692371061206, length=21, md5=11a36309f3d9df84fa8b59cf071fa2da
2023-08-18 23:21:26,546 INFO [dump-all-ok] transport.rpcTcRequestTimeout+SEATA_GROUP, 1692371060627, length=5, md5=5ecc613150de01b7e6824594426f24f4
2023-08-23 11:29:32,937 INFO [dump-all-ok] transport.threadFactory.shareBossWorker+SEATA_GROUP, 1692371061328, length=5, md5=68934a3e9455fa72420237eb05902327
2023-08-18 23:21:26,546 INFO [dump-all-ok] transport.threadFactory.bossThreadPrefix+SEATA_GROUP, 1692371060790, length=9, md5=0f8db59a3b7f2823f38a70c308361836
2023-08-23 11:29:32,937 INFO [dump-all-ok] transport.threadFactory.clientSelectorThreadPrefix+SEATA_GROUP, 1692371061559, length=19, md5=cd7ec5a06541e75f5a7913752322c3af
2023-08-18 23:21:26,546 INFO [dump-all-ok] transport.threadFactory.workerThreadPrefix+SEATA_GROUP, 1692371060998, length=20, md5=a78ec7ef5d1631754c4e72ae8a3e9205
2023-08-23 11:29:32,937 INFO [dump-all-ok] transport.threadFactory.clientSelectorThreadSize+SEATA_GROUP, 1692371061738, length=1, md5=c4ca4238a0b923820dcc509a6f75849b
2023-08-18 23:21:26,546 INFO [dump-all-ok] transport.threadFactory.serverExecutorThreadPrefix+SEATA_GROUP, 1692371061206, length=21, md5=11a36309f3d9df84fa8b59cf071fa2da
2023-08-23 11:29:32,937 INFO [dump-all-ok] transport.threadFactory.clientWorkerThreadPrefix+SEATA_GROUP, 1692371061908, length=23, md5=61cf4e69a56354cf72f46dc86414a57e
2023-08-18 23:21:26,547 INFO [dump-all-ok] transport.threadFactory.shareBossWorker+SEATA_GROUP, 1692371061328, length=5, md5=68934a3e9455fa72420237eb05902327
2023-08-23 11:29:32,937 INFO [dump-all-ok] transport.threadFactory.bossThreadSize+SEATA_GROUP, 1692371062019, length=1, md5=c4ca4238a0b923820dcc509a6f75849b
2023-08-18 23:21:26,547 INFO [dump-all-ok] transport.threadFactory.clientSelectorThreadPrefix+SEATA_GROUP, 1692371061559, length=19, md5=cd7ec5a06541e75f5a7913752322c3af
2023-08-23 11:29:32,937 INFO [dump-all-ok] transport.threadFactory.workerThreadSize+SEATA_GROUP, 1692371062149, length=7, md5=c21f969b5f03d33d43e04f8f136e7682
2023-08-18 23:21:26,547 INFO [dump-all-ok] transport.threadFactory.clientSelectorThreadSize+SEATA_GROUP, 1692371061738, length=1, md5=c4ca4238a0b923820dcc509a6f75849b
2023-08-23 11:29:32,937 INFO [dump-all-ok] transport.shutdown.wait+SEATA_GROUP, 1692371062236, length=1, md5=eccbc87e4b5ce2fe28308fd9f2a7baf3
2023-08-18 23:21:26,547 INFO [dump-all-ok] transport.threadFactory.clientWorkerThreadPrefix+SEATA_GROUP, 1692371061908, length=23, md5=61cf4e69a56354cf72f46dc86414a57e
2023-08-23 11:29:32,937 INFO [dump-all-ok] transport.serialization+SEATA_GROUP, 1692371062322, length=5, md5=b943081c423b9a5416a706524ee05d40
2023-08-18 23:21:26,547 INFO [dump-all-ok] transport.threadFactory.bossThreadSize+SEATA_GROUP, 1692371062019, length=1, md5=c4ca4238a0b923820dcc509a6f75849b
2023-08-23 11:29:32,938 INFO [dump-all-ok] transport.compressor+SEATA_GROUP, 1692371062402, length=4, md5=334c4a4c42fdb79d7ebc3e73b517e6f8
2023-08-18 23:21:26,547 INFO [dump-all-ok] transport.threadFactory.workerThreadSize+SEATA_GROUP, 1692371062149, length=7, md5=c21f969b5f03d33d43e04f8f136e7682
2023-08-23 11:29:32,938 INFO [dump-all-ok] service.vgroupMapping.default_tx_group+SEATA_GROUP, 1692371062529, length=7, md5=c21f969b5f03d33d43e04f8f136e7682
2023-08-18 23:21:26,547 INFO [dump-all-ok] transport.shutdown.wait+SEATA_GROUP, 1692371062236, length=1, md5=eccbc87e4b5ce2fe28308fd9f2a7baf3
2023-08-23 11:29:32,938 INFO [dump-all-ok] service.default.grouplist+SEATA_GROUP, 1692371062641, length=14, md5=c32ce0d3e264525dcdada751f98143a3
2023-08-18 23:21:26,547 INFO [dump-all-ok] transport.serialization+SEATA_GROUP, 1692371062322, length=5, md5=b943081c423b9a5416a706524ee05d40
2023-08-23 11:29:32,938 INFO [dump-all-ok] service.enableDegrade+SEATA_GROUP, 1692371062733, length=5, md5=68934a3e9455fa72420237eb05902327
2023-08-18 23:21:26,547 INFO [dump-all-ok] transport.compressor+SEATA_GROUP, 1692371062402, length=4, md5=334c4a4c42fdb79d7ebc3e73b517e6f8
2023-08-23 11:29:32,938 INFO [dump-all-ok] service.disableGlobalTransaction+SEATA_GROUP, 1692371062856, length=5, md5=68934a3e9455fa72420237eb05902327
2023-08-18 23:21:26,547 INFO [dump-all-ok] service.vgroupMapping.default_tx_group+SEATA_GROUP, 1692371062529, length=7, md5=c21f969b5f03d33d43e04f8f136e7682
2023-08-23 11:29:32,938 INFO [dump-all-ok] client.rm.asyncCommitBufferLimit+SEATA_GROUP, 1692371062971, length=5, md5=b7a782741f667201b54880c925faec4b
2023-08-18 23:21:26,547 INFO [dump-all-ok] service.default.grouplist+SEATA_GROUP, 1692371062641, length=14, md5=c32ce0d3e264525dcdada751f98143a3
2023-08-23 11:29:32,938 INFO [dump-all-ok] client.rm.lock.retryInterval+SEATA_GROUP, 1692371063072, length=2, md5=d3d9446802a44259755d38e6d163e820
2023-08-18 23:21:26,547 INFO [dump-all-ok] service.enableDegrade+SEATA_GROUP, 1692371062733, length=5, md5=68934a3e9455fa72420237eb05902327
2023-08-23 11:29:32,938 INFO [dump-all-ok] client.rm.lock.retryTimes+SEATA_GROUP, 1692371063182, length=2, md5=34173cb38f07f89ddbebc2ac9128303f
2023-08-18 23:21:26,548 INFO [dump-all-ok] service.disableGlobalTransaction+SEATA_GROUP, 1692371062856, length=5, md5=68934a3e9455fa72420237eb05902327
2023-08-23 11:29:32,938 INFO [dump-all-ok] client.rm.lock.retryPolicyBranchRollbackOnConflict+SEATA_GROUP, 1692371063374, length=4, md5=b326b5062b2f0e69046810717534cb09
2023-08-18 23:21:26,548 INFO [dump-all-ok] client.rm.asyncCommitBufferLimit+SEATA_GROUP, 1692371062971, length=5, md5=b7a782741f667201b54880c925faec4b
2023-08-23 11:29:32,938 INFO [dump-all-ok] client.rm.reportRetryCount+SEATA_GROUP, 1692371063457, length=1, md5=e4da3b7fbbce2345d7772b0674a318d5
2023-08-18 23:21:26,548 INFO [dump-all-ok] client.rm.lock.retryInterval+SEATA_GROUP, 1692371063072, length=2, md5=d3d9446802a44259755d38e6d163e820
2023-08-23 11:29:32,938 INFO [dump-all-ok] client.rm.tableMetaCheckEnable+SEATA_GROUP, 1692371063585, length=4, md5=b326b5062b2f0e69046810717534cb09
2023-08-18 23:21:26,548 INFO [dump-all-ok] client.rm.lock.retryTimes+SEATA_GROUP, 1692371063182, length=2, md5=34173cb38f07f89ddbebc2ac9128303f
2023-08-23 11:29:32,938 INFO [dump-all-ok] client.rm.tableMetaCheckerInterval+SEATA_GROUP, 1692371063748, length=5, md5=2b4226dd7ed6eb2d419b881f3ae9c97c
2023-08-18 23:21:26,548 INFO [dump-all-ok] client.rm.lock.retryPolicyBranchRollbackOnConflict+SEATA_GROUP, 1692371063374, length=4, md5=b326b5062b2f0e69046810717534cb09
2023-08-23 11:29:32,938 INFO [dump-all-ok] client.rm.sqlParserType+SEATA_GROUP, 1692371063860, length=5, md5=3d650fb8a5df01600281d48c47c9fa60
2023-08-18 23:21:26,548 INFO [dump-all-ok] client.rm.reportRetryCount+SEATA_GROUP, 1692371063457, length=1, md5=e4da3b7fbbce2345d7772b0674a318d5
2023-08-23 11:29:32,938 INFO [dump-all-ok] client.rm.reportSuccessEnable+SEATA_GROUP, 1692371063981, length=5, md5=68934a3e9455fa72420237eb05902327
2023-08-18 23:21:26,548 INFO [dump-all-ok] client.rm.tableMetaCheckEnable+SEATA_GROUP, 1692371063585, length=4, md5=b326b5062b2f0e69046810717534cb09
2023-08-23 11:29:32,939 INFO [dump-all-ok] client.rm.sagaBranchRegisterEnable+SEATA_GROUP, 1692371064088, length=5, md5=68934a3e9455fa72420237eb05902327
2023-08-18 23:21:26,548 INFO [dump-all-ok] client.rm.tableMetaCheckerInterval+SEATA_GROUP, 1692371063748, length=5, md5=2b4226dd7ed6eb2d419b881f3ae9c97c
2023-08-23 11:29:32,939 INFO [dump-all-ok] client.rm.sagaJsonParser+SEATA_GROUP, 1692371064185, length=8, md5=d00d3dbc0834f08411c7b6c4c39e9f00
2023-08-18 23:21:26,548 INFO [dump-all-ok] client.rm.sqlParserType+SEATA_GROUP, 1692371063860, length=5, md5=3d650fb8a5df01600281d48c47c9fa60
2023-08-23 11:29:32,939 INFO [dump-all-ok] client.rm.tccActionInterceptorOrder+SEATA_GROUP, 1692371064308, length=11, md5=f056d9efa5dae3872f9da035c83bcde8
2023-08-18 23:21:26,548 INFO [dump-all-ok] client.rm.reportSuccessEnable+SEATA_GROUP, 1692371063981, length=5, md5=68934a3e9455fa72420237eb05902327
2023-08-23 11:29:32,939 INFO [dump-all-ok] client.tm.commitRetryCount+SEATA_GROUP, 1692371064389, length=1, md5=e4da3b7fbbce2345d7772b0674a318d5
2023-08-18 23:21:26,548 INFO [dump-all-ok] client.rm.sagaBranchRegisterEnable+SEATA_GROUP, 1692371064088, length=5, md5=68934a3e9455fa72420237eb05902327
2023-08-23 11:29:32,939 INFO [dump-all-ok] client.tm.rollbackRetryCount+SEATA_GROUP, 1692371064473, length=1, md5=e4da3b7fbbce2345d7772b0674a318d5
2023-08-18 23:21:26,548 INFO [dump-all-ok] client.rm.sagaJsonParser+SEATA_GROUP, 1692371064185, length=8, md5=d00d3dbc0834f08411c7b6c4c39e9f00
2023-08-23 11:29:32,939 INFO [dump-all-ok] client.tm.defaultGlobalTransactionTimeout+SEATA_GROUP, 1692371064605, length=5, md5=2b4226dd7ed6eb2d419b881f3ae9c97c
2023-08-18 23:21:26,548 INFO [dump-all-ok] client.rm.tccActionInterceptorOrder+SEATA_GROUP, 1692371064308, length=11, md5=f056d9efa5dae3872f9da035c83bcde8
2023-08-23 11:29:32,939 INFO [dump-all-ok] client.tm.degradeCheck+SEATA_GROUP, 1692371064690, length=5, md5=68934a3e9455fa72420237eb05902327
2023-08-18 23:21:26,549 INFO [dump-all-ok] client.tm.commitRetryCount+SEATA_GROUP, 1692371064389, length=1, md5=e4da3b7fbbce2345d7772b0674a318d5
2023-08-23 11:29:32,939 INFO [dump-all-ok] client.tm.degradeCheckAllowTimes+SEATA_GROUP, 1692371064790, length=2, md5=d3d9446802a44259755d38e6d163e820
2023-08-18 23:21:26,549 INFO [dump-all-ok] client.tm.rollbackRetryCount+SEATA_GROUP, 1692371064473, length=1, md5=e4da3b7fbbce2345d7772b0674a318d5
2023-08-23 11:29:32,939 INFO [dump-all-ok] client.tm.degradeCheckPeriod+SEATA_GROUP, 1692371064890, length=4, md5=08f90c1a417155361a5c4b8d297e0d78
2023-08-18 23:21:26,549 INFO [dump-all-ok] client.tm.defaultGlobalTransactionTimeout+SEATA_GROUP, 1692371064605, length=5, md5=2b4226dd7ed6eb2d419b881f3ae9c97c
2023-08-23 11:29:32,939 INFO [dump-all-ok] client.tm.interceptorOrder+SEATA_GROUP, 1692371064991, length=11, md5=f056d9efa5dae3872f9da035c83bcde8
2023-08-18 23:21:26,549 INFO [dump-all-ok] client.tm.degradeCheck+SEATA_GROUP, 1692371064690, length=5, md5=68934a3e9455fa72420237eb05902327
2023-08-23 11:29:32,939 INFO [dump-all-ok] client.undo.dataValidation+SEATA_GROUP, 1692371065087, length=4, md5=b326b5062b2f0e69046810717534cb09
2023-08-18 23:21:26,549 INFO [dump-all-ok] client.tm.degradeCheckAllowTimes+SEATA_GROUP, 1692371064790, length=2, md5=d3d9446802a44259755d38e6d163e820
2023-08-23 11:29:32,939 INFO [dump-all-ok] client.undo.logSerialization+SEATA_GROUP, 1692371065189, length=7, md5=b41779690b83f182acc67d6388c7bac9
2023-08-18 23:21:26,549 INFO [dump-all-ok] client.tm.degradeCheckPeriod+SEATA_GROUP, 1692371064890, length=4, md5=08f90c1a417155361a5c4b8d297e0d78
2023-08-23 11:29:32,939 INFO [dump-all-ok] client.undo.onlyCareUpdateColumns+SEATA_GROUP, 1692371065291, length=4, md5=b326b5062b2f0e69046810717534cb09
2023-08-18 23:21:26,549 INFO [dump-all-ok] client.tm.interceptorOrder+SEATA_GROUP, 1692371064991, length=11, md5=f056d9efa5dae3872f9da035c83bcde8
2023-08-23 11:29:32,940 INFO [dump-all-ok] server.undo.logSaveDays+SEATA_GROUP, 1692371065366, length=1, md5=8f14e45fceea167a5a36dedd4bea2543
2023-08-18 23:21:26,549 INFO [dump-all-ok] client.undo.dataValidation+SEATA_GROUP, 1692371065087, length=4, md5=b326b5062b2f0e69046810717534cb09
2023-08-23 11:29:32,940 INFO [dump-all-ok] server.undo.logDeletePeriod+SEATA_GROUP, 1692371065467, length=8, md5=f4c122804fe9076cb2710f55c3c6e346
2023-08-18 23:21:26,549 INFO [dump-all-ok] client.undo.logSerialization+SEATA_GROUP, 1692371065189, length=7, md5=b41779690b83f182acc67d6388c7bac9
2023-08-23 11:29:32,940 INFO [dump-all-ok] client.undo.logTable+SEATA_GROUP, 1692371065564, length=8, md5=2842d229c24afe9e61437135e8306614
2023-08-18 23:21:26,549 INFO [dump-all-ok] client.undo.onlyCareUpdateColumns+SEATA_GROUP, 1692371065291, length=4, md5=b326b5062b2f0e69046810717534cb09
2023-08-23 11:29:32,940 INFO [dump-all-ok] client.undo.compress.enable+SEATA_GROUP, 1692371065664, length=4, md5=b326b5062b2f0e69046810717534cb09
2023-08-18 23:21:26,549 INFO [dump-all-ok] server.undo.logSaveDays+SEATA_GROUP, 1692371065366, length=1, md5=8f14e45fceea167a5a36dedd4bea2543
2023-08-23 11:29:32,940 INFO [dump-all-ok] client.undo.compress.type+SEATA_GROUP, 1692371065757, length=3, md5=adcdbd79a8d84175c229b192aadc02f2
2023-08-18 23:21:26,549 INFO [dump-all-ok] server.undo.logDeletePeriod+SEATA_GROUP, 1692371065467, length=8, md5=f4c122804fe9076cb2710f55c3c6e346
2023-08-23 11:29:32,940 INFO [dump-all-ok] client.undo.compress.threshold+SEATA_GROUP, 1692371065854, length=3, md5=bd44a6458bdbff0b5cac721ba361f035
2023-08-18 23:21:26,549 INFO [dump-all-ok] client.undo.logTable+SEATA_GROUP, 1692371065564, length=8, md5=2842d229c24afe9e61437135e8306614
2023-08-23 11:29:32,940 INFO [dump-all-ok] tcc.fence.logTableName+SEATA_GROUP, 1692371065954, length=13, md5=db229b665c7cfd5abc03971d4ed284c6
2023-08-18 23:21:26,549 INFO [dump-all-ok] client.undo.compress.enable+SEATA_GROUP, 1692371065664, length=4, md5=b326b5062b2f0e69046810717534cb09
2023-08-23 11:29:32,940 INFO [dump-all-ok] tcc.fence.cleanPeriod+SEATA_GROUP, 1692371066035, length=2, md5=7c68645d71b803bf0ba2f22519f73e08
2023-08-18 23:21:26,549 INFO [dump-all-ok] client.undo.compress.type+SEATA_GROUP, 1692371065757, length=3, md5=adcdbd79a8d84175c229b192aadc02f2
2023-08-23 11:29:32,941 INFO [dump-all-ok] log.exceptionRate+SEATA_GROUP, 1692371066106, length=3, md5=f899139df5e1059396431415e770c6dd
2023-08-18 23:21:26,549 INFO [dump-all-ok] client.undo.compress.threshold+SEATA_GROUP, 1692371065854, length=3, md5=bd44a6458bdbff0b5cac721ba361f035
2023-08-23 11:29:32,941 INFO [dump-all-ok] store.mode+SEATA_GROUP, 1692372543311, length=2, md5=d77d5e503ad1439f585ac494268b351b
2023-08-18 23:21:26,549 INFO [dump-all-ok] tcc.fence.logTableName+SEATA_GROUP, 1692371065954, length=13, md5=db229b665c7cfd5abc03971d4ed284c6
2023-08-23 11:29:32,941 INFO [dump-all-ok] store.lock.mode+SEATA_GROUP, 1692371066235, length=4, md5=8c7dd922ad47494fc02c388e12c00eac
2023-08-18 23:21:26,550 INFO [dump-all-ok] tcc.fence.cleanPeriod+SEATA_GROUP, 1692371066035, length=2, md5=7c68645d71b803bf0ba2f22519f73e08
2023-08-23 11:29:32,941 INFO [dump-all-ok] store.session.mode+SEATA_GROUP, 1692372582607, length=2, md5=d77d5e503ad1439f585ac494268b351b
2023-08-18 23:21:26,550 INFO [dump-all-ok] log.exceptionRate+SEATA_GROUP, 1692371066106, length=3, md5=f899139df5e1059396431415e770c6dd
2023-08-23 11:29:32,941 INFO [dump-all-ok] store.file.dir+SEATA_GROUP, 1692371066482, length=15, md5=6a8dec07c44c33a8a9247cba5710bbb2
2023-08-18 23:21:26,550 INFO [dump-all-ok] store.mode+SEATA_GROUP, 1692371066171, length=4, md5=8c7dd922ad47494fc02c388e12c00eac
2023-08-23 11:29:32,941 INFO [dump-all-ok] store.file.maxBranchSessionSize+SEATA_GROUP, 1692371066584, length=5, md5=c76fe1d8e08462434d800487585be217
2023-08-18 23:21:26,550 INFO [dump-all-ok] store.lock.mode+SEATA_GROUP, 1692371066235, length=4, md5=8c7dd922ad47494fc02c388e12c00eac
2023-08-23 11:29:32,941 INFO [dump-all-ok] store.file.maxGlobalSessionSize+SEATA_GROUP, 1692371066692, length=3, md5=10a7cdd970fe135cf4f7bb55c0e3b59f
2023-08-18 23:21:26,550 INFO [dump-all-ok] store.session.mode+SEATA_GROUP, 1692371066315, length=4, md5=8c7dd922ad47494fc02c388e12c00eac
2023-08-23 11:29:32,941 INFO [dump-all-ok] store.file.fileWriteBufferCacheSize+SEATA_GROUP, 1692371066816, length=5, md5=c76fe1d8e08462434d800487585be217
2023-08-18 23:21:26,550 INFO [dump-all-ok] store.file.dir+SEATA_GROUP, 1692371066482, length=15, md5=6a8dec07c44c33a8a9247cba5710bbb2
2023-08-23 11:29:32,941 INFO [dump-all-ok] store.file.flushDiskMode+SEATA_GROUP, 1692371066904, length=5, md5=0df93e34273b367bb63bad28c94c78d5
2023-08-18 23:21:26,550 INFO [dump-all-ok] store.file.maxBranchSessionSize+SEATA_GROUP, 1692371066584, length=5, md5=c76fe1d8e08462434d800487585be217
2023-08-23 11:29:32,941 INFO [dump-all-ok] store.file.sessionReloadReadSize+SEATA_GROUP, 1692371067011, length=3, md5=f899139df5e1059396431415e770c6dd
2023-08-18 23:21:26,550 INFO [dump-all-ok] store.file.maxGlobalSessionSize+SEATA_GROUP, 1692371066692, length=3, md5=10a7cdd970fe135cf4f7bb55c0e3b59f
2023-08-23 11:29:32,941 INFO [dump-all-ok] store.db.datasource+SEATA_GROUP, 1692371067081, length=5, md5=3d650fb8a5df01600281d48c47c9fa60
2023-08-18 23:21:26,550 INFO [dump-all-ok] store.file.fileWriteBufferCacheSize+SEATA_GROUP, 1692371066816, length=5, md5=c76fe1d8e08462434d800487585be217
2023-08-23 11:29:32,941 INFO [dump-all-ok] store.db.dbType+SEATA_GROUP, 1692371067147, length=5, md5=81c3b080dad537de7e10e0987a4bf52e
2023-08-18 23:21:26,550 INFO [dump-all-ok] store.file.flushDiskMode+SEATA_GROUP, 1692371066904, length=5, md5=0df93e34273b367bb63bad28c94c78d5
2023-08-23 11:29:32,941 INFO [dump-all-ok] store.db.driverClassName+SEATA_GROUP, 1692372644698, length=24, md5=33763409bb7f4838bde4fae9540433e4
2023-08-18 23:21:26,550 INFO [dump-all-ok] store.file.sessionReloadReadSize+SEATA_GROUP, 1692371067011, length=3, md5=f899139df5e1059396431415e770c6dd
2023-08-23 11:29:32,941 INFO [dump-all-ok] store.db.url+SEATA_GROUP, 1692372736991, length=84, md5=c27c883f9892c5282ba28b6741c01c21
2023-08-18 23:21:26,550 INFO [dump-all-ok] store.db.datasource+SEATA_GROUP, 1692371067081, length=5, md5=3d650fb8a5df01600281d48c47c9fa60
2023-08-23 11:29:32,942 INFO [dump-all-ok] store.db.user+SEATA_GROUP, 1692372772799, length=5, md5=b943081c423b9a5416a706524ee05d40
2023-08-18 23:21:26,550 INFO [dump-all-ok] store.db.dbType+SEATA_GROUP, 1692371067147, length=5, md5=81c3b080dad537de7e10e0987a4bf52e
2023-08-23 11:29:32,942 INFO [dump-all-ok] store.db.password+SEATA_GROUP, 1692372786495, length=5, md5=b943081c423b9a5416a706524ee05d40
2023-08-18 23:21:26,550 INFO [dump-all-ok] store.db.driverClassName+SEATA_GROUP, 1692371067264, length=21, md5=683cf0c3a5a56cec94dfac94ca16d760
2023-08-23 11:29:32,942 INFO [dump-all-ok] store.db.minConn+SEATA_GROUP, 1692371067688, length=1, md5=e4da3b7fbbce2345d7772b0674a318d5
2023-08-18 23:21:26,550 INFO [dump-all-ok] store.db.url+SEATA_GROUP, 1692371067477, length=79, md5=030ea5ff5c2ef043adf9826c70570b0b
2023-08-23 11:29:32,942 INFO [dump-all-ok] store.db.maxConn+SEATA_GROUP, 1692371067756, length=2, md5=34173cb38f07f89ddbebc2ac9128303f
2023-08-18 23:21:26,550 INFO [dump-all-ok] store.db.user+SEATA_GROUP, 1692371067545, length=8, md5=14c4b06b824ec593239362517f538b29
2023-08-23 11:29:32,942 INFO [dump-all-ok] store.db.globalTable+SEATA_GROUP, 1692371067858, length=12, md5=8b28fb6bb4c4f984df2709381f8eba2b
2023-08-18 23:21:26,551 INFO [dump-all-ok] store.db.password+SEATA_GROUP, 1692371067625, length=8, md5=5f4dcc3b5aa765d61d8327deb882cf99
2023-08-23 11:29:32,942 INFO [dump-all-ok] store.db.branchTable+SEATA_GROUP, 1692371067951, length=12, md5=54bcdac38cf62e103fe115bcf46a660c
2023-08-18 23:21:26,551 INFO [dump-all-ok] store.db.minConn+SEATA_GROUP, 1692371067688, length=1, md5=e4da3b7fbbce2345d7772b0674a318d5
2023-08-23 11:29:32,942 INFO [dump-all-ok] store.db.distributedLockTable+SEATA_GROUP, 1692371068089, length=16, md5=26146b7a3a4907101617cb0f19bf613f
2023-08-18 23:21:26,551 INFO [dump-all-ok] store.db.maxConn+SEATA_GROUP, 1692371067756, length=2, md5=34173cb38f07f89ddbebc2ac9128303f
2023-08-23 11:29:32,942 INFO [dump-all-ok] store.db.queryLimit+SEATA_GROUP, 1692371068176, length=3, md5=f899139df5e1059396431415e770c6dd
2023-08-18 23:21:26,551 INFO [dump-all-ok] store.db.globalTable+SEATA_GROUP, 1692371067858, length=12, md5=8b28fb6bb4c4f984df2709381f8eba2b
2023-08-23 11:29:32,942 INFO [dump-all-ok] store.db.lockTable+SEATA_GROUP, 1692371068268, length=10, md5=55e0cae3b6dc6696b768db90098b8f2f
2023-08-18 23:21:26,551 INFO [dump-all-ok] store.db.branchTable+SEATA_GROUP, 1692371067951, length=12, md5=54bcdac38cf62e103fe115bcf46a660c
2023-08-23 11:29:32,942 INFO [dump-all-ok] store.db.maxWait+SEATA_GROUP, 1692371068338, length=4, md5=a35fe7f7fe8217b4369a0af4244d1fca
2023-08-18 23:21:26,551 INFO [dump-all-ok] store.db.distributedLockTable+SEATA_GROUP, 1692371068089, length=16, md5=26146b7a3a4907101617cb0f19bf613f
2023-08-23 11:29:32,942 INFO [dump-all-ok] store.redis.mode+SEATA_GROUP, 1692371068412, length=6, md5=dd5c07036f2975ff4bce568b6511d3bc
2023-08-18 23:21:26,551 INFO [dump-all-ok] store.db.queryLimit+SEATA_GROUP, 1692371068176, length=3, md5=f899139df5e1059396431415e770c6dd
2023-08-23 11:29:32,943 INFO [dump-all-ok] store.redis.single.host+SEATA_GROUP, 1692371068505, length=9, md5=f528764d624db129b32c21fbca0cb8d6
2023-08-18 23:21:26,551 INFO [dump-all-ok] store.db.lockTable+SEATA_GROUP, 1692371068268, length=10, md5=55e0cae3b6dc6696b768db90098b8f2f
2023-08-23 11:29:32,943 INFO [dump-all-ok] store.redis.single.port+SEATA_GROUP, 1692371068583, length=4, md5=92c3b916311a5517d9290576e3ea37ad
2023-08-18 23:21:26,551 INFO [dump-all-ok] store.db.maxWait+SEATA_GROUP, 1692371068338, length=4, md5=a35fe7f7fe8217b4369a0af4244d1fca
2023-08-23 11:29:32,943 INFO [dump-all-ok] store.redis.maxConn+SEATA_GROUP, 1692371068843, length=2, md5=d3d9446802a44259755d38e6d163e820
2023-08-18 23:21:26,551 INFO [dump-all-ok] store.redis.mode+SEATA_GROUP, 1692371068412, length=6, md5=dd5c07036f2975ff4bce568b6511d3bc
2023-08-23 11:29:32,943 INFO [dump-all-ok] store.redis.minConn+SEATA_GROUP, 1692371068915, length=1, md5=c4ca4238a0b923820dcc509a6f75849b
2023-08-18 23:21:26,551 INFO [dump-all-ok] store.redis.single.host+SEATA_GROUP, 1692371068505, length=9, md5=f528764d624db129b32c21fbca0cb8d6
2023-08-23 11:29:32,943 INFO [dump-all-ok] store.redis.maxTotal+SEATA_GROUP, 1692371069005, length=3, md5=f899139df5e1059396431415e770c6dd
2023-08-18 23:21:26,551 INFO [dump-all-ok] store.redis.single.port+SEATA_GROUP, 1692371068583, length=4, md5=92c3b916311a5517d9290576e3ea37ad
2023-08-23 11:29:32,943 INFO [dump-all-ok] store.redis.database+SEATA_GROUP, 1692371069088, length=1, md5=cfcd208495d565ef66e7dff9f98764da
2023-08-18 23:21:26,551 INFO [dump-all-ok] store.redis.maxConn+SEATA_GROUP, 1692371068843, length=2, md5=d3d9446802a44259755d38e6d163e820
2023-08-23 11:29:32,943 INFO [dump-all-ok] store.redis.queryLimit+SEATA_GROUP, 1692371069231, length=3, md5=f899139df5e1059396431415e770c6dd
2023-08-18 23:21:26,552 INFO [dump-all-ok] store.redis.minConn+SEATA_GROUP, 1692371068915, length=1, md5=c4ca4238a0b923820dcc509a6f75849b
2023-08-23 11:29:32,943 INFO [dump-all-ok] server.recovery.committingRetryPeriod+SEATA_GROUP, 1692371069365, length=4, md5=a9b7ba70783b617e9998dc4dd82eb3c5
2023-08-18 23:21:26,552 INFO [dump-all-ok] store.redis.maxTotal+SEATA_GROUP, 1692371069005, length=3, md5=f899139df5e1059396431415e770c6dd
2023-08-23 11:29:32,943 INFO [dump-all-ok] server.recovery.asynCommittingRetryPeriod+SEATA_GROUP, 1692371069490, length=4, md5=a9b7ba70783b617e9998dc4dd82eb3c5
2023-08-18 23:21:26,552 INFO [dump-all-ok] store.redis.database+SEATA_GROUP, 1692371069088, length=1, md5=cfcd208495d565ef66e7dff9f98764da
2023-08-23 11:29:32,943 INFO [dump-all-ok] server.recovery.rollbackingRetryPeriod+SEATA_GROUP, 1692371069612, length=4, md5=a9b7ba70783b617e9998dc4dd82eb3c5
2023-08-18 23:21:26,552 INFO [dump-all-ok] store.redis.queryLimit+SEATA_GROUP, 1692371069231, length=3, md5=f899139df5e1059396431415e770c6dd
2023-08-23 11:29:32,943 INFO [dump-all-ok] server.recovery.timeoutRetryPeriod+SEATA_GROUP, 1692371069721, length=4, md5=a9b7ba70783b617e9998dc4dd82eb3c5
2023-08-18 23:21:26,552 INFO [dump-all-ok] server.recovery.committingRetryPeriod+SEATA_GROUP, 1692371069365, length=4, md5=a9b7ba70783b617e9998dc4dd82eb3c5
2023-08-23 11:29:32,943 INFO [dump-all-ok] server.maxCommitRetryTimeout+SEATA_GROUP, 1692371069815, length=2, md5=6bb61e3b7bce0931da574d19d1d82c88
2023-08-18 23:21:26,552 INFO [dump-all-ok] server.recovery.asynCommittingRetryPeriod+SEATA_GROUP, 1692371069490, length=4, md5=a9b7ba70783b617e9998dc4dd82eb3c5
2023-08-23 11:29:32,943 INFO [dump-all-ok] server.maxRollbackRetryTimeout+SEATA_GROUP, 1692371069912, length=2, md5=6bb61e3b7bce0931da574d19d1d82c88
2023-08-18 23:21:26,552 INFO [dump-all-ok] server.recovery.rollbackingRetryPeriod+SEATA_GROUP, 1692371069612, length=4, md5=a9b7ba70783b617e9998dc4dd82eb3c5
2023-08-23 11:29:32,943 INFO [dump-all-ok] server.rollbackRetryTimeoutUnlockEnable+SEATA_GROUP, 1692371070023, length=5, md5=68934a3e9455fa72420237eb05902327
2023-08-18 23:21:26,552 INFO [dump-all-ok] server.recovery.timeoutRetryPeriod+SEATA_GROUP, 1692371069721, length=4, md5=a9b7ba70783b617e9998dc4dd82eb3c5
2023-08-23 11:29:32,944 INFO [dump-all-ok] server.distributedLockExpireTime+SEATA_GROUP, 1692371070123, length=5, md5=b7a782741f667201b54880c925faec4b
2023-08-18 23:21:26,552 INFO [dump-all-ok] server.maxCommitRetryTimeout+SEATA_GROUP, 1692371069815, length=2, md5=6bb61e3b7bce0931da574d19d1d82c88
2023-08-23 11:29:32,944 INFO [dump-all-ok] server.xaerNotaRetryTimeout+SEATA_GROUP, 1692371070222, length=5, md5=2b4226dd7ed6eb2d419b881f3ae9c97c
2023-08-18 23:21:26,552 INFO [dump-all-ok] server.maxRollbackRetryTimeout+SEATA_GROUP, 1692371069912, length=2, md5=6bb61e3b7bce0931da574d19d1d82c88
2023-08-23 11:29:32,944 INFO [dump-all-ok] server.session.branchAsyncQueueSize+SEATA_GROUP, 1692371070330, length=4, md5=a35fe7f7fe8217b4369a0af4244d1fca
2023-08-18 23:21:26,552 INFO [dump-all-ok] server.rollbackRetryTimeoutUnlockEnable+SEATA_GROUP, 1692371070023, length=5, md5=68934a3e9455fa72420237eb05902327
2023-08-23 11:29:32,944 INFO [dump-all-ok] server.session.enableBranchAsyncRemove+SEATA_GROUP, 1692371070445, length=5, md5=68934a3e9455fa72420237eb05902327
2023-08-18 23:21:26,552 INFO [dump-all-ok] server.distributedLockExpireTime+SEATA_GROUP, 1692371070123, length=5, md5=b7a782741f667201b54880c925faec4b
2023-08-23 11:29:32,944 INFO [dump-all-ok] server.enableParallelRequestHandle+SEATA_GROUP, 1692371070556, length=5, md5=68934a3e9455fa72420237eb05902327
2023-08-18 23:21:26,552 INFO [dump-all-ok] server.xaerNotaRetryTimeout+SEATA_GROUP, 1692371070222, length=5, md5=2b4226dd7ed6eb2d419b881f3ae9c97c
2023-08-23 11:29:32,945 INFO [dump-all-ok] metrics.enabled+SEATA_GROUP, 1692371070646, length=5, md5=68934a3e9455fa72420237eb05902327
2023-08-18 23:21:26,552 INFO [dump-all-ok] server.session.branchAsyncQueueSize+SEATA_GROUP, 1692371070330, length=4, md5=a35fe7f7fe8217b4369a0af4244d1fca
2023-08-23 11:29:32,945 INFO [dump-all-ok] metrics.registryType+SEATA_GROUP, 1692371070731, length=7, md5=7cf74ca49c304df8150205fc915cd465
2023-08-18 23:21:26,552 INFO [dump-all-ok] server.session.enableBranchAsyncRemove+SEATA_GROUP, 1692371070445, length=5, md5=68934a3e9455fa72420237eb05902327
2023-08-23 11:29:32,945 INFO [dump-all-ok] metrics.exporterList+SEATA_GROUP, 1692371070823, length=10, md5=e4f00638b8a10e6994e67af2f832d51c
2023-08-18 23:21:26,552 INFO [dump-all-ok] server.enableParallelRequestHandle+SEATA_GROUP, 1692371070556, length=5, md5=68934a3e9455fa72420237eb05902327
2023-08-23 11:29:32,945 INFO [dump-all-ok] metrics.exporterPrometheusPort+SEATA_GROUP, 1692371070925, length=4, md5=7b9dc501afe4ee11c56a4831e20cee71
2023-08-18 23:21:26,552 INFO [dump-all-ok] metrics.enabled+SEATA_GROUP, 1692371070646, length=5, md5=68934a3e9455fa72420237eb05902327
2023-08-23 11:29:32,945 INFO [dump-all-ok] service.vgroupMapping.borrowservice-seata-service-group+SEATA_GROUP, 1692371434737, length=7, md5=c21f969b5f03d33d43e04f8f136e7682
2023-08-18 23:21:26,553 INFO [dump-all-ok] metrics.registryType+SEATA_GROUP, 1692371070731, length=7, md5=7cf74ca49c304df8150205fc915cd465
2023-08-23 11:29:32,945 INFO [dump-all-ok] service.vgroupMapping.bookservice-seata-service-group+SEATA_GROUP, 1692371511283, length=7, md5=c21f969b5f03d33d43e04f8f136e7682
2023-08-18 23:21:26,553 INFO [dump-all-ok] metrics.exporterList+SEATA_GROUP, 1692371070823, length=10, md5=e4f00638b8a10e6994e67af2f832d51c
2023-08-18 23:21:26,553 INFO [dump-all-ok] metrics.exporterPrometheusPort+SEATA_GROUP, 1692371070925, length=4, md5=7b9dc501afe4ee11c56a4831e20cee71
2023-08-18 23:21:26,553 INFO [dump-all-ok] service.vgroupMapping.borrowservice-seata-service-group+SEATA_GROUP, 1692371434737, length=7, md5=c21f969b5f03d33d43e04f8f136e7682
2023-08-18 23:21:26,553 INFO [dump-all-ok] service.vgroupMapping.bookservice-seata-service-group+SEATA_GROUP, 1692371511283, length=7, md5=c21f969b5f03d33d43e04f8f136e7682
2023-08-18 23:21:26,553 INFO [dump-all-ok] service.vgroupMapping.userservice-seata-service-group+SEATA_GROUP, 1692371534662, length=7, md5=c21f969b5f03d33d43e04f8f136e7682
2023-08-18 23:29:03,390 INFO [dump-task] add task. groupKey=store.mode+SEATA_GROUP+c0495138-b5b3-440d-8f1c-dc8cc9ba5fbc, taskKey=store.mode+SEATA_GROUP+c0495138-b5b3-440d-8f1c-dc8cc9ba5fbc+false+null
2023-08-18 23:29:42,625 INFO [dump-task] add task. groupKey=store.session.mode+SEATA_GROUP+c0495138-b5b3-440d-8f1c-dc8cc9ba5fbc, taskKey=store.session.mode+SEATA_GROUP+c0495138-b5b3-440d-8f1c-dc8cc9ba5fbc+false+null
2023-08-18 23:30:44,715 INFO [dump-task] add task. groupKey=store.db.driverClassName+SEATA_GROUP+c0495138-b5b3-440d-8f1c-dc8cc9ba5fbc, taskKey=store.db.driverClassName+SEATA_GROUP+c0495138-b5b3-440d-8f1c-dc8cc9ba5fbc+false+null
2023-08-18 23:32:17,009 INFO [dump-task] add task. groupKey=store.db.url+SEATA_GROUP+c0495138-b5b3-440d-8f1c-dc8cc9ba5fbc, taskKey=store.db.url+SEATA_GROUP+c0495138-b5b3-440d-8f1c-dc8cc9ba5fbc+false+null
2023-08-18 23:32:52,828 INFO [dump-task] add task. groupKey=store.db.user+SEATA_GROUP+c0495138-b5b3-440d-8f1c-dc8cc9ba5fbc, taskKey=store.db.user+SEATA_GROUP+c0495138-b5b3-440d-8f1c-dc8cc9ba5fbc+false+null
2023-08-18 23:33:06,523 INFO [dump-task] add task. groupKey=store.db.password+SEATA_GROUP+c0495138-b5b3-440d-8f1c-dc8cc9ba5fbc, taskKey=store.db.password+SEATA_GROUP+c0495138-b5b3-440d-8f1c-dc8cc9ba5fbc+false+null
2023-08-23 11:29:32,945 INFO [dump-all-ok] service.vgroupMapping.userservice-seata-service-group+SEATA_GROUP, 1692371534662, length=7, md5=c21f969b5f03d33d43e04f8f136e7682
+1 -5
View File
@@ -1,6 +1,2 @@
2023-08-18 16:52:08,248 WARN isQuickStart:false
2023-08-18 17:51:18,495 WARN isQuickStart:false
2023-08-18 23:21:26,517 WARN isQuickStart:false
2023-08-23 11:29:32,760 WARN isQuickStart:false
+661 -19067
View File
File diff suppressed because it is too large Load Diff
+41 -371
View File
@@ -1,412 +1,82 @@
2023-08-18 16:52:04,527 INFO notifyConnectTimeout:200
2023-08-23 11:29:28,637 INFO notifyConnectTimeout:200
2023-08-18 16:52:04,530 INFO notifySocketTimeout:8000
2023-08-23 11:29:28,640 INFO notifySocketTimeout:8000
2023-08-18 16:52:04,530 INFO isHealthCheck:true
2023-08-23 11:29:28,640 INFO isHealthCheck:true
2023-08-18 16:52:04,530 INFO maxHealthCheckFailCount:12
2023-08-23 11:29:28,640 INFO maxHealthCheckFailCount:12
2023-08-18 16:52:04,530 INFO maxContent:10485760
2023-08-23 11:29:28,640 INFO maxContent:10485760
2023-08-18 16:52:06,647 INFO use local db service for init
2023-08-23 11:29:31,148 INFO use local db service for init
2023-08-18 16:52:07,199 WARN Lexical error at line 4, column 66. Encountered: <EOF> after : "".
2023-08-23 11:29:31,561 WARN Lexical error at line 4, column 66. Encountered: <EOF> after : "".
2023-08-18 16:52:07,204 WARN Syntax error: Encountered "*" at line 1, column 1.
2023-08-23 11:29:31,566 WARN Syntax error: Encountered "*" at line 1, column 1.
2023-08-18 16:52:07,247 WARN Table/View 'CONFIG_INFO' already exists in Schema 'NACOS'.
2023-08-23 11:29:31,617 WARN Table/View 'CONFIG_INFO' already exists in Schema 'NACOS'.
2023-08-18 16:52:07,306 WARN Table/View 'HIS_CONFIG_INFO' already exists in Schema 'NACOS'.
2023-08-23 11:29:31,670 WARN Table/View 'HIS_CONFIG_INFO' already exists in Schema 'NACOS'.
2023-08-18 16:52:07,326 WARN Table/View 'CONFIG_INFO_BETA' already exists in Schema 'NACOS'.
2023-08-23 11:29:31,687 WARN Table/View 'CONFIG_INFO_BETA' already exists in Schema 'NACOS'.
2023-08-18 16:52:07,336 WARN Table/View 'CONFIG_INFO_TAG' already exists in Schema 'NACOS'.
2023-08-23 11:29:31,695 WARN Table/View 'CONFIG_INFO_TAG' already exists in Schema 'NACOS'.
2023-08-18 16:52:07,342 WARN Table/View 'CONFIG_INFO_AGGR' already exists in Schema 'NACOS'.
2023-08-23 11:29:31,704 WARN Table/View 'CONFIG_INFO_AGGR' already exists in Schema 'NACOS'.
2023-08-18 16:52:07,351 WARN Table/View 'APP_LIST' already exists in Schema 'NACOS'.
2023-08-23 11:29:31,713 WARN Table/View 'APP_LIST' already exists in Schema 'NACOS'.
2023-08-18 16:52:07,357 WARN Table/View 'APP_CONFIGDATA_RELATION_SUBS' already exists in Schema 'NACOS'.
2023-08-23 11:29:31,721 WARN Table/View 'APP_CONFIGDATA_RELATION_SUBS' already exists in Schema 'NACOS'.
2023-08-18 16:52:07,361 WARN Table/View 'APP_CONFIGDATA_RELATION_PUBS' already exists in Schema 'NACOS'.
2023-08-23 11:29:31,728 WARN Table/View 'APP_CONFIGDATA_RELATION_PUBS' already exists in Schema 'NACOS'.
2023-08-18 16:52:07,372 WARN Table/View 'CONFIG_TAGS_RELATION' already exists in Schema 'NACOS'.
2023-08-23 11:29:31,738 WARN Table/View 'CONFIG_TAGS_RELATION' already exists in Schema 'NACOS'.
2023-08-18 16:52:07,385 WARN Table/View 'GROUP_CAPACITY' already exists in Schema 'NACOS'.
2023-08-23 11:29:31,752 WARN Table/View 'GROUP_CAPACITY' already exists in Schema 'NACOS'.
2023-08-18 16:52:07,390 WARN Table/View 'TENANT_CAPACITY' already exists in Schema 'NACOS'.
2023-08-23 11:29:31,761 WARN Table/View 'TENANT_CAPACITY' already exists in Schema 'NACOS'.
2023-08-18 16:52:07,396 WARN Table/View 'TENANT_INFO' already exists in Schema 'NACOS'.
2023-08-23 11:29:31,767 WARN Table/View 'TENANT_INFO' already exists in Schema 'NACOS'.
2023-08-18 16:52:07,403 WARN Table/View 'USERS' already exists in Schema 'NACOS'.
2023-08-23 11:29:31,776 WARN Table/View 'USERS' already exists in Schema 'NACOS'.
2023-08-18 16:52:07,407 WARN Table/View 'ROLES' already exists in Schema 'NACOS'.
2023-08-23 11:29:31,784 WARN Table/View 'ROLES' already exists in Schema 'NACOS'.
2023-08-18 16:52:07,411 WARN Table/View 'PERMISSIONS' already exists in Schema 'NACOS'.
2023-08-23 11:29:31,791 WARN Table/View 'PERMISSIONS' already exists in Schema 'NACOS'.
2023-08-18 16:52:07,457 WARN The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'SQL230816095933804' defined on 'USERS'.
2023-08-23 11:29:31,855 WARN The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'SQL230816095933804' defined on 'USERS'.
2023-08-18 16:52:07,470 WARN The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'UK_USERNAME_ROLE' defined on 'ROLES'.
2023-08-23 11:29:31,866 WARN The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'UK_USERNAME_ROLE' defined on 'ROLES'.
2023-08-18 16:52:07,471 WARN Lexical error at line 4, column 13. Encountered: "`" (96), after : "".
2023-08-23 11:29:31,867 WARN Lexical error at line 4, column 13. Encountered: "`" (96), after : "".
2023-08-18 16:52:07,471 WARN Lexical error at line 1, column 13. Encountered: "`" (96), after : "".
2023-08-23 11:29:31,867 WARN Lexical error at line 1, column 13. Encountered: "`" (96), after : "".
2023-08-18 16:52:07,472 WARN Lexical error at line 1, column 13. Encountered: "`" (96), after : "".
2023-08-23 11:29:31,867 WARN Lexical error at line 1, column 13. Encountered: "`" (96), after : "".
2023-08-18 16:52:07,472 WARN Lexical error at line 1, column 13. Encountered: "`" (96), after : "".
2023-08-23 11:29:31,867 WARN Lexical error at line 1, column 13. Encountered: "`" (96), after : "".
2023-08-18 16:52:07,472 INFO use StandaloneDatabaseOperateImpl
2023-08-23 11:29:31,867 INFO use StandaloneDatabaseOperateImpl
2023-08-18 16:52:08,247 WARN DumpService start
2023-08-23 11:29:32,760 WARN DumpService start
2023-08-18 16:52:08,248 INFO start clear all config-info.
2023-08-23 11:29:32,761 INFO start clear all config-info.
2023-08-18 16:52:08,252 WARN clear all config-info failed.
2023-08-23 11:29:32,762 WARN clear all config-info failed.
2023-08-18 16:52:08,252 WARN clear all config-info-tenant failed.
2023-08-23 11:29:32,762 WARN clear all config-info-tenant failed.
2023-08-18 16:52:08,385 INFO [all-dump] 666174971698167808 / 666174971698167808
2023-08-23 11:29:32,945 INFO [all-dump] 666652302272114688 / 666652302272114688
2023-08-18 16:52:08,385 INFO start clear all config-info-beta.
2023-08-23 11:29:32,945 INFO start clear all config-info-beta.
2023-08-18 16:52:08,385 WARN clear all config-info-beta failed.
2023-08-23 11:29:32,945 WARN clear all config-info-beta failed.
2023-08-18 16:52:08,385 WARN clear all config-info-beta-tenant failed.
2023-08-23 11:29:32,945 WARN clear all config-info-beta-tenant failed.
2023-08-18 16:52:08,396 INFO start clear all config-info-tag.
2023-08-23 11:29:32,960 INFO start clear all config-info-tag.
2023-08-18 16:52:08,396 WARN clear all config-info-tag failed.
2023-08-23 11:29:32,960 WARN clear all config-info-tag failed.
2023-08-18 16:52:08,396 WARN clear all config-info-tag-tenant failed.
2023-08-18 17:51:15,321 INFO notifyConnectTimeout:200
2023-08-18 17:51:15,323 INFO notifySocketTimeout:8000
2023-08-18 17:51:15,324 INFO isHealthCheck:true
2023-08-18 17:51:15,324 INFO maxHealthCheckFailCount:12
2023-08-18 17:51:15,324 INFO maxContent:10485760
2023-08-18 17:51:17,199 INFO use local db service for init
2023-08-18 17:51:17,588 WARN Lexical error at line 4, column 66. Encountered: <EOF> after : "".
2023-08-18 17:51:17,592 WARN Syntax error: Encountered "*" at line 1, column 1.
2023-08-18 17:51:17,624 WARN Table/View 'CONFIG_INFO' already exists in Schema 'NACOS'.
2023-08-18 17:51:17,663 WARN Table/View 'HIS_CONFIG_INFO' already exists in Schema 'NACOS'.
2023-08-18 17:51:17,688 WARN Table/View 'CONFIG_INFO_BETA' already exists in Schema 'NACOS'.
2023-08-18 17:51:17,694 WARN Table/View 'CONFIG_INFO_TAG' already exists in Schema 'NACOS'.
2023-08-18 17:51:17,702 WARN Table/View 'CONFIG_INFO_AGGR' already exists in Schema 'NACOS'.
2023-08-18 17:51:17,710 WARN Table/View 'APP_LIST' already exists in Schema 'NACOS'.
2023-08-18 17:51:17,717 WARN Table/View 'APP_CONFIGDATA_RELATION_SUBS' already exists in Schema 'NACOS'.
2023-08-18 17:51:17,724 WARN Table/View 'APP_CONFIGDATA_RELATION_PUBS' already exists in Schema 'NACOS'.
2023-08-18 17:51:17,733 WARN Table/View 'CONFIG_TAGS_RELATION' already exists in Schema 'NACOS'.
2023-08-18 17:51:17,743 WARN Table/View 'GROUP_CAPACITY' already exists in Schema 'NACOS'.
2023-08-18 17:51:17,751 WARN Table/View 'TENANT_CAPACITY' already exists in Schema 'NACOS'.
2023-08-18 17:51:17,758 WARN Table/View 'TENANT_INFO' already exists in Schema 'NACOS'.
2023-08-18 17:51:17,767 WARN Table/View 'USERS' already exists in Schema 'NACOS'.
2023-08-18 17:51:17,773 WARN Table/View 'ROLES' already exists in Schema 'NACOS'.
2023-08-18 17:51:17,778 WARN Table/View 'PERMISSIONS' already exists in Schema 'NACOS'.
2023-08-18 17:51:17,816 WARN The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'SQL230816095933804' defined on 'USERS'.
2023-08-18 17:51:17,822 WARN The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'UK_USERNAME_ROLE' defined on 'ROLES'.
2023-08-18 17:51:17,823 WARN Lexical error at line 4, column 13. Encountered: "`" (96), after : "".
2023-08-18 17:51:17,823 WARN Lexical error at line 1, column 13. Encountered: "`" (96), after : "".
2023-08-18 17:51:17,823 WARN Lexical error at line 1, column 13. Encountered: "`" (96), after : "".
2023-08-18 17:51:17,823 WARN Lexical error at line 1, column 13. Encountered: "`" (96), after : "".
2023-08-18 17:51:17,823 INFO use StandaloneDatabaseOperateImpl
2023-08-18 17:51:18,494 WARN DumpService start
2023-08-18 17:51:18,495 INFO start clear all config-info.
2023-08-18 17:51:18,495 WARN clear all config-info failed.
2023-08-18 17:51:18,495 WARN clear all config-info-tenant failed.
2023-08-18 17:51:18,626 INFO [all-dump] 666174971698167808 / 666174971698167808
2023-08-18 17:51:18,626 INFO start clear all config-info-beta.
2023-08-18 17:51:18,627 WARN clear all config-info-beta failed.
2023-08-18 17:51:18,627 WARN clear all config-info-beta-tenant failed.
2023-08-18 17:51:18,634 INFO start clear all config-info-tag.
2023-08-18 17:51:18,634 WARN clear all config-info-tag failed.
2023-08-18 17:51:18,634 WARN clear all config-info-tag-tenant failed.
2023-08-18 23:11:48,653 WARN Get client info from 172.20.10.3:8848 with exception: Read timed out
2023-08-18 23:21:07,258 INFO notifyConnectTimeout:200
2023-08-18 23:21:07,261 INFO notifySocketTimeout:8000
2023-08-18 23:21:07,261 INFO isHealthCheck:true
2023-08-18 23:21:07,262 INFO maxHealthCheckFailCount:12
2023-08-18 23:21:07,262 INFO maxContent:10485760
2023-08-18 23:21:09,058 INFO use local db service for init
2023-08-18 23:21:10,240 ERROR Failed to start database '/Users/yovinchen/project/Java/demo/SpringCloudStudy/nacos/data/derby-data' with class loader org.springframework.boot.loader.LaunchedURLClassLoader@5910e440, see the next exception for details.
java.sql.SQLException: Failed to start database '/Users/yovinchen/project/Java/demo/SpringCloudStudy/nacos/data/derby-data' with class loader org.springframework.boot.loader.LaunchedURLClassLoader@5910e440, see the next exception for details.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
at org.apache.derby.jdbc.InternalDriver$1.run(Unknown Source)
at org.apache.derby.jdbc.InternalDriver$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.derby.jdbc.InternalDriver.getNewEmbedConnection(Unknown Source)
at org.apache.derby.jdbc.InternalDriver$LoginCallable.call(Unknown Source)
at org.apache.derby.jdbc.InternalDriver$LoginCallable.call(Unknown Source)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
Caused by: org.apache.derby.iapi.error.StandardException: Failed to start database '/Users/yovinchen/project/Java/demo/SpringCloudStudy/nacos/data/derby-data' with class loader org.springframework.boot.loader.LaunchedURLClassLoader@5910e440, see the next exception for details.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(Unknown Source)
... 15 common frames omitted
Caused by: org.apache.derby.iapi.error.StandardException: Another instance of Derby may have already booted the database /Users/yovinchen/project/Java/demo/SpringCloudStudy/nacos/data/derby-data.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.privGetJBMSLockOnDB(Unknown Source)
at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.getJBMSLockOnDB(Unknown Source)
at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
at org.apache.derby.impl.services.monitor.FileMonitor.startModule(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
at org.apache.derby.impl.store.raw.RawStore$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.derby.impl.store.raw.RawStore.bootServiceModule(Unknown Source)
at org.apache.derby.impl.store.raw.RawStore.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
at org.apache.derby.impl.services.monitor.FileMonitor.startModule(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
at org.apache.derby.impl.store.access.RAMAccessManager$5.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.derby.impl.store.access.RAMAccessManager.bootServiceModule(Unknown Source)
at org.apache.derby.impl.store.access.RAMAccessManager.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
at org.apache.derby.impl.services.monitor.FileMonitor.startModule(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
at org.apache.derby.impl.db.BasicDatabase$5.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.derby.impl.db.BasicDatabase.bootServiceModule(Unknown Source)
at org.apache.derby.impl.db.BasicDatabase.bootStore(Unknown Source)
at org.apache.derby.impl.db.BasicDatabase.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.startProviderService(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection$4.run(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.derby.impl.jdbc.EmbedConnection.startPersistentService(Unknown Source)
... 12 common frames omitted
2023-08-18 23:21:15,047 INFO notifyConnectTimeout:200
2023-08-18 23:21:15,049 INFO notifySocketTimeout:8000
2023-08-18 23:21:15,049 INFO isHealthCheck:true
2023-08-18 23:21:15,049 INFO maxHealthCheckFailCount:12
2023-08-18 23:21:15,049 INFO maxContent:10485760
2023-08-18 23:21:16,831 INFO use local db service for init
2023-08-18 23:21:17,999 ERROR Failed to start database '/Users/yovinchen/project/Java/demo/SpringCloudStudy/nacos/data/derby-data' with class loader org.springframework.boot.loader.LaunchedURLClassLoader@5910e440, see the next exception for details.
java.sql.SQLException: Failed to start database '/Users/yovinchen/project/Java/demo/SpringCloudStudy/nacos/data/derby-data' with class loader org.springframework.boot.loader.LaunchedURLClassLoader@5910e440, see the next exception for details.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
at org.apache.derby.jdbc.InternalDriver$1.run(Unknown Source)
at org.apache.derby.jdbc.InternalDriver$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.derby.jdbc.InternalDriver.getNewEmbedConnection(Unknown Source)
at org.apache.derby.jdbc.InternalDriver$LoginCallable.call(Unknown Source)
at org.apache.derby.jdbc.InternalDriver$LoginCallable.call(Unknown Source)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
Caused by: org.apache.derby.iapi.error.StandardException: Failed to start database '/Users/yovinchen/project/Java/demo/SpringCloudStudy/nacos/data/derby-data' with class loader org.springframework.boot.loader.LaunchedURLClassLoader@5910e440, see the next exception for details.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(Unknown Source)
... 15 common frames omitted
Caused by: org.apache.derby.iapi.error.StandardException: Another instance of Derby may have already booted the database /Users/yovinchen/project/Java/demo/SpringCloudStudy/nacos/data/derby-data.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.privGetJBMSLockOnDB(Unknown Source)
at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.getJBMSLockOnDB(Unknown Source)
at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
at org.apache.derby.impl.services.monitor.FileMonitor.startModule(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
at org.apache.derby.impl.store.raw.RawStore$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.derby.impl.store.raw.RawStore.bootServiceModule(Unknown Source)
at org.apache.derby.impl.store.raw.RawStore.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
at org.apache.derby.impl.services.monitor.FileMonitor.startModule(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
at org.apache.derby.impl.store.access.RAMAccessManager$5.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.derby.impl.store.access.RAMAccessManager.bootServiceModule(Unknown Source)
at org.apache.derby.impl.store.access.RAMAccessManager.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
at org.apache.derby.impl.services.monitor.FileMonitor.startModule(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
at org.apache.derby.impl.db.BasicDatabase$5.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.derby.impl.db.BasicDatabase.bootServiceModule(Unknown Source)
at org.apache.derby.impl.db.BasicDatabase.bootStore(Unknown Source)
at org.apache.derby.impl.db.BasicDatabase.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.startProviderService(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(Unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection$4.run(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.derby.impl.jdbc.EmbedConnection.startPersistentService(Unknown Source)
... 12 common frames omitted
2023-08-18 23:21:23,540 INFO notifyConnectTimeout:200
2023-08-18 23:21:23,541 INFO notifySocketTimeout:8000
2023-08-18 23:21:23,542 INFO isHealthCheck:true
2023-08-18 23:21:23,542 INFO maxHealthCheckFailCount:12
2023-08-18 23:21:23,542 INFO maxContent:10485760
2023-08-18 23:21:25,231 INFO use local db service for init
2023-08-18 23:21:25,641 WARN Lexical error at line 4, column 66. Encountered: <EOF> after : "".
2023-08-18 23:21:25,646 WARN Syntax error: Encountered "*" at line 1, column 1.
2023-08-18 23:21:25,681 WARN Table/View 'CONFIG_INFO' already exists in Schema 'NACOS'.
2023-08-18 23:21:25,716 WARN Table/View 'HIS_CONFIG_INFO' already exists in Schema 'NACOS'.
2023-08-18 23:21:25,739 WARN Table/View 'CONFIG_INFO_BETA' already exists in Schema 'NACOS'.
2023-08-18 23:21:25,745 WARN Table/View 'CONFIG_INFO_TAG' already exists in Schema 'NACOS'.
2023-08-18 23:21:25,752 WARN Table/View 'CONFIG_INFO_AGGR' already exists in Schema 'NACOS'.
2023-08-18 23:21:25,765 WARN Table/View 'APP_LIST' already exists in Schema 'NACOS'.
2023-08-18 23:21:25,771 WARN Table/View 'APP_CONFIGDATA_RELATION_SUBS' already exists in Schema 'NACOS'.
2023-08-18 23:21:25,776 WARN Table/View 'APP_CONFIGDATA_RELATION_PUBS' already exists in Schema 'NACOS'.
2023-08-18 23:21:25,781 WARN Table/View 'CONFIG_TAGS_RELATION' already exists in Schema 'NACOS'.
2023-08-18 23:21:25,788 WARN Table/View 'GROUP_CAPACITY' already exists in Schema 'NACOS'.
2023-08-18 23:21:25,792 WARN Table/View 'TENANT_CAPACITY' already exists in Schema 'NACOS'.
2023-08-18 23:21:25,798 WARN Table/View 'TENANT_INFO' already exists in Schema 'NACOS'.
2023-08-18 23:21:25,805 WARN Table/View 'USERS' already exists in Schema 'NACOS'.
2023-08-18 23:21:25,811 WARN Table/View 'ROLES' already exists in Schema 'NACOS'.
2023-08-18 23:21:25,816 WARN Table/View 'PERMISSIONS' already exists in Schema 'NACOS'.
2023-08-18 23:21:25,859 WARN The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'SQL230816095933804' defined on 'USERS'.
2023-08-18 23:21:25,867 WARN The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'UK_USERNAME_ROLE' defined on 'ROLES'.
2023-08-18 23:21:25,868 WARN Lexical error at line 4, column 13. Encountered: "`" (96), after : "".
2023-08-18 23:21:25,868 WARN Lexical error at line 1, column 13. Encountered: "`" (96), after : "".
2023-08-18 23:21:25,868 WARN Lexical error at line 1, column 13. Encountered: "`" (96), after : "".
2023-08-18 23:21:25,868 WARN Lexical error at line 1, column 13. Encountered: "`" (96), after : "".
2023-08-18 23:21:25,868 INFO use StandaloneDatabaseOperateImpl
2023-08-18 23:21:26,517 WARN DumpService start
2023-08-18 23:21:26,518 INFO start clear all config-info.
2023-08-18 23:21:26,518 WARN clear all config-info failed.
2023-08-18 23:21:26,518 WARN clear all config-info-tenant failed.
2023-08-18 23:21:26,553 INFO [all-dump] 666652302272114688 / 666652302272114688
2023-08-18 23:21:26,553 INFO start clear all config-info-beta.
2023-08-18 23:21:26,553 WARN clear all config-info-beta failed.
2023-08-18 23:21:26,553 WARN clear all config-info-beta-tenant failed.
2023-08-18 23:21:26,560 INFO start clear all config-info-tag.
2023-08-18 23:21:26,560 WARN clear all config-info-tag failed.
2023-08-18 23:21:26,560 WARN clear all config-info-tag-tenant failed.
2023-08-23 11:29:32,960 WARN clear all config-info-tag-tenant failed.
+3 -15
View File
@@ -1,18 +1,6 @@
2023-08-18 16:52:07,767 INFO Current addressing mode selection : StandaloneMemberLookup
2023-08-23 11:29:32,219 INFO Current addressing mode selection : StandaloneMemberLookup
2023-08-18 16:52:07,770 WARN [serverlist] updated to : [Member{ip='192.168.137.52', port=8848, state=UP, extendInfo={raftPort=7848}}]
2023-08-23 11:29:32,223 WARN [serverlist] updated to : [Member{ip='192.168.137.52', port=8848, state=UP, extendInfo={raftPort=7848}}]
2023-08-18 16:52:08,955 INFO This node is ready to provide external services
2023-08-18 17:51:18,071 INFO Current addressing mode selection : StandaloneMemberLookup
2023-08-18 17:51:18,073 WARN [serverlist] updated to : [Member{ip='172.20.10.3', port=8848, state=UP, extendInfo={raftPort=7848}}]
2023-08-18 17:51:19,193 INFO This node is ready to provide external services
2023-08-18 23:21:26,091 INFO Current addressing mode selection : StandaloneMemberLookup
2023-08-18 23:21:26,094 WARN [serverlist] updated to : [Member{ip='192.168.124.5', port=8848, state=UP, extendInfo={raftPort=7848}}]
2023-08-18 23:21:27,171 INFO This node is ready to provide external services
2023-08-23 11:29:33,619 INFO This node is ready to provide external services
+55 -7335
View File
File diff suppressed because it is too large Load Diff
+17 -29
View File
@@ -1,34 +1,22 @@
OpenJDK 64-Bit Server VM (25.372-b07) for bsd-aarch64 JRE (Zulu 8.70.0.23-CA-macos-aarch64) (1.8.0_372-b07), built on Apr 18 2023 01:36:20 by "zulu_re" with gcc Apple LLVM 12.0.0 (clang-1200.0.32.28)
Memory: 16k page, physical 33554432k(2553888k free)
Memory: 16k page, physical 33554432k(71536k free)
/proc/meminfo:
CommandLine flags: -XX:GCLogFileSize=104857600 -XX:InitialHeapSize=536870912 -XX:MaxHeapSize=536870912 -XX:MaxNewSize=268435456 -XX:NewSize=268435456 -XX:NumberOfGCLogFiles=10 -XX:+PrintGC -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseGCLogFileRotation -XX:+UseParallelGC
2023-08-18T23:21:23.229+0800: 0.509: [GC (Allocation Failure) [PSYoungGen: 196608K->4211K(229376K)] 196608K->4227K(491520K), 0.0029093 secs] [Times: user=0.02 sys=0.00, real=0.01 secs]
2023-08-18T23:21:23.478+0800: 0.758: [GC (Allocation Failure) [PSYoungGen: 200819K->5668K(229376K)] 200835K->5764K(491520K), 0.0040849 secs] [Times: user=0.03 sys=0.00, real=0.01 secs]
2023-08-18T23:21:23.576+0800: 0.856: [GC (GCLocker Initiated GC) [PSYoungGen: 119892K->6400K(229376K)] 119988K->6504K(491520K), 0.0037484 secs] [Times: user=0.02 sys=0.00, real=0.01 secs]
2023-08-18T23:21:23.588+0800: 0.868: [GC (Metadata GC Threshold) [PSYoungGen: 16949K->6410K(229376K)] 17053K->6522K(491520K), 0.0029533 secs] [Times: user=0.02 sys=0.00, real=0.01 secs]
2023-08-18T23:21:23.591+0800: 0.871: [Full GC (Metadata GC Threshold) [PSYoungGen: 6410K->0K(229376K)] [ParOldGen: 112K->6269K(262144K)] 6522K->6269K(491520K), [Metaspace: 20699K->20699K(1069056K)], 0.0143851 secs] [Times: user=0.07 sys=0.00, real=0.01 secs]
2023-08-18T23:21:23.892+0800: 1.172: [GC (Allocation Failure) [PSYoungGen: 196608K->4256K(229376K)] 202877K->10533K(491520K), 0.0024489 secs] [Times: user=0.02 sys=0.00, real=0.00 secs]
2023-08-18T23:21:23.975+0800: 1.255: [GC (Allocation Failure) [PSYoungGen: 200864K->5952K(254464K)] 207141K->12237K(516608K), 0.0014092 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
2023-08-18T23:21:24.158+0800: 1.438: [GC (Allocation Failure) [PSYoungGen: 252736K->7680K(254464K)] 259021K->14769K(516608K), 0.0020508 secs] [Times: user=0.01 sys=0.01, real=0.01 secs]
2023-08-18T23:21:24.522+0800: 1.801: [GC (Allocation Failure) [PSYoungGen: 254464K->7648K(248320K)] 261553K->17353K(510464K), 0.0031111 secs] [Times: user=0.03 sys=0.00, real=0.00 secs]
2023-08-18T23:21:24.781+0800: 2.061: [GC (Metadata GC Threshold) [PSYoungGen: 156817K->6400K(251392K)] 166523K->19778K(513536K), 0.0035151 secs] [Times: user=0.03 sys=0.00, real=0.00 secs]
2023-08-18T23:21:24.785+0800: 2.065: [Full GC (Metadata GC Threshold) [PSYoungGen: 6400K->0K(251392K)] [ParOldGen: 13377K->15287K(262144K)] 19778K->15287K(513536K), [Metaspace: 34029K->34029K(1081344K)], 0.0421971 secs] [Times: user=0.25 sys=0.01, real=0.04 secs]
2023-08-18T23:21:25.369+0800: 2.649: [GC (Allocation Failure) [PSYoungGen: 240640K->3939K(251904K)] 255927K->19234K(514048K), 0.0050094 secs] [Times: user=0.03 sys=0.00, real=0.01 secs]
2023-08-18T23:21:26.159+0800: 3.439: [GC (Allocation Failure) [PSYoungGen: 245603K->9978K(251904K)] 260898K->25281K(514048K), 0.0049414 secs] [Times: user=0.03 sys=0.00, real=0.01 secs]
2023-08-18T23:21:26.632+0800: 3.912: [GC (Metadata GC Threshold) [PSYoungGen: 202528K->10219K(239616K)] 217831K->36627K(501760K), 0.0068246 secs] [Times: user=0.06 sys=0.00, real=0.00 secs]
2023-08-18T23:21:26.639+0800: 3.919: [Full GC (Metadata GC Threshold) [PSYoungGen: 10219K->0K(239616K)] [ParOldGen: 26408K->35035K(262144K)] 36627K->35035K(501760K), [Metaspace: 57003K->57003K(1101824K)], 0.0956109 secs] [Times: user=0.61 sys=0.03, real=0.10 secs]
2023-08-18T23:21:27.156+0800: 4.436: [GC (Allocation Failure) [PSYoungGen: 229376K->3984K(245760K)] 264411K->39027K(507904K), 0.0028810 secs] [Times: user=0.02 sys=0.00, real=0.00 secs]
2023-08-18T23:23:03.059+0800: 100.333: [GC (Allocation Failure) [PSYoungGen: 233360K->15056K(242688K)] 268403K->50107K(504832K), 0.0223536 secs] [Times: user=0.06 sys=0.01, real=0.03 secs]
2023-08-18T23:33:32.422+0800: 729.692: [GC (Allocation Failure) [PSYoungGen: 241360K->17904K(239104K)] 276411K->54407K(501248K), 0.0142305 secs] [Times: user=0.03 sys=0.00, real=0.01 secs]
Heap
PSYoungGen total 239104K, used 234880K [0x00000007b0000000, 0x00000007c0000000, 0x00000007c0000000)
eden space 221184K, 98% used [0x00000007b0000000,0x00000007bd3e4008,0x00000007bd800000)
from space 17920K, 99% used [0x00000007bdd00000,0x00000007bee7c260,0x00000007bee80000)
to space 17920K, 0% used [0x00000007bee80000,0x00000007bee80000,0x00000007c0000000)
ParOldGen total 262144K, used 36503K [0x00000007a0000000, 0x00000007b0000000, 0x00000007b0000000)
object space 262144K, 13% used [0x00000007a0000000,0x00000007a23a5c60,0x00000007b0000000)
Metaspace used 71400K, capacity 76242K, committed 76480K, reserved 1116160K
class space used 8763K, capacity 10469K, committed 10496K, reserved 1048576K
K
2023-08-23T11:29:28.191+0800: 0.635: [GC (Allocation Failure) [PSYoungGen: 196608K->4290K(229376K)] 196608K->4306K(491520K), 0.0044835 secs] [Times: user=0.02 sys=0.01, real=0.00 secs]
2023-08-23T11:29:28.552+0800: 0.996: [GC (Allocation Failure) [PSYoungGen: 200898K->5664K(229376K)] 200914K->5760K(491520K), 0.0104023 secs] [Times: user=0.03 sys=0.00, real=0.01 secs]
2023-08-23T11:29:28.687+0800: 1.131: [GC (Metadata GC Threshold) [PSYoungGen: 153869K->6482K(229376K)] 153965K->6586K(491520K), 0.0036945 secs] [Times: user=0.03 sys=0.00, real=0.01 secs]
2023-08-23T11:29:28.691+0800: 1.135: [Full GC (Metadata GC Threshold) [PSYoungGen: 6482K->0K(229376K)] [ParOldGen: 104K->6301K(262144K)] 6586K->6301K(491520K), [Metaspace: 20340K->20340K(1069056K)], 0.0252150 secs] [Times: user=0.05 sys=0.00, real=0.02 secs]
2023-08-23T11:29:29.096+0800: 1.540: [GC (Allocation Failure) [PSYoungGen: 196608K->3680K(229376K)] 202909K->9989K(491520K), 0.0045149 secs] [Times: user=0.01 sys=0.00, real=0.01 secs]
2023-08-23T11:29:29.267+0800: 1.712: [GC (Allocation Failure) [PSYoungGen: 200288K->5632K(229376K)] 206597K->11949K(491520K), 0.0233795 secs] [Times: user=0.02 sys=0.00, real=0.03 secs]
2023-08-23T11:29:29.567+0800: 2.011: [GC (Allocation Failure) [PSYoungGen: 202240K->7680K(252416K)] 208557K->14309K(514560K), 0.0133644 secs] [Times: user=0.02 sys=0.01, real=0.02 secs]
2023-08-23T11:29:30.078+0800: 2.522: [GC (Allocation Failure) [PSYoungGen: 252416K->7028K(251904K)] 259045K->13665K(514048K), 0.0037590 secs] [Times: user=0.02 sys=0.00, real=0.01 secs]
2023-08-23T11:29:30.512+0800: 2.956: [GC (Metadata GC Threshold) [PSYoungGen: 181331K->6560K(252928K)] 187969K->16197K(515072K), 0.0081893 secs] [Times: user=0.03 sys=0.01, real=0.01 secs]
2023-08-23T11:29:30.520+0800: 2.965: [Full GC (Metadata GC Threshold) [PSYoungGen: 6560K->0K(252928K)] [ParOldGen: 9637K->15103K(262144K)] 16197K->15103K(515072K), [Metaspace: 33470K->33470K(1081344K)], 0.0453745 secs] [Times: user=0.23 sys=0.01, real=0.04 secs]
2023-08-23T11:29:31.247+0800: 3.691: [GC (Allocation Failure) [PSYoungGen: 243712K->3552K(252928K)] 258815K->18663K(515072K), 0.0027777 secs] [Times: user=0.02 sys=0.00, real=0.01 secs]
2023-08-23T11:29:32.249+0800: 4.693: [GC (Allocation Failure) [PSYoungGen: 247264K->9194K(250880K)] 262375K->24677K(513024K), 0.0064478 secs] [Times: user=0.03 sys=0.00, real=0.01 secs]
2023-08-23T11:29:32.791+0800: 5.236: [GC (Metadata GC Threshold) [PSYoungGen: 190099K->10232K(251904K)] 205582K->34551K(514048K), 0.0093365 secs] [Times: user=0.06 sys=0.00, real=0.01 secs]
2023-08-23T11:29:32.801+0800: 5.245: [Full GC (Metadata GC Threshold) [PSYoungGen: 10232K->0K(251904K)] [ParOldGen: 24319K->33145K(262144K)] 34551K->33145K(514048K), [Metaspace: 56249K->56249K(1101824K)], 0.1068286 secs] [Times: user=0.39 sys=0.02, real=0.10 secs]
2023-08-23T11:29:33.550+0800: 5.994: [GC (Allocation Failure) [PSYoungGen: 241664K->5360K(243712K)] 274809K->38513K(505856K), 0.0027628 secs] [Times: user=0.02 sys=0.00, real=0.00 secs]
2023-08-23T11:35:47.398+0800: 379.846: [GC (Allocation Failure) [PSYoungGen: 238832K->9472K(247808K)] 271985K->42641K(509952K), 0.0345120 secs] [Times: user=0.05 sys=0.14, real=0.04 secs]
+1 -27
View File
@@ -1,28 +1,2 @@
2023-08-18 16:52:07,937 INFO distro notifier started
2023-08-18 17:28:28,021 INFO [DISTRO-WARN] RecordListener not found, key: com.alibaba.nacos.naming.iplist.ephemeral.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@bookservice
2023-08-18 17:28:28,022 INFO [DISTRO-WARN] RecordListener not found, key: com.alibaba.nacos.naming.iplist.ephemeral.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@userservice
2023-08-18 17:50:13,908 ERROR [NACOS-DISTRO] Error while handling notifying task
java.lang.InterruptedException: null
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2019)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2053)
at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:403)
at com.alibaba.nacos.naming.consistency.ephemeral.distro.DistroConsistencyServiceImpl$Notifier.run(DistroConsistencyServiceImpl.java:412)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
2023-08-18 17:51:18,216 INFO distro notifier started
2023-08-18 18:21:29,617 INFO [DISTRO-WARN] RecordListener not found, key: com.alibaba.nacos.naming.iplist.ephemeral.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@bookservice
2023-08-18 18:21:29,618 INFO [DISTRO-WARN] RecordListener not found, key: com.alibaba.nacos.naming.iplist.ephemeral.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@userservice
2023-08-18 23:21:26,249 INFO distro notifier started
2023-08-23 11:29:32,408 INFO distro notifier started
File diff suppressed because it is too large Load Diff
+7 -213
View File
@@ -1,220 +1,14 @@
2023-08-18 07:52:20,933 INFO PERFORMANCE:|4|9|6|5
2023-08-23 08:44:17,327 INFO PERFORMANCE:|5|7|-1|-1
2023-08-18 08:47:45,483 INFO PERFORMANCE:|4|9|-1|-1
2023-08-23 11:30:03,007 INFO PERFORMANCE:|5|7|6|6
2023-08-18 08:52:45,488 INFO PERFORMANCE:|4|9|-1|-1
2023-08-23 11:35:03,012 INFO PERFORMANCE:|5|7|-1|-1
2023-08-18 08:57:45,460 INFO PERFORMANCE:|4|9|-1|-1
2023-08-23 11:40:03,016 INFO PERFORMANCE:|5|7|-1|-1
2023-08-18 09:02:45,464 INFO PERFORMANCE:|4|9|-1|-1
2023-08-23 11:45:03,004 INFO PERFORMANCE:|5|7|-1|-1
2023-08-18 09:07:45,464 INFO PERFORMANCE:|4|9|-1|-1
2023-08-23 11:50:03,010 INFO PERFORMANCE:|5|7|-1|-1
2023-08-18 09:12:45,428 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 09:17:45,426 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 09:22:45,424 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 09:27:45,440 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 09:32:45,441 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 09:37:45,443 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 09:42:45,454 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 09:47:45,455 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 09:52:45,458 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 09:57:45,494 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 10:02:45,503 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 10:07:45,508 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 10:12:45,509 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 10:17:45,489 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 10:22:45,491 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 10:27:45,495 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 10:32:45,537 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 10:37:45,542 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 10:42:45,545 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 10:47:45,539 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 10:52:45,541 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 10:57:45,545 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 11:02:45,578 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 11:07:45,586 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 11:12:45,592 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 11:17:45,566 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 11:22:45,570 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 11:27:45,576 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 11:32:45,609 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 11:37:45,616 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 11:42:45,622 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 12:09:57,507 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 12:14:57,515 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 12:19:57,518 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 12:24:57,520 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 12:29:57,526 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 12:34:57,529 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 12:39:57,539 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 12:44:57,543 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 12:49:57,593 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 12:54:57,596 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 12:59:57,599 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 13:04:57,589 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 13:09:57,594 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 13:14:57,597 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 13:19:57,616 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 13:38:38,263 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 13:43:38,267 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 13:48:38,273 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 13:53:38,257 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 13:58:38,249 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 14:03:38,248 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 14:08:38,265 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 14:13:38,275 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 16:52:38,433 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 16:57:38,439 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 17:02:38,393 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 17:07:38,395 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 17:12:38,394 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 17:17:38,395 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 17:22:38,350 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 17:27:38,349 INFO PERFORMANCE:|4|5|-1|-1
2023-08-18 17:32:38,349 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 17:37:38,352 INFO PERFORMANCE:|4|9|15|9
2023-08-18 17:42:38,351 INFO PERFORMANCE:|4|10|-1|-1
2023-08-18 17:47:38,358 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 17:51:48,657 INFO PERFORMANCE:|4|8|5|4
2023-08-18 17:56:48,653 INFO PERFORMANCE:|4|9|-1|-1
2023-08-18 18:01:48,653 INFO PERFORMANCE:|4|5|-1|-1
2023-08-18 20:52:39,372 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 20:57:39,379 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 21:02:39,389 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 21:07:39,380 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 21:12:39,389 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 21:17:39,393 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 21:22:39,408 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 21:27:39,414 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 21:32:39,426 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 21:37:39,438 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 21:42:39,443 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 21:47:39,447 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 21:52:39,432 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 21:57:39,442 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 22:02:39,449 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 22:07:39,434 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 22:12:39,444 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 22:17:39,450 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 22:22:39,475 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 22:27:39,480 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 22:32:39,482 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 22:37:39,472 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 22:42:39,478 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 22:47:39,483 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 22:52:39,482 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 22:57:39,482 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 23:02:39,487 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 23:07:39,491 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 23:12:39,506 INFO PERFORMANCE:|2|5|-1|-1
2023-08-18 23:17:39,511 INFO PERFORMANCE:|5|11|-1|-1
2023-08-18 23:21:56,588 INFO PERFORMANCE:|5|11|9|6
2023-08-18 23:26:56,603 INFO PERFORMANCE:|5|11|-1|-1
2023-08-18 23:31:56,605 INFO PERFORMANCE:|5|11|-1|-1
2023-08-18 23:36:56,610 INFO PERFORMANCE:|5|11|7|5
2023-08-18 23:41:56,630 INFO PERFORMANCE:|5|11|-1|-1
2023-08-23 11:55:03,016 INFO PERFORMANCE:|5|7|-1|-1
+304 -2214
View File
File diff suppressed because it is too large Load Diff
+30 -180
View File
@@ -1,210 +1,60 @@
2023-08-18 16:52:07,805 INFO raft peers changed: [Member{ip='192.168.137.52', port=8848, state=UP, extendInfo={raftPort=7848}}]
2023-08-23 11:29:32,249 INFO raft peers changed: [Member{ip='192.168.137.52', port=8848, state=UP, extendInfo={raftPort=7848}}]
2023-08-18 16:52:07,821 INFO initializing Raft sub-system
2023-08-23 11:29:32,268 INFO initializing Raft sub-system
2023-08-18 16:52:07,898 INFO finish loading all datums, size: 4 cost 77 ms.
2023-08-23 11:29:32,358 INFO finish loading all datums, size: 2 cost 90 ms.
2023-08-18 16:52:07,899 INFO cache loaded, datum count: 4, current term: 0
2023-08-23 11:29:32,362 INFO cache loaded, datum count: 2, current term: 0
2023-08-18 16:52:07,899 INFO finish to load data from disk, cost: 78 ms.
2023-08-23 11:29:32,362 INFO finish to load data from disk, cost: 94 ms.
2023-08-18 16:52:07,901 INFO timer started: leader timeout ms: 15000, heart-beat timeout ms: 5000
2023-08-23 11:29:32,365 INFO timer started: leader timeout ms: 15000, heart-beat timeout ms: 5000
2023-08-18 16:52:08,116 INFO add listener: com.alibaba.nacos.naming.domains.meta.00-00---000-NACOS_SWITCH_DOMAIN-000---00-00
2023-08-23 11:29:32,627 INFO add listener: com.alibaba.nacos.naming.domains.meta.00-00---000-NACOS_SWITCH_DOMAIN-000---00-00
2023-08-18 16:52:08,128 INFO add listener: com.alibaba.nacos.naming.domains.meta.
2023-08-23 11:29:32,636 INFO add listener: com.alibaba.nacos.naming.domains.meta.
2023-08-18 16:52:08,128 INFO [RAFT-NOTIFIER] datum is changed, key: com.alibaba.nacos.naming.domains.meta.public##DEFAULT_GROUP@@borrowservice, value: Service{name='DEFAULT_GROUP@@borrowservice', protectThreshold=0.0, appName='null', groupName='DEFAULT_GROUP', metadata={}}
2023-08-23 11:29:32,636 INFO [RAFT-NOTIFIER] datum is changed, key: com.alibaba.nacos.naming.domains.meta.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@borrowservice, value: Service{name='DEFAULT_GROUP@@borrowservice', protectThreshold=0.0, appName='null', groupName='DEFAULT_GROUP', metadata={}}
2023-08-18 16:52:08,165 INFO add listener: com.alibaba.nacos.naming.iplist.public##DEFAULT_GROUP@@borrowservice
2023-08-23 11:29:32,637 INFO add listener: com.alibaba.nacos.naming.iplist.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@borrowservice
2023-08-18 16:52:08,191 INFO [RAFT-NOTIFIER] datum is changed, key: com.alibaba.nacos.naming.domains.meta.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@borrowservice, value: Service{name='DEFAULT_GROUP@@borrowservice', protectThreshold=0.0, appName='null', groupName='DEFAULT_GROUP', metadata={}}
2023-08-23 11:29:33,275 INFO [RAFT-NOTIFIER] datum is changed, key: com.alibaba.nacos.naming.domains.meta.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@borrowservice, value: Service{name='DEFAULT_GROUP@@borrowservice', protectThreshold=0.0, appName='null', groupName='DEFAULT_GROUP', metadata={}}
2023-08-18 16:52:08,191 INFO add listener: com.alibaba.nacos.naming.iplist.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@borrowservice
2023-08-23 11:29:33,279 INFO add listener: com.alibaba.nacos.naming.iplist.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@borrowservice
2023-08-18 16:52:08,826 INFO [RAFT-NOTIFIER] datum is changed, key: com.alibaba.nacos.naming.domains.meta.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@borrowservice, value: Service{name='DEFAULT_GROUP@@borrowservice', protectThreshold=0.0, appName='null', groupName='DEFAULT_GROUP', metadata={}}
2023-08-23 11:29:33,870 INFO leader timeout, start voting,leader: {"ip":"192.168.137.52:8848","term":0,"leaderDueMs":18136,"heartbeatDueMs":5000,"state":"FOLLOWER"}, term: 0
2023-08-18 16:52:08,827 INFO add listener: com.alibaba.nacos.naming.iplist.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@borrowservice
2023-08-23 11:29:37,242 WARN start to close old raft protocol!!!
2023-08-18 16:52:08,828 INFO [RAFT-NOTIFIER] datum is changed, key: com.alibaba.nacos.naming.domains.meta.public##DEFAULT_GROUP@@borrowservice, value: Service{name='DEFAULT_GROUP@@borrowservice', protectThreshold=0.0, appName='null', groupName='DEFAULT_GROUP', metadata={}}
2023-08-23 11:29:37,242 WARN stop old raft protocol task for notifier
2023-08-18 16:52:08,828 INFO add listener: com.alibaba.nacos.naming.iplist.public##DEFAULT_GROUP@@borrowservice
2023-08-23 11:29:37,242 WARN stop old raft protocol task for master task
2023-08-18 16:52:12,798 WARN start to close old raft protocol!!!
2023-08-23 11:29:37,243 WARN stop old raft protocol task for heartbeat task
2023-08-18 16:52:12,798 WARN stop old raft protocol task for notifier
2023-08-23 11:29:37,243 WARN clean old cache datum for old raft
2023-08-18 16:52:12,798 WARN stop old raft protocol task for master task
2023-08-23 11:29:37,243 WARN start to close old raft protocol!!!
2023-08-18 16:52:12,798 WARN stop old raft protocol task for heartbeat task
2023-08-23 11:29:37,243 WARN stop old raft protocol task for notifier
2023-08-18 16:52:12,798 WARN clean old cache datum for old raft
2023-08-23 11:29:37,243 WARN stop old raft protocol task for master task
2023-08-18 16:52:12,799 WARN start to close old raft protocol!!!
2023-08-23 11:29:37,243 WARN stop old raft protocol task for heartbeat task
2023-08-18 16:52:12,800 WARN stop old raft protocol task for notifier
2023-08-23 11:29:37,243 WARN clean old cache datum for old raft
2023-08-18 16:52:12,801 WARN stop old raft protocol task for master task
2023-08-23 11:29:37,243 WARN start to move old raft protocol metadata
2023-08-18 16:52:12,801 WARN stop old raft protocol task for heartbeat task
2023-08-23 11:29:37,244 WARN start to move old raft protocol metadata
2023-08-18 16:52:12,801 WARN clean old cache datum for old raft
2023-08-23 11:29:37,244 INFO raft peers changed: [Member{ip='192.168.137.52', port=8848, state=UP, extendInfo={lastRefreshTime=1692761377244, raftPort=7848, version=1.4.6}}]
2023-08-18 16:52:12,801 WARN start to move old raft protocol metadata
2023-08-23 11:29:53,158 INFO add listener: com.alibaba.nacos.naming.iplist.public##DEFAULT_GROUP@@authservice
2023-08-18 16:52:12,820 WARN start to move old raft protocol metadata
2023-08-23 11:29:57,505 INFO add listener: com.alibaba.nacos.naming.iplist.public##DEFAULT_GROUP@@userservice
2023-08-18 16:52:12,821 INFO raft peers changed: [Member{ip='192.168.137.52', port=8848, state=UP, extendInfo={lastRefreshTime=1692348732820, raftPort=7848, version=1.4.6}}]
2023-08-23 11:30:00,046 INFO add listener: com.alibaba.nacos.naming.iplist.public##DEFAULT_GROUP@@bookservice
2023-08-18 16:53:22,126 INFO add listener: com.alibaba.nacos.naming.iplist.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@bookservice
2023-08-18 16:53:24,662 INFO add listener: com.alibaba.nacos.naming.iplist.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@userservice
2023-08-18 17:28:28,021 INFO [RAFT-NOTIFIER] datum is deleted, key: com.alibaba.nacos.naming.domains.meta.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@bookservice
2023-08-18 17:28:28,022 INFO [RAFT-NOTIFIER] datum is deleted, key: com.alibaba.nacos.naming.domains.meta.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@userservice
2023-08-18 17:37:33,970 INFO add listener: com.alibaba.nacos.naming.iplist.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@bookservice
2023-08-18 17:37:36,944 INFO add listener: com.alibaba.nacos.naming.iplist.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@userservice
2023-08-18 17:51:18,095 INFO raft peers changed: [Member{ip='172.20.10.3', port=8848, state=UP, extendInfo={raftPort=7848}}]
2023-08-18 17:51:18,105 INFO initializing Raft sub-system
2023-08-18 17:51:18,185 INFO finish loading all datums, size: 4 cost 80 ms.
2023-08-18 17:51:18,186 INFO cache loaded, datum count: 4, current term: 0
2023-08-18 17:51:18,186 INFO finish to load data from disk, cost: 81 ms.
2023-08-18 17:51:18,188 INFO timer started: leader timeout ms: 15000, heart-beat timeout ms: 5000
2023-08-18 17:51:18,369 INFO add listener: com.alibaba.nacos.naming.domains.meta.00-00---000-NACOS_SWITCH_DOMAIN-000---00-00
2023-08-18 17:51:18,376 INFO add listener: com.alibaba.nacos.naming.domains.meta.
2023-08-18 17:51:18,376 INFO [RAFT-NOTIFIER] datum is changed, key: com.alibaba.nacos.naming.domains.meta.public##DEFAULT_GROUP@@borrowservice, value: Service{name='DEFAULT_GROUP@@borrowservice', protectThreshold=0.0, appName='null', groupName='DEFAULT_GROUP', metadata={}}
2023-08-18 17:51:18,417 INFO add listener: com.alibaba.nacos.naming.iplist.public##DEFAULT_GROUP@@borrowservice
2023-08-18 17:51:18,444 INFO [RAFT-NOTIFIER] datum is changed, key: com.alibaba.nacos.naming.domains.meta.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@borrowservice, value: Service{name='DEFAULT_GROUP@@borrowservice', protectThreshold=0.0, appName='null', groupName='DEFAULT_GROUP', metadata={}}
2023-08-18 17:51:18,444 INFO add listener: com.alibaba.nacos.naming.iplist.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@borrowservice
2023-08-18 17:51:19,113 INFO [RAFT-NOTIFIER] datum is changed, key: com.alibaba.nacos.naming.domains.meta.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@borrowservice, value: Service{name='DEFAULT_GROUP@@borrowservice', protectThreshold=0.0, appName='null', groupName='DEFAULT_GROUP', metadata={}}
2023-08-18 17:51:19,114 INFO add listener: com.alibaba.nacos.naming.iplist.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@borrowservice
2023-08-18 17:51:19,115 INFO [RAFT-NOTIFIER] datum is changed, key: com.alibaba.nacos.naming.domains.meta.public##DEFAULT_GROUP@@borrowservice, value: Service{name='DEFAULT_GROUP@@borrowservice', protectThreshold=0.0, appName='null', groupName='DEFAULT_GROUP', metadata={}}
2023-08-18 17:51:19,116 INFO add listener: com.alibaba.nacos.naming.iplist.public##DEFAULT_GROUP@@borrowservice
2023-08-18 17:51:23,094 WARN start to close old raft protocol!!!
2023-08-18 17:51:23,094 WARN stop old raft protocol task for notifier
2023-08-18 17:51:23,094 WARN stop old raft protocol task for master task
2023-08-18 17:51:23,094 WARN stop old raft protocol task for heartbeat task
2023-08-18 17:51:23,094 WARN clean old cache datum for old raft
2023-08-18 17:51:23,094 WARN start to close old raft protocol!!!
2023-08-18 17:51:23,094 WARN stop old raft protocol task for notifier
2023-08-18 17:51:23,094 WARN stop old raft protocol task for master task
2023-08-18 17:51:23,094 WARN stop old raft protocol task for heartbeat task
2023-08-18 17:51:23,094 WARN clean old cache datum for old raft
2023-08-18 17:51:23,094 WARN start to move old raft protocol metadata
2023-08-18 17:51:23,095 WARN start to move old raft protocol metadata
2023-08-18 17:51:23,095 INFO raft peers changed: [Member{ip='172.20.10.3', port=8848, state=UP, extendInfo={lastRefreshTime=1692352283095, raftPort=7848, version=1.4.6}}]
2023-08-18 17:51:47,399 INFO add listener: com.alibaba.nacos.naming.iplist.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@bookservice
2023-08-18 17:51:47,399 INFO add listener: com.alibaba.nacos.naming.iplist.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@bookservice
2023-08-18 17:51:48,441 INFO add listener: com.alibaba.nacos.naming.iplist.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@userservice
2023-08-18 18:21:29,614 INFO [RAFT-NOTIFIER] datum is deleted, key: com.alibaba.nacos.naming.domains.meta.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@bookservice
2023-08-18 18:21:29,616 INFO [RAFT-NOTIFIER] datum is deleted, key: com.alibaba.nacos.naming.domains.meta.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@userservice
2023-08-18 23:15:05,600 INFO add listener: com.alibaba.nacos.naming.iplist.public##DEFAULT_GROUP@@bookservice
2023-08-18 23:15:07,008 INFO add listener: com.alibaba.nacos.naming.iplist.public##DEFAULT_GROUP@@userservice
2023-08-18 23:16:37,348 INFO add listener: com.alibaba.nacos.naming.iplist.c0495138-b5b3-440d-8f1c-dc8cc9ba5fbc##SEATA_GROUP@@seata-server
2023-08-18 23:21:26,119 INFO raft peers changed: [Member{ip='192.168.124.5', port=8848, state=UP, extendInfo={raftPort=7848}}]
2023-08-18 23:21:26,129 INFO initializing Raft sub-system
2023-08-18 23:21:26,218 INFO finish loading all datums, size: 4 cost 89 ms.
2023-08-18 23:21:26,220 INFO cache loaded, datum count: 4, current term: 0
2023-08-18 23:21:26,220 INFO finish to load data from disk, cost: 91 ms.
2023-08-18 23:21:26,222 INFO timer started: leader timeout ms: 15000, heart-beat timeout ms: 5000
2023-08-18 23:21:26,404 INFO add listener: com.alibaba.nacos.naming.domains.meta.00-00---000-NACOS_SWITCH_DOMAIN-000---00-00
2023-08-18 23:21:26,412 INFO add listener: com.alibaba.nacos.naming.domains.meta.
2023-08-18 23:21:26,412 INFO [RAFT-NOTIFIER] datum is changed, key: com.alibaba.nacos.naming.domains.meta.public##DEFAULT_GROUP@@borrowservice, value: Service{name='DEFAULT_GROUP@@borrowservice', protectThreshold=0.0, appName='null', groupName='DEFAULT_GROUP', metadata={}}
2023-08-18 23:21:26,442 INFO add listener: com.alibaba.nacos.naming.iplist.public##DEFAULT_GROUP@@borrowservice
2023-08-18 23:21:26,469 INFO [RAFT-NOTIFIER] datum is changed, key: com.alibaba.nacos.naming.domains.meta.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@borrowservice, value: Service{name='DEFAULT_GROUP@@borrowservice', protectThreshold=0.0, appName='null', groupName='DEFAULT_GROUP', metadata={}}
2023-08-18 23:21:26,469 INFO add listener: com.alibaba.nacos.naming.iplist.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@borrowservice
2023-08-18 23:21:27,134 INFO [RAFT-NOTIFIER] datum is changed, key: com.alibaba.nacos.naming.domains.meta.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@borrowservice, value: Service{name='DEFAULT_GROUP@@borrowservice', protectThreshold=0.0, appName='null', groupName='DEFAULT_GROUP', metadata={}}
2023-08-18 23:21:27,135 INFO add listener: com.alibaba.nacos.naming.iplist.dd668135-0bfe-489f-ab2b-24aefb21d156##DEFAULT_GROUP@@borrowservice
2023-08-18 23:21:27,136 INFO [RAFT-NOTIFIER] datum is changed, key: com.alibaba.nacos.naming.domains.meta.public##DEFAULT_GROUP@@borrowservice, value: Service{name='DEFAULT_GROUP@@borrowservice', protectThreshold=0.0, appName='null', groupName='DEFAULT_GROUP', metadata={}}
2023-08-18 23:21:27,136 INFO add listener: com.alibaba.nacos.naming.iplist.public##DEFAULT_GROUP@@borrowservice
2023-08-18 23:21:29,224 INFO leader timeout, start voting,leader: {"ip":"192.168.124.5:8848","term":0,"leaderDueMs":18166,"heartbeatDueMs":5000,"state":"FOLLOWER"}, term: 0
2023-08-18 23:21:31,117 WARN start to close old raft protocol!!!
2023-08-18 23:21:31,117 WARN stop old raft protocol task for notifier
2023-08-18 23:21:31,117 WARN stop old raft protocol task for master task
2023-08-18 23:21:31,117 WARN stop old raft protocol task for heartbeat task
2023-08-18 23:21:31,117 WARN clean old cache datum for old raft
2023-08-18 23:21:31,117 WARN start to close old raft protocol!!!
2023-08-18 23:21:31,117 WARN stop old raft protocol task for notifier
2023-08-18 23:21:31,117 WARN stop old raft protocol task for master task
2023-08-18 23:21:31,117 WARN stop old raft protocol task for heartbeat task
2023-08-18 23:21:31,117 WARN clean old cache datum for old raft
2023-08-18 23:21:31,117 WARN start to move old raft protocol metadata
2023-08-18 23:21:31,119 WARN start to move old raft protocol metadata
2023-08-18 23:21:31,119 INFO raft peers changed: [Member{ip='192.168.124.5', port=8848, state=UP, extendInfo={lastRefreshTime=1692372091119, raftPort=7848, version=1.4.6}}]
2023-08-18 23:21:35,625 INFO add listener: com.alibaba.nacos.naming.iplist.c0495138-b5b3-440d-8f1c-dc8cc9ba5fbc##SEATA_GROUP@@seata-server
2023-08-18 23:21:50,098 INFO add listener: com.alibaba.nacos.naming.iplist.public##DEFAULT_GROUP@@bookservice
2023-08-18 23:21:51,879 INFO add listener: com.alibaba.nacos.naming.iplist.public##DEFAULT_GROUP@@userservice
2023-08-23 11:30:02,400 INFO add listener: com.alibaba.nacos.naming.iplist.public##DEFAULT_GROUP@@borrowservice
+233 -6743
View File
File diff suppressed because it is too large Load Diff
+12 -5
View File
@@ -19,11 +19,22 @@
<module>borrow-service</module>
<module>book-service</module>
<module>commons</module>
<module>auth-service</module>
</modules>
<properties>
<java.version>1.8</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-oauth2</artifactId>
<version>2.2.5.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
@@ -43,7 +54,7 @@
<dependency>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
<version>8.0.32</version>
<version>8.0.33</version>
</dependency>
</dependencies>
@@ -54,8 +65,6 @@
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>2.2.0</version>
</dependency>
<!-- 这里引入最新的SpringCloud依赖 -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
@@ -63,8 +72,6 @@
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- 这里引入最新的SpringCloudAlibaba依赖,2021.0.1.0版本支持SpringBoot2.6.X -->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
Binary file not shown.
-201
View File
@@ -1,201 +0,0 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (properties) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
@@ -1,113 +0,0 @@
@REM ----------------------------------------------------------------------------
@REM Copyright 2001-2006 The Apache Software Foundation.
@REM
@REM Licensed under the Apache License, Version 2.0 (the "License");
@REM you may not use this file except in compliance with the License.
@REM You may obtain a copy of the License at
@REM
@REM http://www.apache.org/licenses/LICENSE-2.0
@REM
@REM Unless required by applicable law or agreed to in writing, software
@REM distributed under the License is distributed on an "AS IS" BASIS,
@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@REM See the License for the specific language governing permissions and
@REM limitations under the License.
@REM ----------------------------------------------------------------------------
@REM
@REM Copyright (c) 2001-2006 The Apache Software Foundation. All rights
@REM reserved.
@echo off
set ERROR_CODE=0
:init
@REM Decide how to startup depending on the version of windows
@REM -- Win98ME
if NOT "%OS%"=="Windows_NT" goto Win9xArg
@REM set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" @setlocal
@REM -- 4NT shell
if "%eval[2+2]" == "4" goto 4NTArgs
@REM -- Regular WinNT shell
set CMD_LINE_ARGS=%*
goto WinNTGetScriptDir
@REM The 4NT Shell from jp software
:4NTArgs
set CMD_LINE_ARGS=%$
goto WinNTGetScriptDir
:Win9xArg
@REM Slurp the command line arguments. This loop allows for an unlimited number
@REM of arguments (up to the command line limit, anyway).
set CMD_LINE_ARGS=
:Win9xApp
if %1a==a goto Win9xGetScriptDir
set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
shift
goto Win9xApp
:Win9xGetScriptDir
set SAVEDIR=%CD%
%0\
cd %0\..\..
set BASEDIR=%CD%
cd %SAVEDIR%
set SAVE_DIR=
goto repoSetup
:WinNTGetScriptDir
set BASEDIR=%~dp0\..
:repoSetup
set REPO=
if "%JAVACMD%"=="" set JAVACMD=java
if "%REPO%"=="" set REPO=%BASEDIR%\lib
set CLASSPATH="%BASEDIR%"\conf;"%REPO%"\*
set ENDORSED_DIR=
if NOT "%ENDORSED_DIR%" == "" set CLASSPATH="%BASEDIR%"\%ENDORSED_DIR%\*;%CLASSPATH%
if NOT "%CLASSPATH_PREFIX%" == "" set CLASSPATH=%CLASSPATH_PREFIX%;%CLASSPATH%
@REM Reaching here means variables are defined and arguments have been captured
:endInit
%JAVACMD% %JAVA_OPTS% -server -Xmx2048m -Xms2048m -Xmn1024m -Xss512k -XX:SurvivorRatio=10 -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=256m -XX:MaxDirectMemorySize=1024m -XX:-OmitStackTraceInFastThrow -XX:-UseAdaptiveSizePolicy -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="%BASEDIR%"/logs/java_heapdump.hprof -XX:+DisableExplicitGC -XX:+CMSParallelRemarkEnabled -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=75 -Xloggc:"%BASEDIR%"/logs/seata_gc.log -verbose:gc -Dio.netty.leakDetectionLevel=advanced -Dlogback.color.disable-for-bat=true -classpath %CLASSPATH% -Dapp.name="seata-server" -Dapp.repo="%REPO%" -Dapp.home="%BASEDIR%" -Dbasedir="%BASEDIR%" io.seata.server.Server %CMD_LINE_ARGS%
if %ERRORLEVEL% NEQ 0 goto error
goto end
:error
if "%OS%"=="Windows_NT" @endlocal
set ERROR_CODE=%ERRORLEVEL%
:end
@REM set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" goto endNT
@REM For old DOS remove the set variables from ENV - we assume they were not set
@REM before we started - at least we don't leave any baggage around
set CMD_LINE_ARGS=
goto postExec
:endNT
@REM If error code is set to 1 then the endlocal was done already in :error.
if %ERROR_CODE% EQU 0 @endlocal
:postExec
if "%FORCE_EXIT_ON_ERROR%" == "on" (
if %ERROR_CODE% NEQ 0 exit %ERROR_CODE%
)
exit /B %ERROR_CODE%
@@ -1,128 +0,0 @@
#!/bin/sh
# ----------------------------------------------------------------------------
# Copyright 2001-2006 The Apache Software Foundation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ----------------------------------------------------------------------------
#
# Copyright (c) 2001-2006 The Apache Software Foundation. All rights
# reserved.
# resolve links - $0 may be a softlink
PRG="$0"
while [ -h "$PRG" ]; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`/"$link"
fi
done
PRGDIR=`dirname "$PRG"`
BASEDIR=`cd "$PRGDIR/.." >/dev/null; pwd`
# Reset the REPO variable. If you need to influence this use the environment setup file.
REPO=
# OS specific support. $var _must_ be set to either true or false.
cygwin=false;
darwin=false;
case "`uname`" in
CYGWIN*) cygwin=true ;;
Darwin*) darwin=true
if [ -z "$JAVA_VERSION" ] ; then
JAVA_VERSION="CurrentJDK"
else
echo "Using Java version: $JAVA_VERSION"
fi
if [ -z "$JAVA_HOME" ]; then
if [ -x "/usr/libexec/java_home" ]; then
JAVA_HOME=`/usr/libexec/java_home`
else
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/${JAVA_VERSION}/Home
fi
fi
;;
esac
if [ -z "$JAVA_HOME" ] ; then
if [ -r /etc/gentoo-release ] ; then
JAVA_HOME=`java-config --jre-home`
fi
fi
# For Cygwin, ensure paths are in UNIX format before anything is touched
if $cygwin ; then
[ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
[ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
fi
# If a specific java binary isn't specified search for the standard 'java' binary
if [ -z "$JAVACMD" ] ; then
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
else
JAVACMD=`which java`
fi
fi
if [ ! -x "$JAVACMD" ] ; then
echo "Error: JAVA_HOME is not defined correctly." 1>&2
echo " We cannot execute $JAVACMD" 1>&2
exit 1
fi
if [ -z "$REPO" ]
then
REPO="$BASEDIR"/lib
fi
CLASSPATH="$BASEDIR"/conf:"$REPO"/*
ENDORSED_DIR=
if [ -n "$ENDORSED_DIR" ] ; then
CLASSPATH=$BASEDIR/$ENDORSED_DIR/*:$CLASSPATH
fi
if [ -n "$CLASSPATH_PREFIX" ] ; then
CLASSPATH=$CLASSPATH_PREFIX:$CLASSPATH
fi
# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
[ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
[ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
[ -n "$HOME" ] && HOME=`cygpath --path --windows "$HOME"`
[ -n "$BASEDIR" ] && BASEDIR=`cygpath --path --windows "$BASEDIR"`
[ -n "$REPO" ] && REPO=`cygpath --path --windows "$REPO"`
fi
exec "$JAVACMD" $JAVA_OPTS -server -Xmx2048m -Xms2048m -Xmn1024m -Xss1m -XX:SurvivorRatio=10 -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=256m -XX:MaxDirectMemorySize=1024m -XX:-OmitStackTraceInFastThrow -XX:-UseAdaptiveSizePolicy -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="$BASEDIR"/logs/java_heapdump.hprof -XX:+DisableExplicitGC -XX:+CMSParallelRemarkEnabled -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=75 -Xloggc:"$BASEDIR"/logs/seata_gc.log -verbose:gc -Dio.netty.leakDetectionLevel=advanced -Dlogback.color.disable-for-bat=true \
-classpath "$CLASSPATH" \
-Dapp.name="seata-server" \
-Dapp.pid="$$" \
-Dapp.repo="$REPO" \
-Dapp.home="$BASEDIR" \
-Dbasedir="$BASEDIR" \
io.seata.server.Server \
"$@"

Some files were not shown because too many files have changed in this diff Show More