Jian Qiu
7baeb2396a
fix: region-dns not support dameng dialect ( #23809 )
...
Co-authored-by: Qiu Jian <qiujian@yunionyun.com >
2025-11-21 09:55:06 +08:00
Jian Qiu
324262ca8e
fix: set db connection keepalive options ( #22356 )
...
Co-authored-by: Qiu Jian <qiujian@yunionyun.com >
2025-04-03 19:52:04 +08:00
Jian Qiu
2920a156b7
fix: support db checksum algorithm of SHA256 ( #19680 )
...
Co-authored-by: Qiu Jian <qiujian@yunionyun.com >
2024-03-09 14:57:37 +08:00
Jian Qiu
e73ed9d081
feature: dameng database support ( #19570 )
...
Co-authored-by: Qiu Jian <qiujian@yunionyun.com >
2024-02-29 16:37:21 +08:00
Jian Qiu
1b997dcb79
fix: mapping mysql tables into clickhouse with Engine MySQL ( #18877 )
...
Co-authored-by: Qiu Jian <qiujian@yunionyun.com >
2023-12-05 07:08:17 +08:00
Jian Qiu
8774311d26
fix: allow set splitable max duration ( #14633 )
...
Co-authored-by: Qiu Jian <qiujian@yunionyun.com >
2022-07-14 08:51:25 +08:00
Jian Qiu
7ea8d33841
fix: convert clickhouse sqlstr from v1 to v2 ( #14553 )
...
Co-authored-by: Qiu Jian <qiujian@yunionyun.com >
2022-07-02 07:57:05 +08:00
Jian Qiu
df4321d934
fix: clickhouse set max idle connections ( #14496 )
...
Co-authored-by: Qiu Jian <qiujian@yunionyun.com >
2022-06-22 06:35:33 +08:00
rainzm
f5d58cdee9
feat(cloudcommon): notify when the checksum of db table record test fail
...
1. remove pkg/cloudcommon/db dependency on pkg/cloudcommon
2. init db notifier in pkg/cloudcommon.InitDB
3. move interface 'IStartable' to pkg/util/logclient package which alone references above interface
2022-04-01 18:50:40 +08:00
Qiu Jian
8b6f7305d6
feature: use clickhouse to storage opslogs
2021-12-10 09:23:33 +08:00
Jian Qiu
844eda13e3
fix: sqlite3 needs to load inet extension to work with region ( #12719 )
...
* fix: sqlite3 needs to load inet extension to work with region
* modify Makefile to remove CGO_ENABLED=0 for esxi_agent
* update vendor 20211121
Co-authored-by: Qiu Jian <qiujian@yunionyun.com >
2021-11-21 15:01:45 +08:00
Qiu Jian
97a3ab12a2
support sqlite
2021-11-17 07:25:00 +08:00
Qiu Jian
139054e0af
feature: adapt to new version of sqlchemy that supports clickhouse
2021-11-17 00:02:06 +08:00
Zexi Li
057de7d59f
fix(cloudcommon): avoid service exit when etcd unreachable
2021-08-25 19:44:15 +08:00
Qiu Jian
4431acde83
fix:
...
1. server generate name should be historically unique
2. ipaddr of a batch of server is in the same order as generated name
2020-11-05 00:21:12 +08:00
Zexi Li
95a58cc606
implement generic service informer
2020-05-29 19:59:34 +08:00
Qu Xuan
9cb2727bf1
fix: show sql connection error
2020-04-20 16:47:36 +08:00
Yousong Zhou
487b7e189b
cloudcommon: options: add constants for lock method
2020-03-12 18:55:58 +08:00
Yousong Zhou
752cffb3ad
cloudcommon: options: new options for etcd lockman
2019-11-12 13:18:09 +00:00
Jian Qiu
72c13b8e39
3level priviliges bufixes 20190603 ( #1036 )
2019-06-03 12:30:58 +08:00
Qiu Jian
b7027934db
feature: 3-level policies, system/domain/project
2019-05-31 13:56:02 +08:00
Qiu Jian
004d9b6f95
update copyright headers of all source
2019-03-29 14:47:48 +08:00
wanyaoqi
e0ee2b8c59
fix package dependence
2019-03-15 11:45:56 +08:00
Yousong Zhou
cf639cf6dd
cloudcommon: 在InitDB()中初始化DEBUG_SQLCHEMY
2018-12-23 15:26:50 +00:00
Qiu Jian
a6b865e7a2
修正:1. sql.Rows使用后未关闭,导致占用db链接 2.
...
服务启动后,调用AppDBInit方法设置db连接池上限,避免耗尽mysql连接
3.
app和workmanager增加db属性,用来标示该worker和app是否使用数据库,从而估计需要设置的数据库连接的上限
2018-12-21 17:10:34 +08:00
Qiu Jian
e83e1966d2
policyManager增加IsAdminCapable接口
2018-10-31 18:38:19 +08:00
Qiu Jian
3a1264f8da
调整cloudcommon的options数据结构,把数据库相关选项合并到DBoptions
2018-10-30 11:59:11 +08:00
Qiu Jian
4f403ad9f2
initial commit
2018-09-10 23:30:31 +08:00
Zexi Li
22411ffb53
path move: github.com/yunionio -> yunion.io/x
2018-08-11 14:28:18 +08:00
Zexi Li
37624f11e2
Add region service.
2018-07-30 12:27:27 +08:00
Zexi Li
976cc8e640
cloudcommon pkg added.
2018-07-27 19:03:32 +08:00