Gaea
Gaea copied to clipboard
Gaea is a mysql proxy, it's developed by xiaomi b2c-dev team.
在1.2.2版本中,mybatisplus批量插入没有问题,批量更新会在sql语句后面多个逗号,这个bug有解决吗
- gaea代码 ```go endpoints := strings.Split(addr, ",") config := clientv3.Config{ Endpoints: endpoints, Username: username, Password: passwd, DialTimeout: timeout, // 只设定第一次连线时间的逾时,之后不用太担心连线,连线失败后,会自动重连 DialKeepAliveTimeout: timeout, // 之后维持 etcd 连线的逾时 TLS: tlsConf, } c,...
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.7.2 to 1.9.0. Release notes Sourced from github.com/gin-gonic/gin's releases. v1.9.0 Changelog BREAK CHANGES Stop useless panicking in context and render #2150 BUG FIXES fix(router): tree bug where...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 0.9.2 to 1.11.1. Release notes Sourced from github.com/prometheus/client_golang's releases. 1.11.1 / 2022-02-15 [SECURITY FIX] promhttp: Check validity of method and code label values prometheus/client_golang#987 (Addressed CVE-2022-21698) What's...
Bumps [github.com/gogo/protobuf](https://github.com/gogo/protobuf) from 1.2.1 to 1.3.2. Release notes Sourced from github.com/gogo/protobuf's releases. Release v.1.3.2 Tested versions: go 1.15.6 protoc 3.14.0 Bug fixes: skippy peanut butter Release v1.3.1 Tested versions: go...
客户端通过gaea代理访问后端数据库进行查询操作,如果使用prepare,exec方式进行操作,会导致精度丢失问题 **** 后端数据库版本:5.7.38 gaea版本:latest 客户端:go+gorm进行操作 数据库字段类型:decimal(58,18) **** 通过gorm进行直接查询,结果符合预期 ``` type TestModel struct { Amount decimal.Decimal `gorm:"type:decimal(58,18);"` } func (t TestModel) TableName() string { return "table1" } func Test_GORM(t *testing.T) {...
### What happened? There are 1 security vulnerabilities found in github.com/gin-gonic/gin v1.7.2 - [CVE-2020-28483](https://www.oscs1024.com/hd/CVE-2020-28483) ### What did I do? Upgrade github.com/gin-gonic/gin from v1.7.2 to 1.7.7 for vulnerability fix ### What...
 
**Is your feature request related to a problem? Please describe.** 在容器中存在cpu quota的限制,由于golang计算maxprocs的问题,导致被频繁cpu throttle。 **Describe the solution you'd like** 为什么不考虑直接引用 https://github.com/uber-go/automaxprocs 来计算,降低不同环境的配置麻烦?