Commit Graph

1742 Commits

Author SHA1 Message Date
Vladimir Mihailenco d5f5c24505
Merge pull request #766 from go-redis/fix/retry-same
cluster: retry same node on retryable error
2018-05-17 15:17:46 +03:00
Vladimir Mihailenco 092971361b cluster: retry same node on retryable error 2018-05-17 15:02:35 +03:00
Vladimir Mihailenco 467749ade8
Merge pull request #765 from go-redis/fix/race-test
Add more race tests
2018-05-17 15:01:41 +03:00
Vladimir Mihailenco 34facee367 Add more race tests 2018-05-17 14:55:00 +03:00
Vladimir Mihailenco bc49453a24
Merge pull request #762 from vliman/feature/tls_config_for_universal_client
Add TLS configuration support for Universal Client
2018-05-11 11:33:01 +03:00
Vadim Liman 09b9a99666 Add TLS configuration support for Universal Client 2018-05-11 09:46:09 +03:00
Vladimir Mihailenco 12c0262c75
Merge pull request #760 from sidhman/watch
Add Watch func to UniversalClient interface
2018-05-08 09:11:37 +03:00
Ilya Sinelnikov ea254bbfda Add Watch func to UniversalClient interface 2018-05-07 20:28:11 +03:00
Cyrille Hemidy 9ccc23344a Update result.go (#754)
fix misspelling
2018-04-17 09:18:16 +03:00
Olve S. Hansen 1b1fc80e20 Added OnConnect callback to UniversalOptions (#747)
* Added OnConnect callback to UniversalOptions
2018-04-16 10:15:52 +03:00
superkinglabs 877867d284 Remove costly 'appendIfNotExists' and 'remove' call from PubSub (#743)
* remove costly 'appendIfNotExists' and 'remove' call from pubsub
2018-03-14 12:42:51 +02:00
Vladimir Mihailenco 17b6cf1e5a
Merge pull request #742 from go-redis/fix/with-context-wrap-process
Fix WithContext followed by WrapProcess
2018-03-13 16:01:01 +02:00
Vladimir Mihailenco 20363d149b Fix WithContext followed by WrapProcess 2018-03-13 15:51:38 +02:00
Vladimir Mihailenco 2fb336f043
Merge pull request #740 from go-redis/fix/improve-interface-slice
Support []string slices in commands that accept multiple values
2018-03-08 15:09:51 +02:00
Vladimir Mihailenco 0c76bc80b7 Support []string slices in commands that accept multiple values 2018-03-08 14:30:27 +02:00
Vladimir Mihailenco 3aa80da654 internal/proto: cleanup code 2018-03-08 14:00:21 +02:00
Vladimir Mihailenco 46dd7afbbf Add cluster race test 2018-03-08 13:50:16 +02:00
Vladimir Mihailenco 396e13adf9
Merge pull request #738 from go-redis/fix/blpop-race-test
Add race test for BLPop
2018-03-08 10:35:53 +02:00
Vladimir Mihailenco 11ca0e65c6 Add race test for BLPop 2018-03-08 10:16:53 +02:00
Vladimir Mihailenco 9133634a13
Merge pull request #737 from gbbr/context
cluster: add support for context.Context to ClusterClient and Ring
2018-03-08 09:51:13 +02:00
Gabriel Aszalos 731dd72b84
{cluster,ring}: add support for context to ClusterClient and Ring 2018-03-07 14:41:18 +01:00
Vladimir Mihailenco b533525eff
Merge pull request #736 from go-redis/fix/reorder-atomic-field
Re-order atomic field to please race detector
2018-03-07 15:04:53 +02:00
Vladimir Mihailenco 4fe9f93940 Re-order atomic field to please race detector 2018-03-07 14:38:18 +02:00
Vladimir Mihailenco 21fc7616bb Merge branch 'master' of github.com:go-redis/redis 2018-03-07 14:35:17 +02:00
Vladimir Mihailenco db04210af4 Extract ringShards 2018-03-07 14:18:24 +02:00
Vladimir Mihailenco c2fb5132c0 Cleanup context implementation 2018-03-07 14:18:24 +02:00
Vladimir Mihailenco 0e33c36bd1 Require Go 1.7+ and use context.Context 2018-03-07 14:18:24 +02:00
Vladimir Mihailenco d6cb688ea7 Cleanup context implementation 2018-03-07 13:50:14 +02:00
Vladimir Mihailenco 3a38e90858 Require Go 1.7+ and use context.Context 2018-03-07 13:43:52 +02:00
Vladimir Mihailenco a64d3e1ef1 Fix build on 32bit arch 2018-03-07 12:41:11 +02:00
T. Thyer 063393987a Add option to balance load between master node and replica nodes (#729)
* Add option to balance load between master node and replica nodes
2018-03-07 12:23:38 +02:00
Vladimir Mihailenco 852a60d520 Fix go vet 2018-03-07 12:09:45 +02:00
Vladimir Mihailenco e9e73a92c0 travis: test on Go 1.10 2018-03-07 12:09:45 +02:00
Vladimir Mihailenco 5e72be1cbf Extract clusterStateHolder 2018-03-07 12:09:45 +02:00
Vladimir Mihailenco f13fc5381c Extract commands info cache 2018-03-07 12:09:45 +02:00
Pavel Prokopenko 0082bdcd4b add WrapProcess to UniversalClient interface (#728) 2018-03-06 09:15:14 +02:00
Evan Goldschmidt 7acec74c59 Script: Fix `Exists` to use hash instead of source (#726)
`SCRIPT EXISTS` accepts a hash, not the raw source: https://redis.io/commands/script-exists
2018-03-05 11:03:03 +02:00
janaurka d0a2b8bdf3 Impement Config Rewrite command (#722)
This commit adds support for config rewrite as documented in
https://redis.io/commands/config-rewrite .
2018-03-01 10:37:51 +02:00
Tess Thyer 55c9929dba Change Makefile to use sed syntax that will work for both GNU and BSD sed (#719)
* Use sed syntax that will work with both GNU and BSD sed
2018-02-27 20:05:21 +02:00
Vladimir Mihailenco 68362cfda1 Fix doc 2018-02-27 16:11:25 +02:00
Vladimir Mihailenco e075ad33d3 Simplify test 2018-02-27 16:10:17 +02:00
Vladimir Mihailenco cac7aa8c36 Reduce ClusterOptions.MaxRedirects from 16 to 8 2018-02-27 16:10:17 +02:00
Vladimir Mihailenco cc47cf2439 Use fresh cluster state after sleeping 2018-02-27 16:10:17 +02:00
Vladimir Mihailenco 9df09066e2 Store all created cluster nodes in allNodes 2018-02-27 14:48:59 +02:00
Vladimir Mihailenco e5648e8c7c Fix flaky test 2018-02-22 15:01:48 +02:00
Vladimir Mihailenco 56dea1f39a Fix proto.RedisError in slices 2018-02-22 14:24:27 +02:00
Vladimir Mihailenco 71ed499c46 Decrease accurracy 2018-02-20 11:00:19 +02:00
Vladimir Mihailenco 4e89aeeae4 Increase timeout 2018-02-20 10:28:34 +02:00
Vladimir Mihailenco 036680734d Increase backoff in failover tests 2018-02-20 10:14:24 +02:00
Vladimir Mihailenco fd2200b051 Add TxPipeline race test 2018-02-20 10:05:11 +02:00