Commit Graph

2219 Commits

Author SHA1 Message Date
Simon Paredes 28028b330f fix: use all provided sections 2022-10-07 17:18:59 -03:00
Vladimir Mihailenco dd9a200427
fix: improve pipelines retry logic (#2232)
* fix: improve pipelines retry logic
2022-10-06 14:05:55 +03:00
Stephanie Hingtgen 6327c52e60
Add ParseURL function for cluster mode (#1924)
* feat: add ParseClusterURL to allow for parsing of redis cluster urls into cluster options
2022-10-06 13:33:37 +03:00
Vladimir Mihailenco a65f5edea0 chore: rename DefaultDialer to NewDialer 2022-10-06 10:25:00 +03:00
Vladimir Mihailenco a9287a16d6
Merge pull request #1997 from nkcmr/feature/nick/default-dialer
feat: extract dialer to `DefaultDialer` to allow wrapping
2022-10-06 10:23:38 +03:00
Vladimir Mihailenco b0231c659e chore: always retry write timeouts 2022-10-06 10:06:02 +03:00
Vladimir Mihailenco 6725851465
Merge pull request #2071 from ray2011/master
fix retryTimeout in baseClient _process
2022-10-06 10:05:25 +03:00
Vladimir Mihailenco 2fbf8d574e
Merge pull request #2163 from KnutZuidema/feat/extra_redis_prometheus_stat_collector
feat(extra/redisprometheus): prometheus.Collector implementation for redis clients
2022-10-06 09:08:43 +03:00
Vladimir Mihailenco 24d4a2d579
Merge pull request #2231 from j178/fix-pubsub
fix(pubsub): fix break introduced by #2177
2022-10-06 08:59:57 +03:00
j178 fea57be18f
fix(pubsub): fix break introduced by #2177 2022-10-06 04:33:53 +08:00
Vladimir Mihailenco eae349aa75
Merge pull request #2075 from turrisxyz/setup-permissions
chore: Set permissions for GitHub actions
2022-10-05 10:55:46 +03:00
Vladimir Mihailenco 6f0167b9b9
Merge pull request #2127 from ash2k/ash2k/handle-context
Return early when context signals done
2022-10-05 10:48:41 +03:00
Vladimir Mihailenco 90625a3438
Merge pull request #2176 from j178/fix-read-timeout
fix(internal/pool): call SetDeadline even if timeout is zero
2022-10-05 10:41:42 +03:00
Vladimir Mihailenco bac50ce2e9 chore: allow to disable timeouts 2022-10-05 10:36:12 +03:00
Vladimir Mihailenco fda4feef7a
Merge pull request #2177 from j178/sharded-pubsub
feat(pubsub): support sharded pub/sub
2022-10-05 10:21:19 +03:00
Vladimir Mihailenco 965ecdeb07
Merge pull request #2190 from go-redis/feat/set-addrs
Feat/set addrs
2022-10-05 10:18:30 +03:00
Vladimir Mihailenco 2bcb060d6a chore: update example 2022-10-05 10:06:54 +03:00
Vladimir Mihailenco 1a38ccb80e Merge branch 'master' of github.com:go-redis/redis 2022-10-04 15:16:41 +03:00
Vladimir Mihailenco d3df06039d Merge branch 'otel-ignore-raw-cmd' 2022-10-04 15:16:23 +03:00
Mitch Usher 3129e09b29 Update redis otel with option to not set raw command as an attribute 2022-10-04 15:16:14 +03:00
Vladimir Mihailenco 30bea19891
Merge pull request #2210 from go-redis/dependabot/go_modules/github.com/onsi/gomega-1.20.2
chore(deps): bump github.com/onsi/gomega from 1.20.0 to 1.20.2
2022-10-04 15:09:45 +03:00
Vladimir Mihailenco aaba70a3a7 chore: fix example 2022-10-04 15:09:05 +03:00
Rusty Magnet 77dabc3019
docs: another ScanType example with "Hash" as the KeyType (#2212)
* docs: example ScanType call that passes in Hash and gets all keys

* docs: added further example_scantype

* docs: updated comment of ExampleClient_ScanType_Type_Hash
2022-10-04 15:05:14 +03:00
Vladimir Mihailenco 400ce60e74
Merge pull request #2213 from costela/bump_otel_deps_and_semconv
chore(redisotel): bump deps
2022-10-04 15:03:48 +03:00
Vladimir Mihailenco be25907703
Merge pull request #2221 from tisonkun/eval_ro
feat: support eval_ro and evalsha_ro
2022-10-04 14:29:22 +03:00
tison d56af1f2d1
feat: support eval_ro and evalsha_ro
Signed-off-by: tison <wander4096@gmail.com>
2022-09-24 11:38:04 +08:00
Leo Antunes c0a6f2d724 chore(redisotel): bump deps 2022-09-16 13:20:00 +02:00
Vladimir Mihailenco 4dcf3cca72 chore: update readme 2022-09-15 12:01:14 +03:00
dependabot[bot] 0f5495d469
chore(deps): bump github.com/onsi/gomega from 1.20.0 to 1.20.2
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.20.0 to 1.20.2.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.20.0...v1.20.2)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 12:36:28 +00:00
tison c99340abb0
chore: correct Kvrocks spells and new repo location (#2202) 2022-09-01 11:00:37 +03:00
Mikhail Mazurskiy 63392a363a
fix: return early when context signals done 2022-08-26 20:55:45 +10:00
Vladimir Mihailenco 20ba6d59e6 chore: cleanup 2022-08-17 13:50:03 +03:00
Vladimir Mihailenco eb8d6283df Merge branch 'master' into sz/master 2022-08-17 13:19:01 +03:00
Vladimir Mihailenco 59798f9dba chore: cleanup 2022-08-17 13:18:58 +03:00
Vladimir Mihailenco c561f3ca7e
Merge pull request #2185 from Aoang/update-ci-test-go-version-to-1.19
chore: update CI Test Go version to v1.19
2022-08-14 11:49:39 +03:00
Aoang c6774f21fc
chore: update CI Test Go version to v1.19 2022-08-14 16:26:49 +08:00
Vladimir Mihailenco 69ae6ddc00
Merge pull request #2184 from ash2k/remove-iterator-mutex
fix: remove iterator mutex as it's not needed
2022-08-13 12:15:33 +03:00
Mikhail Mazurskiy a10bc3e21c
fix: remove iterator mutex as it's not needed
It's not safe to concurrently use an iterator even with a mutex.
2022-08-13 11:05:04 +10:00
Vladimir Mihailenco 9be4a9e6d3 chore: fix some command names 2022-08-08 10:28:46 +03:00
Vladimir Mihailenco 5a806ca2ba
Merge pull request #2180 from armsnyder/vet-tool
test: vet that all Cmders have a SetVal() method
2022-08-08 10:03:42 +03:00
Vladimir Mihailenco b4a0726f55
Merge pull request #2179 from armsnyder/add-missing-set-val
feat: add some missing SetVal methods
2022-08-08 10:02:07 +03:00
Adam Snyder faa496ba7d test: vet that all Cmders have a SetVal() method 2022-08-07 22:40:51 -07:00
Adam Snyder 3f8edc686f feat: add some missing SetVal methods 2022-08-07 22:36:49 -07:00
jianghang 2123e08437 fix(internal/pool): call SetDeadline even if timeout is zero 2022-08-04 11:22:11 +08:00
jianghang baa48a4415 feat(pubsub): support sharded pub/sub 2022-08-04 00:05:22 +08:00
Vladimir Mihailenco 084c0c8914
Merge pull request #2174 from j178/master
Remove duplicate safe & unsafe
2022-08-02 08:50:01 +03:00
Sandor Szücs 6f7f800107
feat: ring.SetAddrs to add and remove shards by the ring client and reuse old connections
test: ring scale-in and scale-out

rewrite as suggested by @AlexanderYastrebov
Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
2022-08-01 22:06:09 +02:00
jianghang b50b1c8f7a chore(internal): remove duplicate safe & unsafe 2022-08-02 00:11:40 +08:00
Vladimir Mihailenco ce016ed85f
Merge pull request #2173 from go-redis/fix/cluster-slots-redis-7
fix: fix ClusterSlots to read full metadata
2022-07-29 14:43:43 +03:00
Vladimir Mihailenco 2aeddfaa28 fix: fix ClusterSlots to read full metadata 2022-07-29 14:28:22 +03:00