Commit Graph

1962 Commits

Author SHA1 Message Date
Vladimir Mihailenco 250f81bf06
Merge pull request #1685 from BenjaminPrieur/master
Add ZMScore cmd
2021-03-08 15:33:19 +02:00
Benjamin Prieur abb58ff31f Add ZMScore cmd 2021-03-08 10:09:34 +01:00
Vladimir Mihailenco 7633aded81
Merge pull request #1688 from monkey92t/data_race
fix ring test `Process hook` data race
2021-03-08 10:51:28 +02:00
monkey 4a7d03359b add miss Pipeline and TxPipeline
Signed-off-by: monkey <golang@88.com>
2021-03-07 17:34:40 +08:00
monkey 783725f3f7 fix ring test `supports Process hook` data race
Signed-off-by: monkey <golang@88.com>
2021-03-07 17:10:19 +08:00
Vladimir Mihailenco f3a31a3e2c
Merge pull request #1684 from go-redis/fix/lazy-reload-context
Don't accept context in lazy reload
2021-03-05 14:14:32 +02:00
Vladimir Mihailenco b267a03f18 Don't accept context in lazy reload 2021-03-05 13:53:15 +02:00
Vladimir Mihailenco bed6d24273 go mod tidy 2021-03-05 13:19:16 +02:00
Vladimir Mihailenco 097b94a797
Merge pull request #1680 from lhchavez/add-setargs-to-pipeliner
Make SetArgs available to Pipeliner
2021-03-04 08:34:16 +02:00
Vladimir Mihailenco 1564bc6553
Merge pull request #1679 from lawmatsuyama/master
change otel/label to otel/attribute
2021-03-04 08:25:19 +02:00
lhchavez 4ffcd9b7f6 Make SetArgs available to Pipeliner
SetArgs is amazing! It would be even more amazing to be able to use it
within a non-transactional Pipeline.
2021-03-03 19:24:29 -08:00
lawmatsuyama dd7fefe738 change otel/label for otel/attribute 2021-03-03 22:43:10 -03:00
Vladimir Mihailenco aaed549e26 Merge branch 'master' of github.com:go-redis/redis 2021-03-01 18:16:57 +02:00
Vladimir Mihailenco 3de820e36d Add banner 2021-03-01 18:16:55 +02:00
Vladimir Mihailenco 9b4cabeba3
Merge pull request #1675 from monkey92t/test_error
fix unit test errors that may appear in pool_test.go
2021-03-01 16:49:55 +02:00
monkey 7d2e85eff6 only set opt.IdleTimeout in It("reuses connections")
Signed-off-by: monkey <golang@88.com>
2021-03-01 16:45:35 +08:00
Vladimir Mihailenco 491b007809 Add utm 2021-02-25 17:58:15 +02:00
monkey 42b2a72e66 fix unit test errors that may appear in pool_test.go
/redis/pool_test.go:119 Expected: <uint32>: 98 to equal: <uint32>: 99

Signed-off-by: monkey <golang@88.com>
2021-02-25 17:41:44 +08:00
Vladimir Mihailenco 00eeb1cb09
Merge pull request #1672 from monkey92t/test_error
solve possible unit test errors in ring_test.go
2021-02-25 09:03:53 +02:00
monkey f4ae0ba02b solve possible unit test errors in ring_test.go
/redis/ring_test.go:560, Expected: <int>: 10, to equal: <int>: 9
/redis/ring_test.go:560, Expected: <int>: 1, to equal: <int>: 0

