Commit Graph

274 Commits

Author SHA1 Message Date
fishJack01
f52af1ebf9
feat:New redis method TxPipeline (#4417)
Co-authored-by: fish <fish@fishdeMac-mini.local>
2024-10-13 05:51:55 +00:00
Kevin Wan
a00c956776
chore: upgrade go version (#4248)
Signed-off-by: kevin <wanjunfeng@gmail.com>
2024-07-16 11:43:25 +08:00
Kevin Wan
2026d4410b
fix: should not trigger breaker on duplicate key with mongodb (#4238) 2024-07-08 23:41:02 +08:00
MarkJoyMa
f8437e6364
feat/sqlc_partial (#4237) 2024-07-07 15:54:18 +00:00
MarkJoyMa
fed835bc25
feat/redis_hook (#4233) 2024-07-07 04:50:30 +00:00
Kevin Wan
bfddb9dae4
feat: add errorx.In to facility error checking (#4105) 2024-04-27 20:43:45 +08:00
Kevin Wan
d371ab5479
feat: use breaker with ctx to prevent deadline exceeded (#4091)
Signed-off-by: kevin <wanjunfeng@gmail.com>
2024-04-18 23:18:49 +08:00
Kevin Wan
1540bdc4c9
optimize: improve breaker algorithm on recovery time (#4077) 2024-04-18 22:33:25 +08:00
Kevin Wan
815a4f7eed
feat: support context in breaker methods (#4088) 2024-04-18 18:00:17 +08:00
Kevin Wan
e9dc96af17
chore: coding style (#4082) 2024-04-17 23:37:35 +08:00
fearlessfei
62c88a84d1
feat: migrate lua script to lua file (#4069) 2024-04-17 15:20:10 +00:00
Kevin Wan
927f8bc821
fix: fix ignored context.DeadlineExceeded (#4066) 2024-04-11 11:14:20 +08:00
Kevin Wan
682460c1c8
fix: fix ignored scanner.Err() (#4063) 2024-04-10 17:28:52 +08:00
Kevin Wan
a66ae0d4c4
fix: timeout on query should return context.DeadlineExceeded (#4060) 2024-04-10 04:17:39 +00:00
fearlessfei
968727412d
add custom health response information (#4034)
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2024-04-03 14:33:55 +00:00
linden-in-China
6f3d094eba
opton to option (#4035) 2024-04-03 14:15:21 +00:00
Kevin Wan
cc2a7e97f9
chore: coding style, add code for prometheus (#4002) 2024-03-13 20:00:35 +08:00
MarkJoyMa
7d90f906f5
feat: migrate redis breaker into hook (#3982) 2024-03-12 04:21:33 +00:00
mongobaba
459d3025c5
optimize: change err == xx to errors.Is(err, xx) (#3991) 2024-03-09 12:49:16 +00:00
Kevin Wan
159ecb7386
chore: fix warnings (#3989) 2024-03-08 22:35:17 +08:00
Kevin Wan
d184f96b13
chore: coding style (#3987) 2024-03-08 16:11:28 +08:00
MarkJoyMa
c7dacb0146
fix: mysql WithAcceptable bug (#3986) 2024-03-08 04:23:41 +00:00
Kevin Wan
74b87ac9fd
chore: coding style (#3972) 2024-03-05 14:40:10 +08:00
Kevin Wan
25821bdee6
chore: coding style (#3960) 2024-03-03 00:17:38 +08:00
POABOB
be7f93924a
feature: add a mongo registry option to convert type easier. (#3780)
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2024-03-02 15:13:44 +00:00
Kevin Wan
45be48a4ee
chore: coding style (#3959) 2024-03-02 22:45:24 +08:00
Kevin Wan
a5d2b971a1
chore: add more tests (#3958) 2024-03-02 21:58:13 +08:00
Qiu shao
9763c8b143
feat:add redis mset func (#3820) 2024-03-02 12:00:25 +00:00
Kevin Wan
8e97c5819f
chore: add more tests (#3954) 2024-03-02 12:22:55 +08:00
#Suyghur
0ee44c7064
feat(redis): added and impl ZADDNX command (#3944) 2024-03-02 10:15:10 +08:00
Kevin Wan
5263805b3b
chore: simplify linux nocgroup logic (#3949) 2024-03-02 00:23:52 +08:00
mongobaba
52e5d85221
feat: add break metrics for sqlx.statement (#3947) 2024-03-01 14:55:32 +00:00
Kevin Wan
0dfaf135dd
feat: support breaker with sql statements (#3936) 2024-02-25 11:24:44 +08:00
Kevin Wan
1303e0fe6f
feat: optimize circuit breaker algorithm (#3897) 2024-02-15 20:29:24 +08:00
MarkJoyMa
dace520654
fix: revert sqlx metric namespace (#3847) 2024-01-14 02:38:10 +00:00
Kevin Wan
9e33b557b1
chore: refactor redis (#3844) 2024-01-13 23:02:19 +08:00
Kevin Wan
368caa7608
feat: upgrade go-redis to v9 (#3088)
Co-authored-by: cong <zhangcong1992@gmail.com>
2024-01-13 22:40:58 +08:00
Qiu shao
431f9af43e
feat:add redis ExistsMany method (#3769) 2023-12-16 14:49:16 +08:00
Summer-lights
400386459c
fix(redis): redis ttl -1 and -2 (#3783) 2023-12-16 05:46:53 +00:00
Kevin Wan
22c98beb24
feat: add dbtest to facility db test (#3768) 2023-12-09 22:52:06 +08:00
Kevin Wan
2f8cffc699
chore: update mongo driver (#3727) 2023-11-19 16:35:25 +08:00
Kevin Wan
a1fca3a1da
chore: upgrade go dependencies (#3657) 2023-10-28 00:19:22 +08:00
Kevin Wan
9394e59597
chore: update goctl version to 1.6.0 (#3674) 2023-10-27 21:59:35 +08:00
MarkJoyMa
c05e03bb5a
feat: add metrics (#3624) 2023-10-26 15:51:28 +00:00
Kevin Wan
172ff407f3
chore: refactor mongo logs (#3660) 2023-10-23 11:03:55 +08:00
shenbaise9527
a242fec5e1
feat: support for disable mon logs like sqlx (#3606)
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2023-10-22 15:00:02 +00:00
Kevin Wan
42e0a6f90c
chore: refactor errors to use errors.Is (#3654) 2023-10-21 00:00:57 +08:00
Kevin Wan
d71c0da7b7
chore: refactor error comparison (#3629) 2023-10-15 13:41:06 +00:00
Ikko Eltociear Ashimine
b731aa38af
refactor: update builder.go (#3620) 2023-10-13 07:03:15 +00:00
Kevin Wan
abd1fa96a9
fix: UpdateStmt doesn't update the statement correctly in sqlx/bulkinserter.go (#3607) 2023-10-09 21:57:26 +08:00