Commit Graph

177 Commits

Author SHA1 Message Date
Kevin Wan
d04b54243d
add more tests for proc (#439) 2021-02-05 15:11:27 +08:00
Kevin Wan
b88ba14597
fixes issue #425 (#438) 2021-02-05 13:32:56 +08:00
理工男
7b3c3de35e
ring struct add lock (#434)
Co-authored-by: liuhuan210 <liuhuan210@jd.com>
2021-02-03 21:41:10 +08:00
Kevin Wan
30f5ab0b99
update readme for broken links (#432) 2021-02-03 12:02:22 +08:00
foyon
8b273a075c
Support redis command Rpop (#431)
* ss

* ss

* add go-zero:stores:redis-command:Rpop and redis_test

* Delete 1.go

* support redis command Rpop

Co-authored-by: fanhongyi <fanhongyi@tal.com>
2021-02-03 10:19:42 +08:00
Hkesd
04284e31cd
support hscan in redis (#428) 2021-02-02 17:02:18 +08:00
Kevin Wan
c3b9c3c5ab
use english readme as default, because of github ranking (#427) 2021-02-02 16:58:45 +08:00
Kevin Wan
a784982030
support zunionstore in redis (#410) 2021-01-21 21:03:24 +08:00
Kevin Wan
ebec5aafab
use env if necessary in loading config (#409) 2021-01-21 19:33:34 +08:00
Kevin Wan
6887fb22de
add more tests for codec (#391) 2021-01-14 23:39:44 +08:00
ALMAS
c77b8489d7
Update periodicalexecutor.go (#389) 2021-01-14 22:20:09 +08:00
Kevin Wan
744c18b7cb
simplify cgroup controller separation (#384) 2021-01-13 20:58:33 +08:00
miaogaolin
8d6f6f933e
fix cgroup bug (#380) 2021-01-13 20:39:57 +08:00
Kevin Wan
37c3b9f5c1
make sure unlock safe even if listeners panic (#383)
* make sure unlock safe even if listeners panic

* fix #378

* fix #378
2021-01-13 18:43:42 +08:00
卢永杰
1f1dcd16e6
fix server.start return nil points (#379)
Co-authored-by: luyongjie <luyongjie@37.com>
2021-01-13 18:40:39 +08:00
Kevin Wan
b0ccfb8eb4
add more tests for conf (#371) 2021-01-10 21:53:16 +08:00
Kevin Wan
57b73d8b49
make sure offset less than size even it's checked inside (#354) 2021-01-05 16:06:36 +08:00
Kevin Wan
a79cee12ee
add godoc for RollingWindow (#351) 2021-01-04 22:43:55 +08:00
zjbztianya
7a921f66e6
simple rolling windows code (#346) 2021-01-04 22:11:18 +08:00
Kevin Wan
01060cf16d
close issue of #337 (#347) 2021-01-04 16:36:27 +08:00
Kevin Wan
0786862a35
align bucket boundary to interval in rolling window (#345) 2021-01-04 11:17:59 +08:00
Kevin Wan
efa43483b2
fix potential data race in PeriodicalExecutor (#344)
* fix potential data race in PeriodicalExecutor

* add comment
2021-01-03 20:56:17 +08:00
Kevin Wan
771371e051
simplify rolling window code, and make tests run faster (#343) 2021-01-03 20:47:29 +08:00
zjbztianya
2ee95f8981
fix rolling window bug (#340) 2021-01-03 20:27:47 +08:00
Kevin Wan
5bc01e4bfd
set guarded to false only on quitting background flush (#342)
* set guarded to false only on quitting background flush

* set guarded to false only on quitting background flush, cont.
2021-01-03 19:54:11 +08:00
Kevin Wan
510e966982
simplify periodical executor background routine (#339) 2021-01-03 14:02:51 +08:00
Kevin Wan
10e3b8ac80
optimize code that fixes issue #317 (#338) 2021-01-02 19:01:37 +08:00
weibobo
d643007c79
fix bug #317 (#335)
* fix bug #317.
* add counter for current task. If it's bigger then zero, do not quit background thread

* Revert "fix issue #317 (#331)"

This reverts commit fc43876cc5.
2021-01-02 18:04:04 +08:00
Kevin Wan
fc43876cc5
fix issue #317 (#331) 2021-01-01 13:24:28 +08:00
Kevin Wan
71a2b20301
add more tests for prof (#322) 2020-12-27 14:45:14 +08:00
Kevin Wan
bb6d49c17e
add go report card back (#313)
* add go report card back

* avoid test failure, run tests sequentially
2020-12-25 12:09:59 +08:00
Kevin Wan
ba4bac3a03
format code (#312) 2020-12-25 11:53:37 +08:00
FengZhang
08433d7e04
add config load support env var (#309) 2020-12-25 11:42:19 +08:00
Kevin Wan
c435811479
fix gocyclo warnings (#278) 2020-12-11 20:57:48 +08:00
wayne
ec2a9f2c57
fix tracelogger_test TestTraceLog (#271) 2020-12-10 17:04:57 +08:00
Kevin Wan
7a82cf80ce
support k8s deployment yaml generation (#247)
* simplify code, format makefile

* simplify code

* some optimize by kevwan and benying (#240)

Co-authored-by: 杨志泉 <zhiquan.yang@yiducloud.cn>

* optimization (#241)

* optimize docker file generation, make docker build faster

* support k8s deployment yaml generation

Co-authored-by: benying <31179034+benyingY@users.noreply.github.com>
Co-authored-by: 杨志泉 <zhiquan.yang@yiducloud.cn>
Co-authored-by: bittoy <bittoy@qq.com>
2020-12-07 00:07:50 +08:00
benying
7d1b43780a
some optimize by kevwan and benying (#240)
Co-authored-by: 杨志泉 <zhiquan.yang@yiducloud.cn>
2020-12-01 06:44:32 +08:00
Kevin Wan
4b5c2de376
simplify code (#234)
* simplify code, format makefile

* simplify code
2020-11-29 12:41:42 +08:00
Kevin Wan
e5c560e8ba
simplify code, format makefile (#233) 2020-11-28 22:27:58 +08:00
xuezonggui
bed494d904
optimization (#221) 2020-11-28 19:43:39 +08:00
bittoy
3819f67cf4
add redis geospatial (#209)
* add redis geospatial

* fix go test error
2020-11-16 19:45:43 +08:00
kevin
295c8d2934 fix issue #205 2020-11-16 19:23:24 +08:00
kevin
a5fb29a6f0 update etcd yaml to avoid no such nost resolve problem 2020-11-11 11:06:23 +08:00
zhoushuguang
f8da301e57
no default metric (#199)
Co-authored-by: zhoushuguang <zhoushuguang@xiaoheiban.cn>
2020-11-10 11:47:08 +08:00
kevin
afbd565d87 rename postgres 2020-11-09 17:22:51 +08:00
zhoushuguang
d629acc2b7
default metric host (#196)
Co-authored-by: zhoushuguang <zhoushuguang@xiaoheiban.cn>
2020-11-09 16:03:07 +08:00
kevin
7d7cb836af fix issue #186 2020-11-06 12:25:48 +08:00
kevin
f87d9d1dda refine code style 2020-11-06 12:13:28 +08:00
kevin
88333ee77f faster the tests 2020-11-05 16:04:00 +08:00
kevin
d0b76b1d9a move redistest into redis package 2020-11-03 16:35:34 +08:00