Signed-off-by: monkey <golang@88.com>
2021-02-25 11:43:41 +08:00
Vladimir Mihailenco e5cde8f9a7 Update dependencies 2021-02-19 09:45:29 +02:00
Vladimir Mihailenco 61680f373c Tweak API 2021-02-17 15:12:10 +02:00
You Den 7b7f9d6e0e
Add SetArgs command (#1662)
* Add SetWithArgs command

* Add tests for SetWithArgs command

* Replace Makefile stable version by 6.2-rc3 version

* Increase threshold because there are more commands

* Reduce the SetWithArgs command doc comment

* Rename SetWithArgs to SetArgs

* Rename ExpireAt to TTL

* Add KeepTTL field

* Add ExpireAt field as time.Time type

* Improve comments readability

* Add more tests for ExpireAt field

* Fix typo

* Fix multiple if/else chain lint error
2021-02-17 14:48:47 +02:00
Vladimir Mihailenco 9467d5673b
Merge pull request #1665 from 0xc0d/master
Update OpenTelemetry to 0.17.0 and fix "undefined: otel.Meter"
2021-02-17 12:14:30 +02:00
alijozi 1f32092a3b Update OpenTelemetry to 0.17.0 and fix "undefined: otel.Meter" 2021-02-16 11:38:55 +01:00
Vladimir Mihailenco 8d9ebc8459 Shuffle sentinel addrs once 2021-02-10 17:25:09 +02:00
renzheng.wang 8b19c31049
Make FailoverClient(sentinel mode) more robust (#1655)
* add failover option AllowDisconnectedSlaves

* checkout unrelated changes

* Make NewFailoverClient (sentinel mode) robust.

* fix lint issue

* Fix bug

* Fix lint issue

* add comment

* checkout unrelated changes

* Refine code

* checkout unrelated changes
2021-02-10 17:20:08 +02:00
kkkbird f594401261
support "XINFO CONSUMERS" (#1649)
* support "XINFO CONSUMERS"

* add "xinfo" test
2021-02-09 14:46:26 +02:00
monkey92t 27df2313cd
hscan adds support for i386 platform (#1652)
* hscan adds support for i386 platform

Signed-off-by: monkey <monkey92t@gmail.com>

* update go.sum

Signed-off-by: monkey <monkey92t@gmail.com>

* detect overflow of scan

Signed-off-by: monkey <golang@88.com>

* restore the return value type of decoderFunc to error

Signed-off-by: monkey <golang@88.com>

* fix clean

Signed-off-by: monkey <golang@88.com>

* fix clean

Signed-off-by: monkey <golang@88.com>

Co-authored-by: Monkey <monkey@MonkeydeiMac.local>
2021-02-09 14:44:24 +02:00
Vladimir Mihailenco fd6fac1a1a Fix import path 2021-02-06 08:29:28 +02:00
Vladimir Mihailenco 89b72c9e2a
Merge pull request #1654 from AdamKorcz/fuzz1
Fixed broken fuzzer
2021-02-06 08:27:07 +02:00
AdamKorcz 4a9b7ce79a Fixed broken fuzzer 2021-02-05 21:45:09 +00:00
Vladimir Mihailenco 89da47939e Move fuzz to a sub-package 2021-02-04 17:02:17 +02:00
Vladimir Mihailenco 0abfa60737
Merge pull request #1570 from AdamKorcz/fuzz1
Add fuzzer to integrate go-redis into OSS-fuzz
2021-02-04 17:01:12 +02:00
Vladimir Mihailenco f8cbf483f4 Fix otel example 2021-02-04 10:38:54 +02:00
Vladimir Mihailenco 0a15359292 Disable renovate 2021-02-04 10:13:36 +02:00
Vladimir Mihailenco 5889315493
Merge pull request #1645 from go-redis/renovate/github.com-onsi-ginkgo-1.x
Update module onsi/ginkgo to v1.15.0
2021-02-04 09:56:41 +02:00
Vladimir Mihailenco 3a0e49ef36
Merge pull request #1599 from go-redis/renovate/go.opentelemetry.io-otel-sdk-0.x
Update module go.opentelemetry.io/otel/sdk to v0.16.0
2021-02-04 09:56:14 +02:00
Vladimir Mihailenco a8503c1a29
Merge pull request #1598 from go-redis/renovate/go.opentelemetry.io-otel-0.x
Update module go.opentelemetry.io/otel to v0.16.0
2021-02-04 09:55:36 +02:00
Renovate Bot 06bd08cf17
Update module go.opentelemetry.io/otel to v0.16.0 2021-02-04 07:54:28 +00:00
Renovate Bot 2ffff4e169
Update module go.opentelemetry.io/otel/sdk to v0.16.0 2021-02-04 07:53:55 +00:00
Vladimir Mihailenco 2e725a9049
Merge pull request #1637 from go-redis/renovate/go.opencensus.io-0.x
Update module go.opencensus.io to v0.22.6
2021-02-04 09:52:09 +02:00
Vladimir Mihailenco cc2ac5c8fb
Merge pull request #1606 from go-redis/renovate/go.opentelemetry.io-otel-exporters-stdout-0.x
Update module go.opentelemetry.io/otel/exporters/stdout to v0.16.0
2021-02-04 09:51:13 +02:00
Renovate Bot e93994cb28
Update module onsi/ginkgo to v1.15.0 2021-02-04 07:51:06 +00:00
Vladimir Mihailenco 7a0957a48d
Merge pull request #1646 from go-redis/renovate/github.com-onsi-gomega-1.x
Update module onsi/gomega to v1.10.5
2021-02-04 09:50:36 +02:00
Vladimir Mihailenco 35f6ccd0bb
Merge pull request #1631 from knadh/feat-decoder
Add redis.Scan() to scan results from redis maps into structs.
2021-02-04 09:49:03 +02:00
Vladimir Mihailenco 95272452d9 Merge branch 'feat-decoder' of github.com:knadh/redis into feat-decoder 2021-02-04 09:38:24 +02:00
Vladimir Mihailenco b358584bd3 Fix build 2021-02-04 09:34:10 +02:00
Kailash Nadh f8a546b482 Add test for MGet/struct scan 2021-02-03 17:10:01 +05:30
Vladimir Mihailenco bd234b91fe Add StructValue so we don't need temp slices to pass keys and values 2021-02-03 12:45:02 +02:00