63df0e5e75
sync master ( #1800 )
...
* Remove OpenTelemetry from the code (but leave redisotel as is) (#1782 )
* Add XAutoClaim command (#1780 )
* fix typo (#1788 )
* xgroup/xadd/xtrim supports new options (#1787 )
* support cmd option
XGROUP CREATECONSUMER
XTRIM MINID LIMIT
XADD NOMKSTREAM MINID LIMIT
Signed-off-by: monkey <golang@88.com >
* add XAddArgs.Approx doc
Signed-off-by: monkey92t <golang@88.com >
* Add Bun to readme
* Upgrade the <sorted set> series of commands (#1792 )
* Upgrade the <sorted set> series of commands
Signed-off-by: monkey92t <golang@88.com >
* Cancel the Deprecated mark of ZAddNX and ZAddXX
Signed-off-by: monkey92t <golang@88.com >
* Explain the use restrictions of KeepTTL. (#1799 )
Signed-off-by: monkey92t <golang@88.com >
* Adjust KeepTTL annotation.
Signed-off-by: monkey92t <golang@88.com >
* the hello command throws possible errors, It may affect the "read timeout" test result.
Signed-off-by: monkey92t <golang@88.com >
Co-authored-by: Vladimir Mihailenco <vladimir.webdev@gmail.com >
Co-authored-by: ericmillin <31105612+ericmillin@users.noreply.github.com >
Co-authored-by: heyanfu <1145291570@qq.com >
2021-06-28 17:40:38 +08:00
fe9bc126b7
sync master to v9 ( #1760 )
...
* Added missing idle args in XPendingExtArgs (#1750 )
Added missing idle args in XPendingExtArgs
* fix #1754 (#1756 )
* Replace go-pg with bun
* fix #1755
Signed-off-by: monkey <golang@88.com >
* fix read data
Signed-off-by: monkey <golang@88.com >
* fix #1758 (#1759 )
fix #1758
Co-authored-by: Parvez <syedparvez72@gmail.com >
Co-authored-by: Vladimir Mihailenco <vladimir.webdev@gmail.com >
2021-05-19 17:43:31 +08:00
8ad01240a4
Add support for resp3 protocol ( #1739 )
...
* support resp3 protocol
Signed-off-by: monkey <golang@88.com >
* Upgrade mod version limit go1.14
https://github.com/go-redis/redis/issues/1715#issuecomment-820685614
Signed-off-by: monkey <golang@88.com >
* Remove the redundant check of ReadReply
Signed-off-by: monkey <golang@88.com >
* fix the problem
Signed-off-by: monkey <golang@88.com >
* workflows add v9
Signed-off-by: monkey <golang@88.com >
* update StringStringMapCmd to MapStringStringCmd
Signed-off-by: monkey <golang@88.com >
2021-04-27 10:04:46 +03:00
785fa3295c
Add StringCmd.Bool()
2021-03-17 15:50:02 +08:00
abb58ff31f
Add ZMScore cmd
2021-03-08 10:09:34 +01:00
f594401261
support "XINFO CONSUMERS" ( #1649 )
...
* support "XINFO CONSUMERS"
* add "xinfo" test
2021-02-09 14:46:26 +02:00
bd234b91fe
Add StructValue so we don't need temp slices to pass keys and values
2021-02-03 12:45:02 +02:00
600f1665a0
Add missing error checks and support for MGET in Scan()
2021-02-03 13:43:04 +05:30
f9dfc7a949
Refactor scan signature to work with Slice and StringMap cmds
2021-02-02 16:28:10 +05:30
a4144ea98e
Add SliceCmd.Scan() (hscan pkg) and tests
2021-02-02 13:04:52 +05:30
a11b22fce9
Cleanup
2020-09-24 09:06:17 +03:00
a2b0227421
feature: add XINFO STREAM support
2020-09-23 11:16:35 -04:00
86326c4924
Refactor NewXInfoGroupsCmd
2020-09-23 11:50:31 +03:00
a32502b1d9
Cleanup
2020-09-23 10:29:13 +03:00
c89b69131d
fix: firstKeyPos cmdSlot ( #1502 )
...
* fix(xread):cmdSlot
Co-authored-by: zhangxinjian <zhangxinjian@crop.netease.com >
2020-09-23 10:22:11 +03:00
c5d4b71f66
Fix race
2020-09-17 12:36:10 +03:00
1a65d677b3
Fix not applying updated ClusterClient context after calling WithContext method ( #1480 )
...
pass context to command info cache init call
2020-09-14 15:30:50 +03:00
dfae0ec28b
Cleanup
2020-09-09 12:49:45 +03:00
be9ae84c6f
support for slowlog command
2020-09-09 12:36:25 +03:00
38c87c1f84
Fix golangci
2020-07-16 10:01:27 +03:00
14c843ef89
gofumports
2020-07-16 09:52:07 +03:00
6b9f61cf75
Merge pull request #1400 from alonana/master
...
handle memory usage command arguments
2020-07-09 11:56:30 +03:00
c41cbf2756
handle memory usage command arguments
...
See https://github.com/redis/redis/issues/7493
We have to include a special handling for the memory usage command
2020-07-09 10:25:06 +03:00
8eed1e67ff
Add OpenTelemetryHook
2020-06-09 17:17:41 +03:00
2e8ce55021
Fix Command parsing
2020-06-05 09:11:12 +03:00
949ccaed3a
Support additional flags for ACL in CommandsInfo
2020-06-05 03:27:34 +09:00
4440575966
Merge branch 'v8'
2020-05-21 10:16:44 +03:00
d2630e5ae9
Add Cmder.FullName
2020-05-19 08:52:38 +03:00
3031343dae
Make cmd.String() faster
2020-05-19 08:52:38 +03:00
3dcb844106
Bump major version
2020-05-19 08:52:38 +03:00
f5593121e0
Add ctx as first arg
2020-05-19 08:52:38 +03:00
fea610f7b4
Store time in RFC3339Nano to keep nanoseconds
2020-03-13 17:48:33 +01:00
49a0c8c319
Add test for ring and cluster hooks
2020-02-14 14:30:40 +02:00
2e3402d33d
Don't allocate tmp slice in txPipelineWriteMulti
2020-02-14 12:55:59 +02:00
d52b11cb42
Exported the setErr function as public
2020-02-03 17:53:47 +08:00
4eb2debcdc
Don't create empty map when value is missing
2020-02-02 10:48:23 +02:00
a8704c3bd0
let XReadGroup skip empty message and process next message ( #1243 )
...
* let XReadGroup skip empty message and process next message
2020-02-02 10:46:20 +02:00
dab9d3f802
Cleanup
2019-11-19 12:37:26 +02:00
eb64034d44
Merge pull request #1189 from WTIFS/master
...
Set key to lowercase in cmdsInfoCache.Get()
2019-11-19 10:53:00 +02:00
b403828de2
Bump golangci-lint to v1.21.0
2019-11-18 18:46:13 +01:00
b32ffae255
set key to lower for cmdsInfoCache.Get()
2019-11-12 15:08:59 +08:00
f10f34eb29
Rename XGroup to XInfoGroups
2019-10-08 12:50:13 +03:00
d5b2eccbe2
add xinfo groups command ( #1166 )
...
Add xinfo groups command
2019-10-08 12:48:24 +03:00
fd834aed2b
Add Uint64 helper
2019-09-27 14:38:55 +03:00
5776216677
Cleanup
2019-08-24 11:55:13 +03:00
39b67358d7
Retry timeout by default
2019-08-12 15:20:27 +03:00
f6fc23d2fa
Move key to ZStore
2019-08-09 16:23:56 +03:00
191391d66d
Add writing version of GeoRadius commands
2019-08-09 15:04:56 +03:00
2a46cb006d
Add withConn and set cmd errors more consistently
2019-08-09 13:53:05 +03:00
7779accbea
Use semantic import versioning
2019-08-08 14:29:44 +03:00